YAML Validator
Validate YAML syntax and get a precise error when indentation or structure is wrong.
Input
Result
How to use
Validating YAML
Press Validate. A valid document is confirmed, an invalid one reports the offending line.
- Paste YAML into the input editor.
- Press Validate.
- Fix the reported issue.
Frequently asked questions
Which YAML version is supported?
The parser supports YAML 1.2 core schema, which covers Kubernetes and most CI configuration.
Does it detect duplicate keys?
Yes, duplicate keys are reported as an error.
Related tools
YAML Formatter
Parse and re-serialise YAML with consistent indentation and validation.
YAML to JSON
Convert YAML documents into JSON for APIs and JavaScript applications.
JSON Validator
Check whether your JSON is valid and see a clear explanation of any syntax problem.
XML Formatter
Pretty print XML with consistent indentation and optional attribute wrapping.
XML Validator
Check that an XML document is well formed and see a clear error description.
XML Minifier
Remove whitespace between XML tags to produce the smallest payload.