Paste or type to begin

Original on the left, modified on the right.

Compare two Dockerfiles

Compare Dockerfiles with syntax highlighting for all instructions. Perfect for reviewing container image changes, comparing multi-stage builds, or auditing security changes. Supports FROM, RUN, COPY, ENV, and all Dockerfile directives.

Features

Frequently asked questions

Does it support multi-stage builds?
Yes. FROM ... AS aliases and COPY --from directives are highlighted.
Can I format Dockerfiles?
Auto-formatting is not available for Dockerfiles, but the diff clearly shows all changes.
Can I compare Docker Compose files?
Docker Compose files are YAML — use the YAML diff tool for those.

More diff tools