365FreeTools365

JSON formatter

Pretty-print, minify and pinpoint errors in JSON.

🔒 100% in-browser processing · your files never leave your deviceRuns locally · nothing uploaded✓ No sign-up⚡ Instant🌐 KO·EN·JA·ZH·ES
Loading…

How to use

  1. Paste your JSON.
  2. Pick an indent and press “Format”. Errors are reported with a position.
  3. Press “Copy” or “Download” to take the result.

Supported formats

JSON

Format pasted JSON with your chosen indentation or minify it to one line. When the syntax is wrong, the tool shows where, and it can sort object keys alphabetically.

Why FreeTools365 instead of a paid tool?

Free alternative to JSONLint, jsonformatter.org

Frequently asked questions

How large can the JSON be?
A few megabytes is fine. Very large files are limited by browser memory — split them first.
Is it safe to sort keys?
Yes. Key order has no meaning in JSON objects, and array order is preserved.
Why is my commented JSON invalid?
Standard JSON has no comments. Remove them or use a JSON5 tool.

Works well with