JSON Formatter
Make API responses readable, or squeeze JSON down for production. Choose your indent size, format, and copy the result.
How to Use the JSON Formatter
- 1
Paste your JSON on the left.
- 2
Choose an indent size.
- 3
Press Format to beautify, or Minify to compress.
- 4
Copy the result.
JSON Formatter Features
Beautify and minify
Both directions in one tool.
Indent choice
Two, four or eight spaces.
Error messages
See exactly what is wrong when parsing fails.
Runs in your browser
Nothing is uploaded to a server, so your content stays on your device.
Free and unlimited
No account, no watermark and no daily limit.
Works on mobile
Large tap targets and layouts that fit a phone screen.