All Articles
PerformanceSEOImages

How to Convert WordPress Images to WebP (Free, No API Key)

e
erdincbulat
July 1, 2026
7 min read
Erdo Image Optimizer

Why WebP Matters for Your WordPress Site

Images typically account for 50–80% of a web page's total weight. If your site still serves JPEG and PNG files, you're leaving significant performance gains on the table.

WebP is Google's open image format. At the same quality, a WebP file is roughly 25–35% smaller than JPEG and up to 50% smaller than PNG. AVIF — the newer format — goes even further, often cutting file size by 50% compared to JPEG.

Smaller images mean:

  • Faster page load times
  • Better Core Web Vitals scores (especially LCP)
  • Lower bounce rates
  • Higher Google search rankings

The problem? Most WordPress image optimization plugins either charge a monthly fee, require you to sign up for an external API, or impose strict conversion limits on free plans.

The Usual Suspects — and Their Limits

Before we get to a free solution, let's be honest about what the common options actually offer:

Smush (free tier): Compresses images on their servers. Free plan has a 5MB per-image limit and no WebP conversion unless you upgrade to Pro ($7.99/month).

ShortPixel: Excellent quality, but the free plan gives you 100 credits per month. A site with thousands of images will burn through that fast.

EWWW Image Optimizer: Good plugin, but WebP serving requires configuring Nginx or Apache rewrite rules — confusing for most users.

Imagify: 20MB of free optimization per month. That's one or two images for some sites.

If you run a content-heavy site, a photography portfolio, or a WooCommerce store with product images, these limits become problems quickly.

A Different Approach: Local Conversion

There's no reason WebP conversion has to happen on someone else's server. PHP's built-in GD and Imagick libraries — available on virtually every shared host — can handle WebP and AVIF conversion natively.

Running conversion locally means:

  • No API keys
  • No monthly quotas
  • No sending your images to third-party servers
  • No latency from round-trips to external services

This is exactly how Erdo Image Optimizer works. It uses your server's own image libraries to convert, compress, and serve modern formats — all within your WordPress installation.

How to Install Erdo Image Optimizer

  1. In your WordPress admin, go to Plugins → Add New
  2. Search for "erdo image optimizer"
  3. Click Install Now, then Activate

That's it. No API key screen, no account creation, no upsell popup on activation.

What Happens Next

Once active, the plugin adds an Image Optimizer menu item to your WordPress admin. Here's what it can do:

Bulk Conversion

Click Optimize All to convert your entire media library. The process runs in the background via WP-Cron so your site stays responsive. A progress bar shows you how many images have been processed.

The plugin converts to WebP by default. If your server supports AVIF (requires Imagick 7+ or GD with AVIF support), you can enable AVIF output in settings — the plugin will serve AVIF to supporting browsers and WebP as a fallback.

Automatic Conversion on Upload

After activation, any new image you upload is automatically converted. You don't need to remember to run the optimizer after adding new content.

How Serving Works

The plugin uses <picture> elements with multiple <source> tags. This means:

  • Chrome/Edge users get AVIF (if enabled) or WebP
  • Safari users get WebP (Safari supports WebP since version 14)
  • Older browsers get the original JPEG or PNG as fallback

No JavaScript required. No HTACCESS rewrite rules to configure.

The SEO Image Audit

Beyond format conversion, the plugin includes a 6-point SEO audit that checks every image on your site for:

  1. Missing alt text — hurts accessibility and image search rankings
  2. Oversized files — images wider than the container they're displayed in
  3. Wrong format — images still served as JPEG/PNG when WebP is available
  4. Missing lazy loading — images below the fold loaded eagerly
  5. Broken image paths<img> tags pointing to 404s
  6. Non-descriptive filenamesIMG_4821.jpg instead of london-office-meeting-room.jpg

The audit report shows exactly which images have which issues and links directly to the media library entry for each one.

Bulk Alt Text Generation

One feature that sets this plugin apart from typical image optimizers: it can generate descriptive alt text for your entire media library.

Rather than leaving alt text blank or repeating filenames, it analyzes each image and produces a meaningful description. This matters for:

  • Accessibility — screen readers depend on alt text
  • Image SEO — Google Image Search uses alt text as a primary signal
  • WCAG compliance — required for sites serving EU users under accessibility regulations

You can review generated alt text before saving and edit any that don't fit your context.

HEIC Support (iPhone Photos)

A practical addition: the plugin converts HEIC files — the format iPhone cameras use — automatically on upload. If your clients send you iPhone photos and you're tired of converting them manually before uploading to WordPress, this removes that step entirely.

Real-World Performance Impact

On a typical WordPress site with 200 product images (JPEG, average 180KB):

Format Average file size Total for 200 images
Original JPEG 180 KB 36 MB
WebP ~115 KB ~23 MB
AVIF ~85 KB ~17 MB

That's a 35–53% reduction in image payload — which translates directly to faster load times for every visitor.

Compatibility

The plugin works with:

  • All major WordPress hosting (Kinsta, WP Engine, Hostinger, SiteGround, Bluehost, Cloudways)
  • Elementor, Divi, Bricks, Beaver Builder, Gutenberg
  • WooCommerce product and gallery images
  • Custom post type featured images
  • PHP 7.4 and above, WordPress 6.0 and above

Wrapping Up

If you're running a WordPress site and you're not serving WebP, you're making your visitors download unnecessarily large files and leaving performance points on the table. The good news is fixing this doesn't require a paid subscription — your server already has everything it needs.

Download Erdo Image Optimizer free from WordPress.org and run your first bulk conversion in under five minutes.

Free WordPress Plugin

Erdo Image Optimizer

WebP & AVIF conversion, auto alt text, lazy load and SEO audit — zero API key.

More articles

ComplianceEU

EU Cyber Resilience Act 2027: What WordPress Site Owners Must Do

9 min read
WorkflowClients

The Right Way to Share a WordPress Draft with a Client

6 min read