Data

JSON Formatter

Use this tool to make JSON easier to read, verify that it follows strict JSON syntax, or remove unnecessary whitespace before using it in an API request.

Your data never leaves this browser
Local only

Strict JSON only. Maximum input size: 1 MiB.

JSON output

Ready
Your result will appear here.
What this tool does

A focused browser utility

Use this tool to make JSON easier to read, verify that it follows strict JSON syntax, or remove unnecessary whitespace before using it in an API request.

Built for privacy

Local by default

This tool runs entirely in your browser. There is no account, server-side processing, or input history.

How to use

Three quick steps

  1. Paste a JSON document into the input editor or load the included example.
  2. Choose the indentation you want, then select Format or Minify; either action validates the input.
  3. Review the result or error details, then copy the output when it is ready.
Example

Input and output

Input

{"service":"orders","healthy":true,"ports":[8080,8081]}

Output

{
  "service": "orders",
  "healthy": true,
  "ports": [
    8080,
    8081
  ]
}
Common questions

Frequently asked questions

Does this formatter accept JSON5 or JavaScript objects?

No. It validates strict JSON, so comments, trailing commas, unquoted keys, and JavaScript-only values are reported as errors.

Is my JSON uploaded anywhere?

No. Formatting, validation, and minification happen inside this browser tab, and the site does not transmit or save your input.

Can I use Unicode characters?

Yes. Valid JSON strings can contain Unicode text, and formatting preserves those characters.

Keep working