All utilities

JSON formatter / validator

Format, minify and validate JSON in your browser.

Use the codeJavaScript

Loading code…

Format, minify and validate JSON

Format, minify and validate JSON in your browser.

How to use it

  1. Choose Format, Minify or Validate, paste JSON and run.
  2. 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 ↗