Code Beautifier

Dockerfile Formatter & Linter

Normalize Dockerfile instructions and catch common build mistakes before you ship. · Updated

Options
Output mode:
dockerfile
Formatted Outputdockerfile
Draft saved locally.

Options

OptionDescription
Output modeChoose normalized Dockerfile output or a JSON report with diagnostics.

FAQ

Does this tool build my Docker image?

No. It formats text and performs lightweight static checks without running Docker.

Which instructions are recognized?

Standard Dockerfile instructions such as FROM, RUN, COPY, WORKDIR, ENV, CMD, and ENTRYPOINT are recognized.

Does formatting change shell commands?

No. Arguments and commands are preserved; instruction names and whitespace are normalized.

What does the linter check?

It reports missing FROM instructions, unknown lines, and instructions without required arguments.