YAML Formatter

Beautify, minify and validate YAML documents, with customizable indentation.

Settings

Usage

Features

YAML beautifying, minifying and validation powered by js-yaml, with customizable indentation and live formatting.

Steps

Paste or load the sample YAML, click "Format" to produce a clean format, or "Minify" for compact code; input is formatted automatically.

Notes

YAML is indentation-sensitive, so use spaces instead of tabs; quotes and special characters are preserved.