Free · No sign-up

JSON formatter

Validate, format or minify JSON; copy or download the result.

Local processing · Inputs are not uploaded

Up to 1 MiB. Numbers use JavaScript precision; use strings for very large integers.

Enter content, then choose an action.

How to use

  1. Paste the JSON you want to check.
  2. Choose Format or Minify to remove extra whitespace.
  3. Copy or download the result.

Example

{"name":"The49","tools":["JSON","CSV"],"free":true}

Frequently asked questions

Are JSON comments supported?

No. Remove comments and trailing commas, and use double quotes for property names.

Can large integers lose precision?

The browser JSON parser can lose precision beyond the JavaScript safe integer range. Store long identifiers as strings.

What happens to duplicate keys?

The parser keeps the last value for a repeated key. Do not rewrite a file with this tool if you must preserve duplicate keys.

Related tools