Paste JSON to instantly format, validate, minify, or convert to other formats. Highlights errors with line numbers.
Input
Output
Frequently asked questions
It takes raw or messy JSON and reformats it with proper indentation and line breaks, making it easy to read. It can also minify JSON by removing all unnecessary whitespace.
The tool uses JavaScript's built-in JSON.parse() to check your input. If the JSON is malformed, it shows the exact error message indicating what went wrong and where.
The tool runs entirely in your browser, so it can handle large JSON files up to several megabytes. Extremely large files may cause temporary slowness.