YAML Lint
Free online yaml lint for developers. Check YAML for syntax errors. Fast and private.
Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/yaml-lint" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free YAML Lint tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/yaml-lint --> <a href="https://www.theutilbox.org/tools/yaml-lint">YAML Lint by The Util Box</a>
Frequently Asked Questions about YAML Lint
YAML Lint — Check a File Parses Before You Ship It
This YAML linter checks that your YAML is valid, and reports the reason when it is not. Paste the file in and you get either a clean confirmation or the specific error the parser hit.
It is the quickest way to find the indentation mistake that is stopping a deployment.
What "Linting" Means Here
It is worth being precise about this: the tool parses your YAML and reports whether that succeeded. It does not apply style rules, check for duplicate keys, or warn you about a key you probably meant to nest one level deeper.
The common YAML mistakes are all caught by that parse: inconsistent indentation, a tab character where spaces belong, a missing colon, a value on the wrong line. Because the parser is indentation-based, most of them surface as an error rather than as silently wrong data — which is the failure mode YAML is most prone to.
Honest Limits
- No style checks. There is no line-length rule, no key ordering, no trailing-space warning and no document-start convention.
- Duplicate keys are not reported. A repeated key is silently overwritten by the later value, which is exactly the kind of mistake you would want a linter to catch.
- The error message has no line or column number, so you have to find the problem yourself.
- The parser covers a subset of YAML. Anchors, aliases, multi-document files, block scalars and tags are not implemented, so a file using them may be reported as invalid when it is perfectly correct.
Related Developer Tools
- YAML Formatter — fix the indentation once you know where the problem is.
- YAML to JSON — see what the file actually contains.
- YAML Minifier — strip the whitespace and comments.
- YAML Path Query — read a single value.
- JSON Formatter — the same check for JSON.
- JSON Schema Validator — the deeper check JSON gets.
- XML Validator — the equivalent for XML.
- Dotenv Generator — for the other configuration format.
The check runs entirely in your browser — your YAML is never uploaded.