WordPress Image Optimization

Images are often the heaviest part of a WordPress page. Picture Optimizer's WordPress plugin (Pro and up) processes your Media Library: compressing files, converting formats, writing AI metadata and replacing originals, all from the WP admin.

  • Sample export first
  • Up to 100 images a batch, depending on plan

Try it on your own file

Drop an image here, or choose a file

It stays on your device. Nothing is uploaded from this page.

80
Sign up to optimise it

Nothing is processed on this page. The Free plan compresses your first 15 photos to AVIF or JPG; bigger photos are resized to fit 3 MB. WebP and AI text start on Starter.

At a glance

WordPress images at a glance

WordPress 5.8+, PHP 7.4+

Requires

Pro and up

Plans

Up to 100 images

Batch size

Automatic

URL replacement

Figures from our sample run; AI text is Starter and up.

Same photo, a fraction of the file

From our sample run on photos of service businesses: plumber. A JPG in, saved as AVIF at the High preset, 2048 px wide (WordPress full size).

Plumber repairing white PVC sink drainage pipes under a kitchen sink with blue lighting, AVIF · 55 KB
Plumber repairing white PVC sink drainage pipes under a kitchen sink with blue lighting, JPG · 2.8 MB
The before shown here is a copy of the original resized for the web; its label is the original file’s size.
Works on Free

WordPress image optimization: the full pipeline

WordPress image optimization is not a single action. It is a pipeline. The image must be analyzed for content. Metadata must be generated. The file must be compressed. The format may need conversion. Thumbnails must be regenerated. URLs must be updated across the database. Redirects must be added for old URLs.

Picture Optimizer handles every step. Install the WordPress plugin (Pro and up), pick a mode for the batch and run it. The pipeline runs from analysis to replacement without manual intervention.

What the plugin does to each image

1. The plugin sends the image to Picture Optimizer with your API key. 2. AI vision writes alt text, title, caption and a file name. 3. The image is compressed, and converted to WebP or AVIF if you chose it. 4. The original is swapped and thumbnails regenerated. 5. Every URL in posts, meta and widgets is updated, with redirects for the old ones. 6. Every original is backed up, so you can revert any image.

Compatibility

The plugin works with WordPress 5.8+ and PHP 7.4+, and with WooCommerce, Gutenberg and Elementor. Cloudflare, LiteSpeed Cache and WP Rocket are on the plugin's compatibility list.

The plugin changes only the image files and their links, not your theme's code, JavaScript or CSS.

How to optimize images in WordPress, step by step

1. Decide how the images get into WordPress. On Starter, compress new photos in the tool and send them to your media library with their alt text: WordPress blog image optimization shows that setup. For the images already in your library, use the WordPress image optimization plugin, on Pro and up.

2. Choose the output format: WebP or AVIF for the smallest files, or JPG to keep the original format.

3. Choose a quality preset, then export a sample of a few images and check the real file sizes.

4. Run the rest. The plugin replaces each original, regenerates the thumbnails and updates every link, with a redirect from the old URL.

5. If an image looks wrong, revert it: every original is backed up.

Questions

Common questions about this tool.

No. Processing happens on Picture Optimizer's servers, not yours. Your WordPress server uploads the original and receives the compressed result. CPU and memory impact on your hosting is minimal.

Fresh from the blog: WordPress images

How-to · WordPress images

How to serve WebP and AVIF in WordPress

Four ways to get WebP and AVIF onto a WordPress site, from uploading them directly to converting an existing library, and how to check your server first.