HTML Formatter
Format and minify HTML — with proper tag indentation
Free
Client-Side
No Login
No Storage
Loading tool...
How to Use the HTML Formatter
- Paste your HTML.
- Choose Format or Minify mode.
- Select indent style and click Format.
Indents nested tags, handles self-closing and void elements, or minifies by stripping comments and whitespace.