Minify HTML
by Tim Eckel 4.8 (33 reviews)

Minify HTML

Minify HTML output for clean looking markup and faster downloading.

Minify HTML ranks #1,663 among WordPress.org plugins with 10,000+ active installations, is #73 of 1,518 in the Performance category, a 4.8/5 rating from 33 reviews, and was last updated Mar 18, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.9 (Current: 7.1)
v2.1.13 Current Version v2.1.13
Updated 5 months ago Last Update on 18 Mar, 2026
Refreshed 10 hours ago Last Refreshed on
#73 of 1,518 in Performance Top 5% by installs Downloads -12.1% this week
View on WordPress.org
Rank
#1,663
-1 this week
Active Installs
10K+
-41.4%
KW Avg Position
8
No change
Downloads
244.7K
+48 today
Support Resolved
0%
No change
Rating
96%
Review 4.8 out of 5
4.8 (33 reviews)

Next Milestone 20K

Total Progress 69.7%
10K+ 20K+
243
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 3,030 more installs to reach 20K+

Rank Changes

1,579 1,621 1,663 1,705 1,747 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
1,579 1,621 1,664 1,707 1,749 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Current #1,663
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

10 20 30 40 50 60 70 80 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
10 20 30 40 50 60 70 80 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.8
33 reviews
Overall 96%
5
29 (88%)
4
1 (3%)
3
2 (6%)
2
0 (0%)
1
1 (3%)

Security History

Source: WPVulnerability

3 known vulnerabilities on record · 2 in the last 24 months · checked 1 week ago

  1. Minify HTML [minify-html-markup] < 2.1.13

    CVE-2026-3191 · Fixed in v2.1.13

  2. Minify HTML [minify-html-markup] < 2.1.11

    CVE-2024-12579 · Fixed in v2.1.11

  3. Minify HTML [minify-html-markup] < 2.1.8

    CVE-2023-26014 · Fixed in v2.1.8

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who want cleaner, more professional-looking HTML markup. It solves the problem of sloppy, bloated markup by minifying HTML, and optionally JavaScript and internal CSS, to speed up page downloads.

  • Minifies HTML output
  • Optional JavaScript minification
  • Optional internal CSS minification
  • Preserves textareas and preformatted text
  • Removes HTML, CSS, JS comments
  • Preserves MSIE conditional comments
  • Removes unneeded XHTML closing tags
  • Removes unneeded relative schemes/domains

Frequently Asked Questions

Common questions about Minify HTML

Yes. Under the Settings menu in the admin console there's a Minify HTML menu item which allows you to modify Minify HTML settings.
Magic, obviously! Actually, it creates an output buffer and then preforms its 'magic' on the output buffer. It kinda is like magic.
Normally, you won't notice any changes to the way the site looks in the browser. However, if you rely on white space between HTML tags (which you shouldn't be doing) you may notice very isolated elements with reduced horizontal spacing. This is because inline objects will add a few pixels of spacing if there's whitespace between the objects. I consider Minify HTML a good way of finding these style 'errors' and correcting them with proper padding or margin style.
Plenty. On my server that's running dozens of websites, it takes 0.007 seconds to minify a page. Also, because the HTML file is smaller, it will speed up transfer and rendering times. Minify HTML doesn't use bloated external libraries that add additional overhead and therefore take longer to process.
With real-world test sites, the HTML file is around 20-25% smaller. Even when using deflate/gzip compression the resulting file is around 20% smaller, speeding up download times.
With Minify HTML, the source HTML file will be smaller, therefore, it will compress faster and be even smaller once compressed. Also, even with deflate/gzip, your HTML markup will still look sloppy and amateurish. Minify HTML corrects this even for deflated/gzip transfers (and also saves another 20% in bandwidth).

Sign In / Register

You need to sign in or register to use this feature.