How to use it
- Paste your YAML into the input box.
- Pick an indent size and whether to sort keys.
- Press Validate and format. Errors show the line and column; valid YAML is shown reformatted.
How it works
YAML depends on indentation, so a single misplaced space can change the meaning of a file. This tool parses the text, tells you exactly where it goes wrong, and prints a clean version when it is valid.
Frequently asked questions
Does it support several documents in one file?
Yes. Documents separated by --- are checked one by one and written back with --- between them.
Why does YAML complain about tabs?
YAML only allows spaces for indentation. Replace tabs with spaces and check again.
Are comments kept when formatting?
No. Formatting rebuilds the YAML from its data, so comments are dropped. Validate only if you need to keep them.
Which YAML version is checked?
The parser follows YAML 1.2 rules for the core schema.