Every Drawer
All tools

HTML Formatter

Lay out messy HTML with neat indents of 2 spaces, 4 spaces or tabs.

How it works

Lay out messy HTML with neat indents of 2 spaces, 4 spaces or tabs.

  1. Paste your HTML in the box.
  2. Pick an Indent.
  3. Press Copy or Save.

Good to know

Does formatting change how the page looks?

It only changes spacing in the code, so the page should look the same.

More like this