← All tools

{ } JSON Formatter

Paste JSON to pretty-print it, minify it, or find out exactly why it won't parse.

Share this tool:

How to use

  1. Paste your JSON into the input box.
  2. Click Format to pretty-print, Minify to compress, or Validate to check it.
  3. If something is wrong, you'll get a plain-English error message pointing at the problem.
  4. Copy the result with one click.

FAQs

What does "minify" mean?

Minifying strips all unnecessary whitespace from JSON, making it as compact as possible — useful for sending data over the network or storing it.

My JSON has trailing commas — will it work?

No, and that's on purpose: trailing commas are not valid JSON. The validator will tell you exactly where the problem is so you can fix it.

Is my data sent to a server?

Never. Parsing and formatting happen locally in your browser, so even sensitive payloads stay on your machine.