Directory / plugin

Pewit AI Image Optimizer

v1.1.3.3 · by pewitlabs

Smart JPEG/PNG compression with WebP/AVIF sidecars, AV1 WebM video sidecars (ffmpeg) and backup-first bulk jobs (Pro).

About this plugin

Heavy images are the most common reason a WordPress page fails Core Web Vitals. Pewit AI Image Optimizer finds the images that slow your site down, starting with the ones that decide your LCP score, and compresses them with the image editor already built into WordPress. No external service, no API key and no monthly image quota.

What you get for free

  • Library scan – list every image above a size threshold you set.
  • PageSpeed Budget – find LCP-critical images (featured image and the first image in content) that exceed your KB budget.
  • Optimize one image at a time – JPEG and PNG compression with a before / after preview and the exact saving.
  • Smart filters – only images actually used on the site, filename exclude patterns, EtchWP-aware scanning.
  • Runs locally – uses GD or Imagick on your server; images never leave your site.

What Pro adds

Pro is a separate plugin from pewitlabs.com, with a 14-day free trial.

  • Backups and one-click rollback – every original is saved before it is changed.
  • WebP and AVIF versions next to the original.
  • AV1 WebM video versions via ffmpeg.
  • Bulk optimization in the background and auto-optimize on upload.
  • Email report when a bulk job completes.
  • Agency plan – unlimited sites, white-label admin and priority support.

The free version does not contain Pro code. Upgrading means installing the Pro plugin, not unlocking hidden features.

External services

This plugin compresses and converts media locally on your own server using the WordPress image editor and (optionally) a locally installed ffmpeg binary. It does not send your images or media to any third-party AI provider, and no API key is required.

The only third-party service the plugin can connect to is Freemius, used for licensing and updates:

Freemius (licensing & updates — https://freemius.com):
* What and when: used for license activation, plugin updates and, for any optional paid plan, checkout as Merchant of Record. Opt-in diagnostic data sharing is optional and only sent if you agree during activation.
* Data sent: when opted in, basic site/environment and plugin usage data for license validation and update delivery.
* Terms: https://freemius.com/terms/ — Privacy: https://freemius.com/privacy/

Source code

All JavaScript and CSS shipped in this plugin (in assets/js and assets/css) is the original, hand-written, human-readable source. Nothing is minified, compiled, transpiled or generated by a build tool, so no separate source files are required — what you read in the plugin is the source. The only bundled third-party library is the Freemius SDK (vendor/freemius), whose source is available at https://github.com/Freemius/wordpress-sdk

Plugin tags