Indentation first
YAML is whitespace-sensitive. This indentation checker converts tabs, trims trailing spaces and keeps list indentation readable.
Config cleanup
Fix YAML indentation, trim noisy whitespace and catch common structure problems before config files reach production.
Reference notes
YAML is whitespace-sensitive. This indentation checker converts tabs, trims trailing spaces and keeps list indentation readable.
Configuration snippets are processed in the browser. Formalint does not upload pasted YAML to a backend.
The validator flags tabs, odd indentation, duplicate mapping keys in the same block and unbalanced brackets or quotes.
Frequently asked
YAML uses indentation instead of brackets to represent structure, so two spaces versus four spaces on a nested key changes which parent it belongs to. Mixing tabs and spaces is a common source of parse errors.
YAML auto-converts certain unquoted strings into booleans, numbers, or null. Values like yes, no, on, off, and numbers with leading zeros should be quoted if you want them treated as literal text.
It flags inconsistent indentation between sibling keys, tab characters mixed with spaces, and duplicate keys at the same level, which most parsers silently overwrite rather than error on.
YAML is common in CI/CD pipelines like GitHub Actions and GitLab CI, Kubernetes manifests, Docker Compose files, and application configuration, in addition to general config files.