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
Not sure? Turn your internet off and try — it still works.
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.
Frequently asked questions
Related tools
URL Validator
Check whether a URL is valid and see its domain.
Validators
UUID Validator
Check whether a UUID follows the RFC 4122 format (versions 1 to 5).
Validators
Compare Text (Diff)
Compare two texts line by line and see exactly what changed.
Text
HTML, CSS & JavaScript Minifier
Shrink HTML, CSS, and JavaScript by removing whitespace, comments, and unnecessary code.
Development
.env Formatter (Sort, Dedupe, Clean)
Clean up a .env file: sort, remove duplicates, fix quotes.
Development