YAML Validator
Parse YAML safely and surface the parser's error position.
Loading tool…
About this tool
Reports whether a document parses, with the line and column of the first failure. Indentation errors are by far the most common cause.
Limitations
- Indentation errors in YAML often report a line or two after the mistake actually happened.
Questions
- It says invalid but the indentation looks right.
- Check for tab characters. YAML forbids tabs for indentation, and most editors render them identically to spaces.
Privacy
This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.