13 free tools · 4 popular · runs in your browser
Online Syntax Validators & Checkers
Check JSON, XML, YAML and HTML syntax, validate JSON against a schema, or test a JavaScript regular expression against sample text.
Most used
More tools
9Check syntax before checking application rules
A syntax validator answers whether a document follows its format's grammar. It cannot establish whether the data is correct for your application. For JSON API contracts, use schema validation after syntax checks. When testing patterns, include missing values, unexpected characters, and long inputs as well as successful examples.
- Check JSON syntax: Find malformed JSON, such as trailing commas, missing quotes, or incomplete values.
- Validate against a JSON Schema: Check required properties, types, and other supported schema constraints.
- Test JavaScript regular expressions: Inspect matching text and flags. Complex patterns are time limited to keep the page responsive.
- Validate Base64 padding and syntax: Check encoding structure before decoding; valid encoding does not guarantee a meaningful payload.
Common workflow
When an API rejects a request, paste a representative payload into the JSON Validator first. If the syntax is valid, load the contract in the JSON Schema Validator to check field names, types, required values, and nesting. For an unexpected change between two responses, compare their parsed JSON so formatting differences do not obscure changes to values. For regular expressions, test several inputs that should match and several that should fail, and check the flags your target runtime uses.