WordPress image optimizer

How to use the WordPress image optimizer

  1. Bulk-select images in your WordPress media library — the tool uploads them to a browser-only compression pipeline.
  2. Pick a compression profile: safe (visually lossless, 15-30% smaller) or aggressive (60-75% smaller, minor quality trade-off).
  3. The tool re-encodes JPG and PNG, strips EXIF metadata, and optionally converts to WebP (preserving the original for backwards compatibility).
  4. Compressed files replace the originals in the media library; ensure the WordPress uploads/ directory is writable.
  5. Regenerate intermediate sizes (thumbnail, medium, large) automatically after compression.

When to use it

The free online tool is enough for small sites (under 200 media items) and one-off cleanups. Use a paid plugin (Imagify, ShortPixel, Smush Pro) for larger libraries (1000+ images) or continuous optimization on upload — paid plugins offer queuing, CDN integration, and WebP delivery. Alternative: Imagify handles the same pipeline but requires a monthly subscription after the free tier.

Example

A 50-image library averaging 1.8 MB each (90 MB total) compresses to 420 KB average (21 MB total) — 77% savings. Page load time on image-heavy pages drops from 4.2s to 1.6s on a 3G connection.

Frequently asked questions

Will this break existing image URLs?
No — filenames are preserved, only the file contents are replaced. Links in old posts keep working.
Does it handle WebP and AVIF?
WebP yes. AVIF conversion is planned. WordPress 6.1+ supports WebP natively in the media library.
What about retina (2×) images?
WordPress generates @2x sizes automatically when your theme requests them. The compressor processes all registered sizes, including retina variants.
Is EXIF metadata removed?
Yes — by default. This strips GPS coordinates, camera model, and editor signatures. Turn off strip metadata if you need to preserve photographer information for licensing.
Do I need to install a plugin?
No — the tool is standalone. For automated on-upload compression, pair it with a lightweight plugin that triggers the pipeline whenever new media is added.

Related tools

Last updated: 2026-04-22