JSON formatter
How to use
Paste JSON or open a .json file, then format, minify or validate it. Everything
runs in your browser; nothing is uploaded.
Output
Format or minify to see the result here. Validate checks the input without changing it.
Notes
-
Numbers larger than
Number.MAX_SAFE_INTEGER(253 − 1) lose precision withJSON.parse. This tool does not use a custom parser, so keep big integers as strings if you need every digit. - Inputs around 5 MB or larger may feel slow; the page warns before you run Format or Minify on them.