Image Optimizer, WebP Converter & Compression – Toolszu

By Toolszu

★ 5.0/5 (2 ratings)200+ active installationsVersion 2.0.0

Compress, resize and convert images to WebP or AVIF. Bulk-optimize your Media Library in the background and restore any original with one click.

Description

Image Optimizer by Toolszu makes your images smaller and your pages faster, without sending a single image to an outside service. Everything happens on your own server with the image editor WordPress already uses (Imagick or GD). It is completely free: no account, no API key, no monthly limits and no paid version.

New uploads

  • Automatic optimization: JPG and PNG images are compressed as soon as you upload them.
  • WebP or AVIF: new uploads can be saved as WebP (about 30% smaller than JPG) or AVIF (even smaller). A converted file is kept only when it is really smaller.
  • Maximum width: huge photos are scaled down to the width you choose (1200px by default).
  • Target file size: set a maximum size in KB and the quality is lowered step by step to stay under it.
  • Correct rotation: phone photos never end up sideways.
  • Smaller thumbnails: the thumbnails WordPress creates use your quality setting too.
  • Privacy: camera details and GPS location are removed from JPG files.

Existing images

  • Background bulk optimizer: optimize your whole Media Library with one click. It keeps going when you close the page, and you can pause and resume at any time.
  • Safe for your posts: existing images keep their name, format and address, so nothing in your posts breaks.
  • WebP/AVIF copies: optionally create a WebP or AVIF copy next to each older image and show it to browsers that support it. Older browsers keep the JPG or PNG. Works on every server, including Nginx, and with page caching.
  • Smart skipping: leave tiny files and chosen image sizes alone.

Backups and the Media Library

  • Backups: keep a copy of every original and restore any image with one click.
  • Media Library column: see how much each image was reduced, with “Optimize now” and “Restore original” links.
  • Bulk actions: select images in the Media Library and choose “Optimize images” or “Restore original images”.
  • Dashboard: images optimized, space saved, average reduction and images waiting, at a glance.

Fast and private

  • No external services, no tracking, no cookies and no external scripts or fonts.
  • Nothing is loaded on the front end of your site.

Installation

  1. In WordPress go to Plugins > Add New, search for “Toolszu Image Optimizer”, then click Install Now and Activate.
  2. Go to Settings > Image Optimizer and check the settings. The defaults work well for most sites.
  3. Optional: turn on backups, then click Start optimizing to optimize the images you uploaded before.

FAQ

Are my images sent to another server?

No. All work is done on your own server by the image editor WordPress already uses (Imagick or GD).

Will optimizing old images break my posts?

No. Existing images are compressed in their own format at the same file name and address, so posts and pages that use them keep working.

Does the bulk optimizer convert old images to WebP?

It does not change the original files. When “Create WebP copies” is on, it saves a WebP (or AVIF) copy next to each image and shows that copy to browsers that support it. Your JPG and PNG files stay where they are.

What happens when I close the page during bulk optimization?

It keeps going in the background with WP-Cron and continues the next time your site gets a visit. Open the settings page again to see the progress.

How do I restore an original image?

Turn on “Keep a copy of every original” before optimizing. Then go to Media > Library (list view) and click “Restore original” under the image, or select several images and use the “Restore original images” bulk action.

My server does not support WebP or AVIF. What now?

The settings page shows what your server supports. Your host can turn WebP and AVIF on in the GD or Imagick PHP extension. Until then, images are compressed in their own format.

I updated from version 1.x. Do I need to change anything?

No. Your settings and the record of which images are already optimized are moved over automatically.

Where can I see how much space was saved?

At the top of Settings > Image Optimizer, and for each image in Media > Library (list view), “Optimizer” column.

Screenshots

Changelog

2.0.0

  • New: The bulk optimizer runs in the background. It keeps going when you close the page and can be paused and resumed.
  • New: WebP or AVIF copies of existing images, shown to browsers that support them. The original files stay, so posts keep working.
  • New: AVIF format for new uploads, when the server supports it.
  • New: Restore originals with one click, for single images or in bulk.
  • New: “Optimize now” link and “Optimize images” / “Restore original images” bulk actions in the Media Library.
  • New: Thumbnails use your quality setting instead of the WordPress default.
  • New: Remove camera details and GPS location from JPG files.
  • New: Skip small files and chosen image sizes.
  • New: Redesigned settings page with a dashboard and a server support check.
  • Improved: Settings and image records from version 1.x are moved over automatically.
  • Improved: Requires WordPress 6.5 or later.

1.2.0

  • Fix: The bulk optimizer no longer converts existing images to WebP or deletes the original file. It now compresses images and their thumbnails in place, so images already used in posts keep working.
  • Fix: “Keep original backup” now also works for the bulk optimizer. Backups keep their folders (toolszu-backups/2026/11/…).
  • Fix: Phone photos keep the correct rotation after optimization.
  • New: Maximum width setting (default 1200px, 0 = keep the original width).
  • New: Savings column in the Media Library and totals on the settings page.
  • New: A file is only replaced when the optimized version is smaller.
  • Improved: Uses the WordPress image editor (Imagick or GD).
  • Improved: Refreshed settings page; no external scripts or fonts are loaded any more.

1.1.2

  • Added a “Connect With Us” widget to the settings sidebar.

1.1.0

  • New: Automatic dimension resizing to a web-friendly maximum width before compressing.

1.0.0

  • First release.