Valid JSON formatting
Input
{"name":"Alice","age":28,"tags":["api","debug"]}
Output
Pretty: multi-line with indentation Minify: one-line JSON
Pretty-print or minify JSON and pinpoint errors with line and column details.
Paste, run, and copy in one short flow. Input data is processed only in your browser.
Input
{"name":"Alice","age":28,"tags":["api","debug"]}
Output
Pretty: multi-line with indentation Minify: one-line JSON
Input
{"name":"Alice","age":28,}
Output
Error banner shows line, column, and nearby snippet
Formatting adds indentation and line breaks for readability, making debugging and reviews easier.
Minify removes whitespace and line breaks to reduce payload size and keep JSON compact.
The tool shows line, column, and nearby text. Use Jump to Error to move the cursor to the exact input location.
Standard JSON does not allow comments. Enable “Strip comments before parse” only when needed (not fully compatible).
Parsing and stringify run in a Web Worker. The UI uses size-based guards to keep input responsive.
No. Parsing, formatting, and minifying are done locally in your browser.
Turn Unicode Escape off to output readable characters directly.