Skip to main content
Toolzum

Docker Compose Validator

Validate docker-compose.yml — YAML syntax, indentation, tabs, and services presence. Catch the tab indent breaking deploys — local validation, free, no signup.

100% Local Browser Native

How to Use the Docker Compose Validator

1. Paste compose YAML

Full docker-compose.yml content.

2. Validate structure

Syntax, tabs, and services checks.

3. Fix flagged lines

Correct indentation and keys, revalidate.

Similar Tools You Might Need

See all

Frequently Asked Questions

What breaks compose files most?

Tab indentation (YAML forbids tabs), missing services: key, and version/top-level mismatches. The validator flags all three with line numbers.

Tabs vs spaces?

Spaces only, consistently 2 per level — one tab anywhere fails the whole file. Mixed indentation flags immediately.

Validate before deploy?

Always — plus docker compose config dry-run locally. Caught errors here save failed-deploy cycles in CI.

Is my compose file uploaded?

No — validation runs locally in your browser. Configs never leave your device.

What exactly does it check?

Each line is scanned for jumps over 2 spaces (Over-indented), any tab, and 2+ colons; then the file must contain services: and match 8 known keywords (apiVersion, kind, metadata, spec, services, image, ports, volumes). Verdicts read Valid Docker Compose or Invalid, the report downloads as docker-compose-validation.txt, and 3 presets ship (Web Service, Multi-service, Clear).

Last updated October 2026