HTML Compression Tool


HTML compression tool will save space in your HTML files and make them smaller by Removing text line breaks, Removing tab spaces, Replacing double spaces with single spaces
There is also the option to not compress the head of the HTML document.f you have javascript code written directly in the HTML head then leaving it not compressed is probably best as compression could stop the javascript from working properly.
in order for this tool to compress correctly your html document should be fairly well formed (needs a HEAD and a BODY).



Paste your html code in the box below and then click the button.

Don't compress HTML head



New Compressed HTML

Copy your compressed HTML code from the box below.