JSON validator

Check whether text is valid JSON and see parse errors.

Paste JSON to verify syntax before sending to an API or saving a config file. Results update as you type.

JSON input
Validation result

Enter JSON to validate.

How it works

The tool runs JSON.parse on your input. Success means valid JSON; failure shows the parser message.

Only syntax is checked—schema, types, and business rules are not validated here.

What is validated

Standard JSON: objects, arrays, strings, numbers, booleans, and null with correct quoting and commas.

Privacy

Validation runs locally. Your JSON never leaves this page.

Common questions

Trailing commas?
Standard JSON does not allow trailing commas; they will fail validation.
Single quotes?
JSON requires double quotes for strings.
Comments?
JSON does not support comments; remove them or use JSONC elsewhere.
Format after validating?
Use the JSON formatter tool for pretty-printed output.