JSON Validator

Live syntax checking with the exact error position.

This JSON validator checks your document against the JSON grammar (RFC 8259) on every keystroke. A green status means the text parses; a red banner shows the parser message and where it failed, so a missing comma or an unclosed bracket takes seconds to find rather than minutes.

Syntax is only half of validation. Open the Validate panel to check the same document against a JSON Schema and get a list of every failing path, which is useful before you send a payload to an API or commit a config file.

How to use it

  1. Paste the JSON you want to check into the editor.
  2. Read the status indicator: Valid JSON, or the error message with its position.
  3. Optionally press Validate and paste a JSON Schema to check structure and types.

Questions

Which JSON standard is used?

The browser's native JSON parser, which implements RFC 8259 / ECMA-404. Comments, trailing commas and single-quoted strings are therefore reported as errors, exactly as a strict API would treat them.

Can it fix the errors it finds?

Often, yes. Repair handles trailing commas, single quotes, unquoted keys, Python literals such as True and None, comments, and documents that were cut off midway.

Is there a size limit?

File import is limited to 5 MB. Pasted text has no hard limit, but very large documents depend on your device's memory.

All tools