How to use the HTML Formatter and Minifier
- Add your text, file or details in the tool above.
- Adjust the settings to get the result you want.
- Copy or download your result. Nothing is uploaded.
What you can use it for
- Clean HTML exported from builders and emails
- Debug page source
- Minify HTML for production
Private by design
The HTML Formatter and Minifier runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.
Frequently asked questions
Does it format inline CSS and JS?
Yes. Code inside <style> and <script> tags is formatted too.
Is my code uploaded?
No. Formatting runs in your browser.