Common YAML errors
- Bad indentation — YAML uses spaces only; a tab or one space out of line breaks the structure.
- Missing space after colon —
key:valueis a string,key: valueis a mapping. - Duplicate keys — the same key twice in one mapping is an error.
- Unquoted special values —
no,on,0755and dates may be read as booleans or numbers.
Also validates
XML (well-formedness: unclosed or mismatched tags, bad attributes), TOML (Cargo.toml, pyproject.toml, config files), JSON and CSV (unterminated quotes). The error shows the line and column plus the line itself.
FAQ
Does it validate against a schema?
No — it checks syntax (Kubernetes manifests, GitHub Actions, docker-compose files parse fine here even with wrong field names).
Can I convert after validating?
Yes, use “Show as JSON” or the data format converter.