HTML Minifier
Minify, beautify and compress HTML code instantly. Remove comments, whitespace, and optimise attributes — all in your browser.
Input HTML
Minify Options
Beautify Options
Pro Tip
Use Ctrl+M to minify
Use Ctrl+B to beautify
Minified HTML