YAML Formatter

Beautify and normalize YAML with a hand-written parser.

Support
Works Offline
Privacy First
No Login
No API

YAML input

Beautified YAML

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

name: Ada
skills:
    - logic

Output

name: 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

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