Tools / JSON Formatter
JSON Formatter
Paste JSON on the left — format, minify, or validate it on the right. Parse errors show line and column.
Runs entirely in your browser
Mode:
Indent:
JSON Input
Formatted Output
JSON Input
Formatted Output
How to use JSON Formatter
Paste JSON
Paste your JSON into the left CodeEditor. The right pane shows the formatted output live.
Pick a mode
Format pretty-prints, Minify strips whitespace, Validate just reports errors without changing the input.
Choose indentation
Pick two spaces, four spaces, or tab. Errors include line and column.
Copy or download
Use the copy button on the output, or download the formatted JSON.