Pretty Lush

YAML Formatter

Paste a YAML file (Kubernetes manifests, CI configs, docker-compose files) and Prettier normalizes indentation and spacing while keeping your comments. Use Convert to turn it into JSON or TOML.

FAQ

How do I format YAML online?
Paste your YAML into the input pane and press Format (⌘/Ctrl + Enter). Pretty Lush formats it with Prettier in your browser and shows the result side by side, ready to copy, download or share.
Are YAML comments preserved?
Yes. Prettier keeps comments when formatting YAML. Converting to another format drops them, since JSON has no comments.
Is my code uploaded anywhere?
No. Formatting runs entirely in your browser; the code you paste is not sent to a server. The only feature that talks to a backend is the optional encrypted share link, which encrypts the snippet in your browser first.