JSON Formatter

Validate, format, and explore JSON

Input

Output

{
"project": "LocalBench",
"version": 1.4,
"active": true,
"tags": [
"utility",
"local-first",
"react"
],
"owner": {
"name": "XYZ",
"role": "engineer"
},
"notes": null
}

A JSON formatter and validator for cleaning up API responses, config files, and log payloads. Paste minified or malformed JSON, catch syntax errors immediately with an exact position, and explore the result in a collapsible tree instead of a wall of text.

Is my JSON uploaded anywhere?
No. Parsing, formatting, and the tree view all run in your browser using the built-in JSON parser — nothing you paste is sent to a server.
What does the error message tell me?
When JSON is invalid, the tool surfaces the browser parser's own error, including the character position and line/column, so you can jump straight to the problem.
What's the difference between Format and Minify?
Format pretty-prints with two-space indentation for reading and editing. Minify strips all non-essential whitespace, useful for pasting into configs or shrinking payloads.