JSON Formatter for Docker Compose (JSON Format)
Quick Answer: If you have Docker Compose configuration in JSON format (from docker compose config --format json), paste it here to format. Most Compose files are YAML, but JSON output from tooling benefits from formatting.
FAQ
Is Docker Compose usually YAML or JSON?
Docker Compose files (compose.yaml) are typically YAML. JSON format is used when exporting with docker compose config --format json or in programmatic contexts.
Can I convert my YAML Compose file to formatted JSON?
Run docker compose config --format json to get JSON output, then paste it here to format. Or use a YAML-to-JSON converter first.