Add to Chrome

JSON formatter

Paste JSON to format it, minify it or check it for errors, with the line and column of any mistake. Free, and your data never leaves your device.

JSON

Result

How to use it

  1. Paste your JSON, or open a .json file.
  2. Press Format to beautify it, or Minify to shrink it. Tick Sort keys if you want them in order.
  3. Copy the result or download it. If there is an error, the tool shows where.

Common questions

Is the JSON formatter free?

Yes, with no sign-up and no size limit besides your browser memory.

Is my JSON uploaded?

No. It is parsed in your browser, so API keys or private data stay on your device.

How do I find an error in my JSON?

Paste it in. If it is not valid, the tool shows the line and column. Common causes are trailing commas, single quotes and missing quotes around keys.

What does minify do?

It removes all spaces and line breaks so the JSON is as small as possible, for use in code or an API request.

Can I turn JSON into a spreadsheet?

Yes. Use the JSON to CSV converter.

More free tools