YAML Formatter

Beautify and normalize YAML with a hand-written parser.

Support
Works Offline
Privacy First
No Login
No API

YAML input

Beautified YAML

YAML
name: Ada
skills:
  - logic
  - math
address:
  city: London
  zip: "90210"

About the YAML Formatter

Paste messy or inconsistently indented YAML and get a cleanly re-serialized version with normalized 2-space indentation, consistent quoting, and preserved nested maps and lists — all parsed locally with a hand-written YAML parser.

Examples

Messy indentation

YAMLname: Ada
skills:
    - logic

Output

YAMLname: Ada
skills:
  - logic

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Comments

No login needed. Comments appear after a quick review.

Protected by an on-site captcha — no third-party trackers.

Optional: get an alert when your comment is published or replied to, plus new tool announcements. No sign-up.

Loading comments…

Version 1.0.0 · Updated 2026-08-11 · Runs entirely in your browser