Online HTML Minifier/Compressor
Understanding HTML Minifier
What is a HTML Minification?
The HTML minifier takes an HTML document as input, applies some compression techniques, and outputs an optimized file.
The HTML minifier only removes white space characters from the document.
Remove unnecessary leading, trailing, and duplicate white space characters. This includes spaces, tabs, newlines, carriage returns, and line feeds. There are two exceptions: indentation before pre tags will remain, and lines that contain only whitespace will be preserved because they can affect wrapping in some browsers.