YAML Validator

Validate YAML syntax and inspect line numbers for errors.

Valid YAML

About YAML validation

This tool checks that a YAML document has a valid syntax. It names the line and the column of the first error.

Most YAML errors come from the indentation. YAML uses spaces and never a tab. A tab character gives an error that is hard to see, because the two look the same on the screen.

Another common error is an unquoted value that YAML reads as a different type. The words yes, no, on, and off become true or false. A version such as 1.10 becomes the number 1.1. Put quotes around a value to keep it as text.