Toolmanor

HTML formatter

Paste messy or one-line HTML to get neatly indented, readable code; CSS inside style tags and JavaScript inside script tags are formatted too.

How to format HTML

  1. Paste HTML on the left or open an .html file.
  2. Pick the indent (2 or 4 spaces, or tabs) and the line width.
  3. Copy or download the formatted file.

Frequently asked questions

Related tools