Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

HTML minifier

Shrink HTML by removing comments and extra whitespace, leaving <pre>, <textarea> and scripts untouched.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on JS, CSS and HTML minifier, where every option is there to change.

Loading HTML minifierRuns on this device. Nothing is uploaded.

Questions

What does it remove?

Comments and extra whitespace between tags and attributes. Conditional comments are kept, and you can tick Keep comments to keep all of them.

Is it safe for my page?

It is deliberately cautious: the contents of <pre>, <textarea> and <script> are left as they are, and inline <style> blocks are minified only when that option is on.

Is my code uploaded?

No. Minification runs in this tab. Nothing you paste leaves your device.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.