Docker Compose Formatter
Format and validate docker-compose YAML files.
Runs locally · Nothing uploaded
docker-compose.yml
Formatted YAML
Result will appear here…Advertisement
About Docker Compose Formatter
Normalizes docker-compose.yml indentation and layout by parsing and re-emitting the YAML, surfacing parse errors with line context along the way. A quick way to fix a compose file mangled by copy-paste. Comments are not preserved by re-serialization, so run it on files where that is acceptable.
Related tools
DevOpsRuns locally in your browser.Kubernetes YAML FormatterFormat and validate Kubernetes manifest YAML.JSON & DataRuns locally in your browser.YAML FormatterNormalize YAML indentation and layout by re-serializing the document.DevOpsRuns locally in your browser.Docker Run Command BuilderCompose a docker run command from image, ports, volumes, and env.