IDEAFACTORYS LAB · Developer

YAML Formatter

Paste YAML, then beautify or minify it locally. Errors stay on the page.

Paste YAML

Everything runs in your browser and is not uploaded. Input is parsed with js-yaml and then written back: beautify uses block indentation, minify uses flow style. Parse failures are shown on this page; the tool never silently emits bad output. This page only formats YAML; it is not the existing YAML↔JSON converter.

This is not a YAML↔JSON converter. Use the existing YAML JSON Converter for that. Use a dedicated editor for highly unusual or broken input.

Result