Compress Images for WordPress
Shrink images to a target size in KB before you upload — fix slow pages and upload-limit errors. Format and PNG transparency preserved. No ads.
How it works
Drop in up to 20 images and set a target size in KB — something modest like 200 KB is plenty for most WordPress content. The tool reduces each image's pixel dimensions just enough to land at or under that ceiling, without crushing quality at full resolution the way most free compressors do. Your format is preserved: a PNG stays a PNG with its transparency intact, a JPG stays a JPG. Upload the results to your Media Library and your pages stay fast.
When to use this
WordPress automatically generates several resized thumbnail versions of every image you upload — but it does nothing to shrink the original file you hand it, and that full-size original is what sits in your Media Library and gets served on your pages. A 4 MB phone photo dropped straight in is a 4 MB drag on every page that shows it, which slows load times and hurts your search ranking.
There's also the hard wall: WordPress shows an "exceeds the maximum upload size for this site" error when a file is too big. That limit isn't set by WordPress — it's set by your host, and it ranges anywhere from 2 MB on basic shared plans to 500 MB on managed hosts. You can see yours under Media → Add New in your dashboard; it's printed right below the upload box.
When people hit that wall, the common instinct is to go raise the limit by editing server files. But hosting providers themselves note that the real problem is usually an image that was never resized or was saved in the wrong format — far larger than it needs to be. Compressing first is the fix that keeps your site fast and clears the limit, with no risky server-config edits. Need exact pixel dimensions too — say, sizing an image to your theme's content width? Use the image resizer alongside this.
Common mistakes
- Raising your upload limit instead of shrinking the image. Editing php.ini or .htaccess to allow a bigger file lets you upload the bloat — it doesn't make your pages any faster. Compressing fixes the actual problem.
- Uploading straight from your phone or camera. Modern cameras shoot 4–12 MB per photo. WordPress keeps that original at full weight; compress it first so your Media Library and pages stay lean.
- Expecting an exact file size. No honest tool hits an exact KB on demand — file size depends on image content. This tool guarantees at or under your target, which is what an upload limit actually requires.
- Choosing PNG for photographs. PNG is for logos and graphics with transparency. For photos, JPG is typically several times smaller at the same visual quality — a better default for most WordPress images.