Home / HTML Formatter and Minifier
HTML Formatter and Minifier
Format HTML for readability or minify it for smaller files, using Prettier in your browser when available.
Your result will appear here.
How to use
- Paste HTML.
- Click Format or Minify.
- Copy the result.
Frequently asked questions
Is Prettier used?
Yes when it loads in the browser; otherwise a basic formatter is used and labelled as such.
Is my HTML uploaded?
No, it stays in your browser.
Looking for another tool? Browse all developer tools.
