HTML Formatter

Turn messy or minified HTML into neatly indented code.

Runs on your device Free, no sign-up No watermark

How to use HTML Formatter

  1. 1

    Paste your HTML.

  2. 2

    Pick the indent.

  3. 3

    Copy the formatted code.

Good to know

  • Inline text is placed on its own lines.

Your privacy: this tool runs entirely in your browser. Your files are not uploaded, stored or seen by anyone.

You might also need

All tools