Dev Tools Самое необходимое

YAML Formatter

Format and minify YAML locally. No backend.

Settings
Indentation and output options
ready
Indent
Options
Source
- Ctrl+Enter - format
Result
YAML
About this YAML formatter
Format - validate - keep it readable
Format and minify YAML locally in your browser for configs, pipelines and app settings.
Useful for CI/CD files, Kubernetes manifests, Docker Compose, and copied snippets - without uploading data.
This page uses a simplified YAML parser to stay offline and dependency-free, so some advanced YAML features are not supported.
  • Format with consistent indentation
  • Minify to compact YAML for transport or storage
  • Optional key sorting and safe string quoting
  • Everything runs locally - no uploads
FAQ
Common questions
Do you upload my YAML anywhere?
No. Formatting runs locally in your browser. Your YAML is not sent to a server.
Why do some YAML files fail to parse?
The parser is simplified (no external libraries). Complex YAML features (anchors, advanced tags, some multiline cases) may not be supported.
Should I enable Quote strings?
Enable it when values might be misread (numbers, booleans, special chars). It helps avoid accidental type changes.
Does this tool work offline?
Yes. After the first load, the page can work offline thanks to browser caching.
Related tools
You may also find these tools useful
Notes
limitations
This YAML formatter uses a simplified parser (no external libraries). It works for typical configs but will not support all YAML features.