JSON Formatter
Validate, format, and minify JSON in one place.
How to use the json formatter
Paste JSON to check that it parses, then choose Format for indented output or Minify for a compact version. The tool runs in your browser, which is useful for working with local API responses.
Example
Enter a compact object such as {"ok":true,"items":[1,2]} and choose Format to see its structure.
Good to know
JSON requires double-quoted keys and strings. A trailing comma will produce an error instead of silently changing your data.