JSON Formatter & Validator
Beautify, minify and validate JSON. Syntax errors are pinpointed with exact line and column. All local — your data never leaves the browser.
Input
Output
FAQ
Is my JSON sent to a server?
No. Formatting and validation are pure JavaScript in your browser — API responses and configs stay private.
How does error locating work?
When parsing fails, the parser's character offset is converted into a line:column position so you can jump straight to the problem — missing commas and trailing commas are the usual suspects.
Does it support JSON5 or comments?
Not currently — it follows strict JSON (RFC 8259). Strip comments first if your config file has them.