JSON formatter / validator
Format, minify and validate JSON in your browser.
Use the codeJavaScript
Loading code…
A LITTLE MORE CONTEXT
Format, minify and validate JSON
Format, minify and validate JSON in your browser.
How to use it
- Choose Format, Minify or Validate, paste JSON and run.
- Copy or download the result before leaving the page.
What to know
Uses JavaScript JSON parsing. Large numbers may lose precision; duplicate keys retain their last value. Comments and trailing commas are rejected. Input limit: 1 MiB.
Compare two JSON documents ↗