Kastavo

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

This website uses cookies

We use cookies to improve your experience and understand how the site is used. You can change this choice anytime in Cookie Preferences. See our Privacy Policy.