HTML Formatter
Beautify messy HTML with Prettier-quality output.
How to use
- Paste your HTML.
- Click format.
- Copy the clean result.
Frequently asked questions
What engine formats the code?
Prettier's HTML parser, running locally in your browser - the same formatter used in most editors.