JSON Formatter

Paste JSON and see it validated and prettified live. Supports 2/4/Tab indentation and one-click minification.

Content is processed in your browser and never uploaded
Formatted result
{
  "hello": "TwoThink"
}

Settings

Content is processed in your browser and never uploaded

Related tools

Frequently asked questions

Is my JSON uploaded?
No. Validation and prettifying happen locally in your browser, so it is safe to paste debugging samples that contain keys (still avoid leaving them on screen in public).
How do I locate the error?
You get a message with the line and column; check the brackets, commas and quotes it points at.
Can I compress it onto one line?
Yes. Turn on "Minify output" to get single-line JSON.
How does it work with the diff tool?
Format the JSON first, then use the text diff tool to compare two configurations more clearly.