Normalise YAML indentation and flow style, validate syntax, and optionally resolve anchors.
Ctrl + Enter to run
YAML is the one format here where layout is not presentation: indentation determines structure, so two files that look similar can describe entirely different data. That is why a mis-indented key in a CI workflow or a Kubernetes manifest produces a confusing runtime failure rather than a parse error.
Formatting normalises indentation and confirms the document parses, which catches the common mistakes — tabs mixed with spaces, a list item indented one space too few, a value containing a colon that needed quoting. Check the structure it produces against what you intended, not just that it succeeded.