YAML Validator client-side
?
How to use YAML Validator

Check whether your YAML is syntactically valid: the tool reports the error and its line when there's a problem (indentation, missing colon, forbidden tab…), and shows the JSON equivalent when the YAML is correct so you can see the parsed structure. Essential to debug a Docker Compose, Kubernetes or CI file. Everything is validated in your browser.

Check whether YAML is valid.

YAMLValidationSyntaxeConfig

How to use YAML Validator

Check whether your YAML is syntactically valid: the tool reports the error and its line when there's a problem (indentation, missing colon, forbidden tab…), and shows the JSON equivalent when the YAML is correct so you can see the parsed structure. Essential to debug a Docker Compose, Kubernetes or CI file. Everything is validated in your browser.

Frequently asked questions

Why is my YAML invalid?

Often because of a tab (forbidden, use spaces), inconsistent indentation or a missing colon. The tool points you to the line.