YAML Validator
YAML is forgiving in ways that cause silent mistakes. This validator parses the document, reports syntax errors with a line position, lists the top-level keys and can convert the result to JSON for inspection.
Validated with a YAML 1.2 parser
How to use it
- 1Paste YAML into the editor.
- 2Run validation to see errors or a key summary.
- 3Convert to JSON if you need to inspect nested values.
- 4Fix indentation errors at the reported line, then validate again.
Limitations
- Anchors and custom tags are parsed but may not convert cleanly to JSON.
- Duplicate keys are reported as warnings rather than repaired.
- Validation does not check whether the values make sense for your schema.