Developer

JSON formatter & validator

Format, minify and validate JSON in your browser: syntax highlighting, error line and column, 2/4/tab indent. 100% local — nothing is uploaded.

Indent
Paste or type JSON to begin.
100% local — nothing leaves your browser

How to use it

Paste or type JSON and the editor highlights it as you go. Use Format to pretty-print with your chosen indent, Minify to strip whitespace, and the status line shows the exact line and column of any syntax error. Everything runs in your browser.

Example

Input {"name":"Ana","tags":["a","b"]}
Result { "name": "Ana", "tags": [ "a", "b" ] }

Frequently asked questions

Is my JSON sent to a server?

No. Parsing, formatting and validation all happen in your browser; nothing is uploaded. A “100% local” badge under the editor is a reminder of that.

What indent options are there?

Two spaces, four spaces, or a tab. Minify removes all unnecessary whitespace for the smallest possible output.

Does it show where an error is?

Yes. When the JSON is invalid, the status line reports the line and column of the first syntax error so you can jump straight to it.