🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
WP-Compress-HTML icon
Possibly abandoned Tested up to 3.3.2 #20 in compress

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…

Active installs20+10+ tier
Downloads · 30d169▲ +5.6% vs prev. 30d
Rating5/51 reviews
Health score31/100At risk
All-time downloads14.5KSince May 2008
Support resolved—No recent threads
RequiresWP 2.5PHP any
Downloads · 7d36▲ +9.1% week over week
Our verdict

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 & support

Daily downloads

257Sep 4Oct 18Dec 2
Yesterday7
Daily average (1y)4
Peak day10Nov 3, 2026
Last 12 months1.6K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WP-Compress-HTML stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
compress >100 533 Best compress plugins →
html >100 10,000 Best html plugins →
space >100 5,286 Best space plugins →
template >100 10,000 Best template plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP-Compress-HTML

From the official readme · v1.0

Description

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

  1. Download the plugin.
  2. Extract the wp_compress_html.php file and upload to the ‘/wp-content/plugins/’ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. 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.

Active installs badge Rating badge Health score badge

Best WP-Compress-HTML alternatives

All compress plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 EWWW Image Optimizer EWWW Image Optimizer Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images… by Shane Bishop 1M+ ★★★★★★★★★★ 4.8 (1.8K) 12 hours ago 87
2 Minify HTML Minify HTML Minify HTML output for clean looking markup and faster downloading. by Tim Eckel 10K+ ★★★★★★★★★★ 4.7 (33) 9 months ago 61
3 Cimo – Free Instant Image Optimizer & WebP Converter Cimo – Free Instant Image Optimizer & WebP Converter Unlimited free image compression and WebP conversion, done instantly as you upload them. No… by Benjamin Intal 10K+ ★★★★★★★★★★ 4.9 (20) 2 months ago 83
4 WP Super Minify • Minify, Compress and Cache HTML, CSS & JavaScript WP Super Minify • Minify, Compress and Cache HTML, CSS & Ja… A lightweight plugin that automatically minifies, compresses, and caches HTML, CSS, and… by Dipak Gajjar 8K+ ★★★★★★★★★★ 4.1 (73) 3 months ago 75
5 Image Optimizer by 10web – Image Optimizer and Compression plugin Image Optimizer by 10web Image Optimizer by 10Web optimizes and preserves image quality. Improve your website speed… by 10Web 3K+ ★★★★★★★★★★ 4.5 (54) 2 years ago 43
6 Offload, AI & Optimize with Cloudflare Images Offload, AI & Optimize with Cloudflare Images Offload you media library images to the Cloudflare Images service. Store, resize, optimize… by Anton Vanyukov 1K+ ★★★★★★★★★★ 4.9 (33) 3 days ago 76
7 Image Optimizer, Resizer and CDN – Sirv Image Optimizer, Resizer and CDN – Sirv Serve perfectly optimized images, videos, models and 360 spins. The best WordPress &… by Sirv CDN and Image Hosting 900+ ★★★★★★★★★★ 4.9 (265) 1 month ago 83
8 PDF Compressor & Watermark – iLovePDF PDF Compressor & Watermark – iLovePDF Optimize and protect your PDFs with automatic compression and watermarking. Save space and… by iLovePDF 500+ ★★★★★★★★★★ 3.4 (5) 7 months ago 48
9 ZIP from Media ZIP from Media Compress from Media Library to ZIP archive. by Katsushi Kawamori 400+ ★★★★★★★★★★ No reviews 1 week ago 70
10 CSS Minify CSS Minify Minify and Optimize your CSS by clicking one button. by peterpfeiffer 200+ ★★★★★★★★★★ 2.3 (3) 9 years ago 25

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

↑↓ to move↵ to open