YAML Validator
Validate YAML syntax and structure.
About the YAML Validator
Checks YAML for syntax errors and reports where the parse failed, which is the fastest way to settle an indentation argument with a CI config. Most YAML bugs are whitespace bugs, and the error position tells you where the structure stopped meaning what you thought. Validation runs in your browser, so manifests holding internal hostnames stay local.
How to use the YAML Validator
- Paste your YAML document.
- Read the validation result.
- Fix the reported line and re-validate.
Frequently asked questions
- Why is my YAML invalid when it looks fine?
- Nine times out of ten it is indentation, and specifically a tab character. YAML forbids tabs for indentation. Unquoted colons inside values are the other frequent cause.
- Why did my value become true or a number?
- YAML infers types, so yes, no, on, off, and bare digits become booleans and numbers. Quote the value to keep it a string. This is the source of the well-known Norway problem, where the country code NO parses as false.
- Does valid YAML mean my Kubernetes manifest is correct?
- No. This checks syntax, not schema. A syntactically perfect manifest can still be rejected for a wrong field name or a missing required key.