Tools - HTML Compressor

With this tool you can reduce the size of your page, so it can be loaded faster by viewers. Be careful, though, because this feature can make your document's code unreadable and even impossible to re-edit.

Note: Before using this tool, please test its operation on a copy of the document.

Launching

You can start the HTML Compressor tool from the button marked with the icon shown above. The launch button for this window is on the Tools / Code formatting and compression .

Compression source

You can perform compression on the current document, all open documents or the selected text in the text editor. Select the appropriate option.

Compression settings

The following compression options are available to remove unnecessary elements from the content of the page source code. Select those options that should be included during the compression process. Be especially careful with the last option, which can make the document completely unreadable due to the deprivation of all line endings.

Redundant spaces
Removes unnecessary spaces, e.g. double, triple, etc.

All tabs
Removes tab characters

All comments
Attention, dangerous for scripts and styles!

Tag <!--webbot--->.
A remnant of FrontPage

Blank lines
Removes unnecessary end-of-line characters

Unnecessary line breaks
Removes unnecessary end of line characters

All end-of-line characters
Caution: causes lack of code readability!

Alternative

An alternative to the compressor is the markup document formatting tool, which comes with a predefined setting called "Code Compression." Formatting also allows you to achieve the opposite effect of compression, that is, it arranges the code nicely and legibly.

Related topics

To top