YAML Formatter

Format, validate, and beautify YAML with consistent indentation and error highlighting. Free online tool, no signup.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

Does this tool support YAML 1.2?
It handles common YAML structures (scalars, mappings, sequences, nested blocks) and normalizes indentation. Does not parse anchors or custom tags.
Is my YAML uploaded?
No. All formatting runs entirely in your browser - nothing is uploaded or stored.
Why does it reject tabs?
The YAML spec forbids tab characters for indentation. Replace tabs with spaces and try again.