YAML Formatter
Reformat YAML with consistent indentation, plus a validity/tabs check
Why people choose us
Private by design
Your input is processed securely and never sold. Client-side tools never leave your browser at all.
Instant & free
No installs, no waiting. Results in seconds, right in your browser, on any device.
Free forever
No sign-up, no watermarks, no limits. All client-side tools are free to use as much as you like.
Frequently asked questions
Does reformatting keep my comments?⌄
No — comments are dropped when the YAML is parsed and rewritten. If you need your comments preserved, only use Validate, not Format.
Why does it reject tabs?⌄
The YAML spec itself disallows tabs for indentation — it's the single most common cause of "why won't my YAML parse" errors, so this tool flags it explicitly instead of a cryptic parse error.
Is my YAML uploaded anywhere?⌄
No — everything runs in your browser with plain JavaScript. Nothing you paste is ever sent to a server.