What does a YAML validator check?
A YAML validator parses your document and reports syntax errors: inconsistent indentation, tabs used instead of spaces, missing colons, malformed sequences, duplicate keys at the same level, unbalanced quotes, and broken multi-line scalars. It does not validate semantic correctness against a schema (e.g. that a Kubernetes Pod has the right fields) — it confirms the document is well-formed YAML.
Why does my Kubernetes YAML fail validation when it looks correct?
Two common causes. First, mixed tabs and spaces — Kubernetes YAML must use spaces only. Second, indentation under a list item is one of the trickiest YAML rules: child keys under a "- name:" item must align under "name", not under the dash. Paste the file into the validator and it reports the exact line and reason.
Can it validate multi-document YAML files with --- separators?
Yes. Each document section between --- separators is validated independently, so an error in one document does not stop the others from being checked.
Does the validator check against a Kubernetes or Docker Compose schema?
No. This tool checks YAML well-formedness — that the syntax parses cleanly. Schema validation (e.g. confirming a Pod has the required containers field, or that compose.yaml uses a valid service key) requires kubectl --dry-run, kubeval, or docker compose config, which need the target schema definitions.
Why does YAML treat "yes" as a boolean?
YAML 1.1 treats unquoted yes, no, on, off, true, false as booleans. This is the famous Norway problem (the country code "NO" parsed as false). Quote the value ("yes") to keep it a string. Most modern parsers default to YAML 1.2, which only treats true/false as booleans, but many tools — including older Ansible and some k8s parsers — still use 1.1 semantics.
Is my YAML uploaded to your servers?
No. Validation runs entirely in your browser using JavaScript. Manifests containing secrets, tokens, database credentials, or proprietary configuration never leave your device. You can verify this in your browser DevTools Network tab — no requests are made when you click Validate.
How do I fix indentation errors in YAML?
Pick a single indent width (2 spaces is the Kubernetes/Docker convention) and use it consistently. Never mix tabs and spaces. Children of a key must indent more than the key itself. Children of a list item ("- ") must align under the first character after the dash, not under the dash.
What is the difference between YAML validation and YAML linting?
Validation checks that YAML is syntactically correct (parseable). Linting goes further — it checks style rules like maximum line length, key order, comment formatting, and trailing whitespace. This tool focuses on validation; for full linting use yamllint or a pre-commit hook.