Image Compression Plugins for WordPress: 8 Compared

Underwater scene shows a glass jar filled with blue photo cards and its lid lifted.

My phone takes a picture of a sandwich at forty-eight megapixels. Forty-eight. I can zoom into a sesame seed and find out where it grew up. Then I upload it to a website, where it appears at the size of a coaster, and the whole page has to wait while the seed arrives.

That is the problem in one sandwich: the pictures are far bigger than the space they live in. A compression plugin fixes most of it without touching your design. Below are eight, all good, and they differ in four things: whether you lose quality, how much you get for free, which formats they make and where the work happens. Figures are from WordPress.org in November 2026.

Lossless and lossy: would you notice what's missing?

Lossless compression takes out only what nobody can see. It is like a suitcase packed by a very neat person. Everything is still in there, the same socks, just folded.

Lossy compression takes a few socks out. And here is the strange part: you go on the whole trip and never miss them.

LosslessLossy
What it removesHidden data and repetitionDetail the eye hardly notices
QualityIdentical, pixel by pixelSlightly different
SavingSmallLarge
Good forLogos, drawings, screenshots, printPhotographs
Can it be undone?Nothing to undoOnly with a copy of the original

People want lossless because of the name. Who would volunteer for loss? But for photographs it rarely pays. EWWW, for example, states an average saving of 8% for its free lossless mode and 60% for converting to WebP. For most sites, good lossy compression plus a saved original is the sensible answer.

The eight, side by side

PluginBest forInstalls, rating (reviews)
EWWW Image OptimizerLossless with no limit1 million+
4.8 (1,847)
SmushSimplicity1 million+
4.8 (6,053)
ImagifyModern formats on a small site900,000+
4.3 (1,658)
ShortPixelChoosing the level, large libraries300,000+
4.5 (831)
TinyPNGA well-known engine100,000+
4.6 (183)
RobinNo quotas and WebP100,000+
4.4 (133)
Converter for MediaOnly converting to WebP500,000+
4.9 (1,111)
Modern Image FormatsNothing but WordPress100,000+
3.6 (26)
PluginFree allowanceLosslessWebP and AVIF for free
EWWWUnlimitedYesWebP
SmushSkips images over 5 MBYesNo, they are Pro
Imagify20 MB a month, about 200 imagesOptionalBoth
ShortPixel100 credits a monthOptionalWithin the credits
TinyPNG500 credits, about 100 uploadsNoWithin the credits
RobinUnlimitedNearlyWebP
Converter for MediaUnlimitedNot its aimWebP
Modern Image FormatsUnlimitedNot its aimBoth, if the server can

Read the credits carefully. WordPress makes several sizes of every picture, and most services count each size as one credit. TinyPNG says so itself: 500 credits are roughly 100 images in a normal installation, and half that if you convert them too. You uploaded one sandwich. As far as the meter is concerned, you catered a wedding.

Plugins with no meter running

EWWW Image Optimizer

EWWW compresses with tools on your own server, with no account and no limit, if your hosting lets it run programs. If not, it offers unlimited lossless JPG compression and WebP conversion through its own service. Stronger compression and AVIF come with the paid plans. The name sounds like somebody opening an old lunchbox, and it is the best free lossless option here.

For: free, private, honest about what it does. Against: more settings than you want on a weekday.

Robin

Robin sets no quotas and makes WebP for free, with bulk optimization. Its gentlest level is described as "almost lossless". Almost. A phrase that has never once reassured anybody about a parachute. It's fine for photos; for logos, look at the result first. AVIF is in the premium version.

Converter for Media

Converter for Media does one job: it makes WebP copies on your server and hands them to browsers that accept them, without touching the originals. It has the best rating on this list. AVIF is paid.

Modern Image Formats

Modern Image Formats comes from WordPress's own performance team. It creates AVIF, or WebP if the server can't, when you upload. It ignores the pictures you already had, and its rating (3.6, few reviews) reflects trouble on some servers. Test it before you trust it.

Plugins with a monthly allowance

Smush

Smush is the one to give to a friend who doesn't want to hear about any of this. Install, press a button, done. The free version skips images over 5 MB and leaves WebP, AVIF and the CDN to Pro. More than 6,000 reviews, 4.8 on average.

Imagify

Imagify compresses, resizes and converts to WebP and AVIF in its free plan, up to 20 MB a month. A blog with a few new photos a week stays under that forever. An old library goes over it by lunchtime, and a one-time purchase sorts it out.

ShortPixel

ShortPixel lets you choose lossy, glossy or lossless, handles PDF, WebP and AVIF, and keeps originals. 100 free credits a month; unlimited monthly credits cost $9.99, and there are one-time packs for old libraries. The most flexible for large sites.

TinyPNG

TinyPNG connects your site to the service with the panda that designers have used for years. Very good lossy compression, with conversion to WebP and AVIF. 500 free credits a month, then you pay by use. No lossless mode.

We left out Elementor's Image Optimizer: a rating of 1.7 is not a review, it's a cry.

How to choose

  • Lossless and free: EWWW.
  • One button: Smush.
  • AVIF without paying: Imagify, or Modern Image Formats if your server can.
  • Thousands of old images: ShortPixel with a one-time pack.
  • No accounts, no quotas: Robin or EWWW.

One plugin at a time. Two that convert or rewrite images repeat each other's work and leave broken pictures behind.

Before you press the button

  1. Back up the uploads folder.
  2. Keep the originals. Turn on the plugin's copy and check your disk space: it can double.
  3. Resize first. A 6000-pixel photo shown at 1200 wastes more than any compression saves. Set a maximum of 2000 to 2560 pixels.
  4. Test ten images: a portrait, a logo, a screenshot with text, a dark photo, a product on white.
  5. Run the library at night, in batches.

What no plugin can do for you

It can't stop you from putting ten photos in a carousel. Nobody has ever waited for the seventh one. The seventh photo in a carousel is the loneliest thing on the internet.

It also can't fix photographs saved as PNG, missing width and height (the page jumps), or a main image that loads late because lazy loading was applied to it. Our guide to Core Web Vitals explains how to find those.

The server plays its part too: modern formats need PHP libraries compiled with support for them. Tools → Site Health → Info → Media Handling tells you what yours can do. Our managed WordPress hosting has NVMe storage and lets you select a recent PHP for each site, and if a gallery is the reason you are here, see what a photography site needs.

Your next step takes two minutes: open your home page, right-click the biggest picture, and look at its real size. If it is wider than your screen, somebody is waiting for a sesame seed right now.

Related Articles

How to Send Transactional Email from WordPress: SMTP Setup Guide WordPress

How to Send Transactional Email from WordPress: SMTP Setup Guide

Set up SMTP in WordPress to send transactional email reliably. This guide covers plugins, settings, and testing so your password resets and receipts always arrive.

Updated Dec 3, 2026
WordPress Accessibility: EAA & WCAG 2.2 Checklist WordPress

WordPress Accessibility: EAA & WCAG 2.2 Checklist

WordPress accessibility checklist for the EAA and WCAG 2.2: fix contrast, keyboard, forms and checkout issues. Start auditing your site today.

Updated Dec 3, 2026
WooCommerce Black Friday Checklist for 2026 WordPress

WooCommerce Black Friday Checklist for 2026

WooCommerce Black Friday checklist: prep hosting, speed, checkout and security before the 2026 rush. Get your store sale-ready today.

Updated Dec 3, 2026