JSON Validator
Validate JSON and read clear, coordinate-precise error messages.
Pretty-print, validate, and minify JSON in your browser. If something is broken, you get the exact line : column where the parser gave up.
Paste JSON from an API response, a config file like manifest.json, or a test fixture. The tool formats it live while you type and never touches the network.
Invalid JSON is not just "wrong" — the tool parses the error position into a human line : column so you can jump straight to the problem, whether it is a missing comma or a stray quote.
Pretty-print with 2 or 4 spaces, or compress to a one-line payload for storage or transfer. Copy the result with one click.
Yes — formatting, validation, and minifying all run in your browser with no network requests. Your JSON never leaves your device.
The formatter pinpoints the first syntax problem with its exact line and column, such as a missing comma, an unclosed brace, or a trailing comma. Fix the spot it points at and the rest usually resolves.
Minify strips all whitespace and newlines, producing compact JSON that is smaller for storing in files or sending over the network — useful when you need a one-line payload.
Yes — pretty-print with 2 spaces or 4 spaces from the dropdown. 2 spaces is the common default for most projects; 4 spaces matches many style guides.