ESTExact Size Tool
⚙️

JSON Formatter Free

Tidy up messy JSON, or squash it onto one line. Tells you exactly where a syntax error is.

🌱
Free, and staying free. No account, no daily limit, no watermark, nothing uploaded. Keeping it up does cost something (the domain, and the AI that reads your notification) and a contribution goes there. Passing the site to someone filling the same form helps just as much, and costs nothing at all.
Help with running costs
Ad slot

How to use it

  1. Type or paste your text.
  2. Set the options on the right. The result updates as you change them.
  3. Check the result, then press Download.

About JSON Formatter

JSON from an API arrives as one unbroken line that no human can read, and a single missing comma stops it parsing with an error that names a character position rather than a problem. This indents it properly, or squashes it back to one line, and points at exactly where a syntax error is.

Good to know

  • The error message gives the position of the problem, which is usually a stray comma or an unclosed bracket.
  • Minifying strips whitespace for transmission; formatting adds it back for reading.
  • Nothing is sent anywhere, so it is safe for JSON containing keys or personal data.

Questions

My JSON will not parse. How do I find the problem?

The tool reports where parsing failed. The cause is usually just before that point: a trailing comma, a missing quote or an unclosed bracket.

Is it safe to paste JSON with secrets in it?

Here, yes, because it is processed in your browser and never transmitted.

What is minifying for?

Removing whitespace makes the file smaller to send. It has no effect on the data itself.

Does it change the order of keys?

No. Keys stay in the order they appeared.

Is my file uploaded anywhere?

No. Everything runs inside your browser using your own device. Your file never leaves it, and we never see or store it. You can even disconnect from the internet and the tool still works.

Is it really free?

Yes. No account, no daily limit, no watermark on your files. The site is paid for by ads.

Related tools