JSON Formatter

Beautify and format minified JSON instantly.

About the JSON Formatter

Minified JSON is efficient for APIs but unreadable for humans. Paste your compact JSON and get a properly indented, easy-to-read version back in an instant all in your browser with no server round-trips.

How to use the JSON Formatter

  1. Paste your minified or unformatted JSON into the Input box.
  2. Click 'Format JSON'. Any syntax errors are shown clearly.
  3. Copy the formatted output.

Frequently Asked Questions

Will it catch JSON syntax errors?
Yes. If your JSON is invalid, an error message explains exactly what went wrong.
What indentation does it use?
Two spaces by default, which is the most widely used convention.
Does my JSON get sent to a server?
No. The tool runs entirely in your browser using the built-in JSON.parse and JSON.stringify APIs.