Flick

JSON formatter and beautifier

Beautify JSON with 2 spaces, 4 spaces or tabs, sort the keys, and catch syntax errors. Free, and your JSON stays on your device.

Runs on this deviceJSON
Input
or drop a file below
Ctrl ↵ Add to workflow

More in Developer

About JSON formatter and beautifier

Paste minified or messy JSON and get it back indented and readable. Pick the indent, sort keys alphabetically, and see the parser error if the JSON is broken. It runs in your browser, so API data is not uploaded.

How to use JSON formatter and beautifier

  1. Paste your JSON or drop a .json file.
  2. Leave the mode on Format.
  3. Choose 2 spaces, 4 spaces or tab, and sort keys if you like.
  4. Copy the formatted JSON.

Questions and answers

How do I format JSON?

Paste it in and leave the mode on Format. The result appears as you type.

Can it format invalid JSON?

No. It shows the parser's error so you can fix the problem.

Is my JSON sent anywhere?

No.

Can I shrink JSON instead?

Yes, use the JSON minifier page.

Related tools