Format and minify HTML

Your input is processed in your browser. No sign-in required.

How to use this tool

Paste HTML, choose formatting for readable markup or minification for a compact copy, then download the HTML.