JSON Validator
Paste or edit JSON below and see whether it's valid, with the error's line and column when it isn't.
Valid JSON
How it works
Validation uses the browser's own JSON parser (JSON.parse) — the same mechanism used internally by any JavaScript code that processes JSON — so the result is exactly what the rest of your system would see. When the JSON is invalid, the tool translates the browser's error message into an approximate line and column for the problem. "Format" reorganizes the JSON with 2-space indentation for readability; "Minify" strips all unnecessary whitespace and line breaks, useful for reducing size before sending or storing it.