Format valid JSON
Input
{"name":"Alice","age":28,"tags":["api","debug"]}
Output
Pretty-print: readable, indented JSON Minify: compact one-line JSON
Format or minify JSON and locate syntax errors by line and column.
Paste JSON, run an action, and copy the result in one short flow. Processing stays in your browser.
Input
{"name":"Alice","age":28,"tags":["api","debug"]}
Output
Pretty-print: readable, indented JSON Minify: compact one-line JSON
Input
{"name":"Alice","age":28,}
Output
The error banner shows the line, column, and nearby snippet
Pretty-printing adds indentation and line breaks so JSON is easier to read, debug, and review.
Minifying removes whitespace and line breaks to reduce the payload and keep JSON compact.
The tool reports the line, column, and nearby text. Select Jump to Error to place the cursor at the exact location.
Standard JSON has no comments. Turn on “Strip comments before parse” only when needed; compatibility is not complete.
Parsing and stringifying happen in your browser. Size limits keep the editor responsive for large inputs.
No. Parsing, formatting, and minifying all happen locally in your browser.
Disable Unicode Escape to output readable characters instead of \uXXXX sequences.