Text tools

JSON formatter & viewer — beautify, validate and minify

Paste JSON to pretty-print it with your choice of indent, validate it with the exact line and column of any error, minify it, sort keys, explore it in a collapsible tree, and fix common mistakes like trailing commas, single quotes and comments.

🔒 Files are processed in this browser and never sent to a server.

한국어

Loading tool…

How to use

  1. 1

    Paste your JSON.

  2. 2

    It is formatted and validated as you type.

  3. 3

    Copy it or download a .json file.

When to use it

API responses

Read one-line JSON.

Config files

Find the missing comma.

Diffs

Sort keys before comparing.

Good to know

  • One-line API responses become readable instantly.
  • Use the tree view to fold large documents.
  • Fix common errors converts Python dict output too.

FAQ

Is my data uploaded?

No. Everything runs in your browser.

Large files?

A few MB is fine; the tree shows up to 3,000 nodes.

JSON5 or comments?

Use "Fix common errors" first.

Related searches

  • #jsonformatter
  • #jsonformatteronline
  • #jsonviewer
  • #jsonvieweronline
  • #jsonformatterandvalidator
  • #jsonbeautifier