YAML Formatter
Re-indent YAML and make quotes and lists consistent.
What it does
Re-indents YAML with the same number of spaces on every level and makes quotes and list markers consistent. Useful for Docker Compose, Kubernetes and CI files, where a wrong indent changes the meaning. You get clean YAML with the same data.
About the .yml format
.YML file extension.yml YAML Document
Developer Files
- File Type
- YAML Document
- Developer
- Clark Evans, Ingy döt Net, Oren Ben-Kiki
- Category
- Developer Files
- MIME
application/yaml
YML file extension is a text-based data serialization format for representing hierarchical, structured data based on a set of rules. It is typically used as a configuration or settings file for software applications or as a data exchange format between different programs, such as a spreadsheet and an operating system.
Related tools
More in Code FormattersYAML Formatter questions
How do I use the YAML Formatter?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .yml change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .yml page lists programs and converters for it.