Validate and format YAML
YAML's reliance on indentation makes it readable but fragile — one misaligned line or a stray tab can change the structure or break parsing entirely. This validator checks your YAML, reports where it fails, and formats it cleanly, which is exactly what you need when a config file is rejected and the error message isn't pointing anywhere useful.
How to use it
- Paste your YAML.
- See whether it's valid, and where any error is.
- Fix the indentation or syntax and copy the clean version.
Common YAML pitfalls
- Mixing tabs and spaces — YAML wants spaces only.
- Inconsistent indentation between items at the same level.
- Unquoted values that contain special characters like colons.
Questions people ask
Why is my config rejected when it looks fine? Indentation usually. Levels must align exactly, and a single tab where spaces are expected will break it.
Is my file uploaded? No — validation runs in your browser.