JSON formatter & validator
Format, validate, sort, and minify JSON entirely in your browser. Paste in raw JSON, get a pretty-printed result with byte counts and a one-click copy. No upload, no signup.
Empty — paste JSON to begin.
Everything runs in your browser. No JSON is uploaded, logged, or sent over the network.
How to use
Paste raw or minified JSON into the input box on the left.
Choose your indent (2 spaces, 4 spaces, or tab) and decide whether to sort keys.
The formatted result appears on the right with a green ✓ if your JSON is valid.
Use Copy formatted, Copy minified, or Download .json to export.
If your JSON has an error, the status line shows the line and column to look at.