JSON formatter, validator and minifier
Paste JSON to check it and read it. Syntax errors are reported with the line and column they occur on, rather than a character offset you have to count to.
Runs entirely in your browser — nothing is uploaded.
How to use
- Paste your JSON. Validation and formatting happen as you type.
- Choose beautify or minify. Beautify for reading, minify for shipping. Indent is adjustable.
- Read the structure summary. Key count, object and array counts, and nesting depth — a quick sanity check on an unfamiliar payload.
Questions
Why does my JSON fail when it looks fine?
The usual culprits are a trailing comma after the last item, single quotes instead of double quotes, unquoted keys, or a stray comment. None of these are legal JSON even though JavaScript accepts most of them.
Where exactly is the error?
The tool converts the parser’s character offset into a line and column and shows both. Most validators only report "position 412", which is useless in a large file.
Does minifying change the data?
No. It removes only whitespace between tokens. The parsed value is identical, which is why the tool round-trips through a real parse rather than using string tricks.
Is my data uploaded?
No. Parsing and formatting use your browser’s own JSON engine. This is safe for API responses containing customer data.