Overview
YAML Lint is a single-page YAML validator. You paste YAML into the text box, press Go, and a coloured bar tells you whether it parsed. If it did not, the error message is shown and the offending line numbers are highlighted so you can find the problem.
Two options sit under the box. Reformat rewrites your input as clean, consistently formatted YAML, with the trade-off that comments are stripped out. Resolve aliases, available when reformatting, expands anchors and aliases into their full values. Input containing several YAML documents is detected and each one is checked.
Judging by the page's own code, the checking is done in your browser with a JavaScript YAML parser. The site is free, has no accounts and shows Google ads. It is a quick sanity check for configuration files such as Docker Compose, Kubernetes manifests or CI pipelines, where one wrong indent breaks everything. It checks syntax only, not whether the file makes sense to the program that reads it.
Categories
Features
- Checks pasted YAML and reports valid or invalid
- Shows parser error messages and highlights the lines involved
- Reformat option that outputs cleaned-up YAML
- Resolve aliases option that expands anchors and aliases
- Handles input containing multiple YAML documents
- Single page with nothing to install
Privacy
See the official privacy policy. The page code parses YAML with a JavaScript library in the browser; the page also loads Google AdSense and Google Analytics.
Pros & Cons
Pros
- Free, with no account
- Immediate answer with the failing line pointed out
- Parsing is done by a script in the page
- Reformatting gives consistent indentation
Cons
- Reformatting removes comments
- Validates syntax only, not schemas for Kubernetes, Compose or similar
- Shows advertising
- Paste only: no file upload, URL input or API
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
YAML Tools · YAML Validator
Validates YAML files for errors.
Free No Signup Web -
YAML Tools · YAML to JSON
Converts YAML into JSON.
Free No Signup Web