Validate JSON, YAML, XML, JavaScript and CSS syntax with detailed error reporting
All 1 validator tools run entirely in your browser. Paste your JSON, YAML or XML and get instant validation with detailed error messages including line numbers and path information — your data is never uploaded.
Strict, detailed validators for the most common data formats. All 1 tools provide line-number error highlighting, schema validation and format-specific checks. Everything runs in-browser — no server, no uploads, no account.
QIs my data sent to a server?
No. All validation runs entirely in your browser using JavaScript parsers. Nothing you paste is transmitted.
QWhat is the difference between JSON validation and JSON formatting?
Validation checks that your JSON is syntactically correct (parseable). Formatting additionally pretty-prints it with consistent indentation. The JSON formatter in this collection validates and formats in one step.
QDoes the YAML validator support YAML anchors and aliases?
Yes. The YAML validator uses js-yaml which fully supports YAML 1.2 including anchors (*alias), merge keys (<<: *anchor) and multi-document streams (--- separator).
QCan I validate JSON against a JSON Schema?
Use the JSON Schema Generator tool to infer a schema from sample data, then validate against it using the JSON formatter's schema validation mode.