JSON Toolbox

Paste JSON — it is validated as you type. Beautify, minify, or explore it as a collapsible tree with type highlighting.

Input

{{ num }} {{ state.errorMap[num].message }}
Waiting for input… ✓ Valid JSON ✕ {{state.error}}
Output
Indent
{{jsonStats.keys}} keys· {{jsonStats.strings}} strings· {{jsonStats.stringChars}} string chars· {{fmtSize}} formatted· {{minSize}} minified
{{ num }}
1

About this tool

Validates as you type and points at the exact line and column of syntax errors with gutter line indicators and tooltips. Once valid, switch between a syntax-highlighted formatted view, a minified view, or an expandable tree with type-colored values.

Parsing happens entirely in your browser. Nothing you paste is uploaded.