YAML Formatter

Beautify and validate YAML with configurable indentation.

Runs in your browser — your data never leaves your device

Frequently Asked Questions

How do I format YAML?

Paste or open a YAML file, choose 2 or 4 spaces, then select Format. Invalid YAML is reported in the output panel.

Does this send YAML to a server?

No. YAML formatting runs locally in your browser.

Are comments preserved?

The formatter parses and re-serializes YAML, so comments and original quoting styles are not retained.