Watch: check and tidy YAML
No sound. Each step is captioned on screen and also written out in the guide below.
JSON & YAML
Check YAML for Kubernetes, GitHub Actions, Docker Compose, or any config. Find errors by line with plain explanations, catch values tools read differently, and tidy the indentation without changing a value.
Checks as you type. Several documents separated by --- are fine.
The formatted YAML will appear here.
No sound. Each step is captioned on screen and also written out in the guide below.
A workflow, a manifest, a compose file, or any YAML.
Each problem shows its line and a plain explanation. Click it to jump there.
Consistent indentation, the same values and comments.
: in values, unclosed brackets and quotes.no or on (true/false to some tools), 0755 (octal to some), and 3.10 (the number 3.1).YAML has two versions in common use. YAML 1.2 (Go, most newer tools) reads no as text; YAML 1.1 (PyYAML, Ansible, older libraries) reads it as false. That's how a country code like NO becomes false. Quoting the value means the same thing everywhere.
No. Numbers, booleans, and nulls keep their exact text, comments stay, and the result is checked: if formatting would change any data, the file is left as it is.
Unquoted, 3.10 is the number 3.1, so a workflow asks for Python 3.1. Quote versions: "3.10".
No. Checking and formatting run in your browser, with a YAML library served from this site.