JSON Validator

Check whether a string is valid JSON before you ship it. Syntax errors report line and column when the parser can locate them, so you can fix trailing commas, quotes, and brackets quickly.

Result

Result appears here.

How to validate JSON

  1. Paste a complete JSON value into the input.
  2. Click Validate, or press Ctrl+Enter (Cmd+Enter on Mac).
  3. A Valid result means the parser accepted the input.
  4. If invalid, use the error message (and line/column when shown) to fix syntax.

FAQ

No. This tool checks syntax only — brackets, quotes, commas, and value types. Use a JSON Schema validator when you need to enforce a document shape.
Standard JSON does not allow trailing commas after the last item in an object or array. Remove the extra comma or run the payload through a formatter after fixing syntax.
The input must be a complete JSON value: an object, array, string, number, boolean, or null. A bare key or partial object is not valid.
Empty input is rejected with a clear message. Paste the JSON string you want to validate first.
No. Parsing and validation run locally in your browser. Your data never leaves the device.

Related tools