WP-Compress-HTML
Coders like to use spaces, carriage returns, new lines, tabs and indentation to make their HTML documents human-readable. This helps collaboration and debugging of the HTML document. However, all these features add to…
Consider an alternative
WP-Compress-HTML shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.
- Small user base (20+ active installs)
- Very few reviews so far
- No update in 14 years
- Only tested up to WordPress 3.3 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WP-Compress-HTML stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| compress | >100 |
| html | >100 |
| space | >100 |
| template | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About WP-Compress-HTML
From the official readme · v1.0Description
Coders like to use spaces, carriage returns, new lines, tabs and indentation to make their HTML documents human-readable. This helps collaboration and debugging of the HTML document. However, all these features add to the filesize of the resultant HTML document. This structural information is totally ignored by browsers.
This plugin removes spaces, carriage returns, new lines and tabs from your HTML document. You can therefore freely use these features while writing HTML, safe in the knowledge that it will not bloat the final HTML document.
With this plugin you can also mark areas of your HTML template where you want to preserve white space – for example – in areas containing Javascript which needs carriage returns and new lines to function correctly.
HTML comments are not affected by this plugin.
Installation
- Download the plugin.
- Extract the wp_compress_html.php file and upload to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- If there are areas which you do NOT want compression to be applied, simply enclose each area with a pair of <!–wp-compress-html–> tags. Drop in a <!–wp-compress-html no compression–> tag within each area marked in this way to tell the plugin that area is not to be compressed. Don’t worry – these configuration tags will be stripped out by the plugin.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WP-Compress-HTML alternatives
All compress plugins →FAQ
WP-Compress-HTML: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WP-Compress-HTML free?
Yes. WP-Compress-HTML is free to download and use from the official WordPress.org plugin directory.
Is WP-Compress-HTML safe to use in 2026?
WP-Compress-HTML shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.
How many websites use WP-Compress-HTML?
WP-Compress-HTML is active on 20+ WordPress websites and has been downloaded 14,452 times since it launched in May 2008. It was downloaded 169 times in the last 30 days.
Does WP-Compress-HTML work with WordPress 7.1?
WP-Compress-HTML is officially tested up to WordPress 3.3.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WP-Compress-HTML last updated?
The latest version, 1.0, was released on January 22, 2012 (15 years ago).
Who makes WP-Compress-HTML?
WP-Compress-HTML is developed and maintained by mandar-marathe.
What are the best alternatives to WP-Compress-HTML?
The most popular alternatives to WP-Compress-HTML are EWWW Image Optimizer (1M+ installs), Minify HTML (10K+ installs) and Cimo (10K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
