Title: Harvify Image Optimizer for WebP and AVIF
Author: harv
Published: <strong>June 1, 2026</strong>
Last modified: June 3, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/harvify-image-optimizer-webp-avif.svg)

# Harvify Image Optimizer for WebP and AVIF

 By [harv](https://profiles.wordpress.org/jethalal/)

[Download](https://downloads.wordpress.org/plugin/harvify-image-optimizer-webp-avif.1.0.1.zip)

 * [Details](https://vec.wordpress.org/plugins/harvify-image-optimizer-webp-avif/#description)
 * [Reviews](https://vec.wordpress.org/plugins/harvify-image-optimizer-webp-avif/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/harvify-image-optimizer-webp-avif/#installation)
 * [Development](https://vec.wordpress.org/plugins/harvify-image-optimizer-webp-avif/#developers)

 [Support](https://wordpress.org/support/plugin/harvify-image-optimizer-webp-avif/)

## Description

Harvify Image Optimizer helps WordPress administrators convert Media Library images
to modern WebP and AVIF formats without running heavy compression work inside PHP.

The plugin scans lightweight attachment metadata first, then your browser converts
selected images in a small queue. Images are processed with Web Workers and OffscreenCanvas
where available, uploaded back through authenticated WordPress REST API requests,
and released from browser memory as each item finishes.

This client-side approach is designed for shared hosting environments where PHP 
memory limits and execution timeouts can interrupt large image optimization jobs.

#### Key features

 * Convert JPEG, PNG, WebP, and AVIF source images to WebP or AVIF.
 * Scan one source format at a time so existing target-format images are not accidentally
   reprocessed.
 * Select a few images for a test run before processing the full queue.
 * Skip small files, very large images, selected upload paths, or filename patterns.
 * Deliver Pro sidecar variants through PHP picture tags when available.
 * Adjust quality and queue concurrency from the admin screen.
 * Save queue state in the browser with IndexedDB so work can resume after interruption.
 * Keep wp-admin responsive by doing conversion work in browser workers.
 * Process images locally in your browser without using an external optimization
   API.
 * Optional original-file deletion, disabled by default.

#### Privacy and external services

Harvify Image Optimizer does not send images to a third-party compression service,
load scripts from external CDNs, or track usage. Images are fetched by your browser
from your own WordPress site and uploaded back to your own WordPress REST API.

AVIF encoding uses bundled WebAssembly encoder files. The current AVIF path uses
the Apache-2.0 licensed @jsquash/avif single-thread encoder, with the earlier bundled
wasm-avif encoder retained as a local fallback.

#### Format testing

If you want to experiment with AVIF conversion outside your WordPress Media Library
first, you can use this browser-based test tool:

[AVIF to PNG Converter](https://conversores.online/en/avif-to-png-converter/)

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Open Harvify Image Optimizer in the WordPress admin menu.
 4. Choose a source format, choose WebP or AVIF as the target, and scan the library.
 5. Select a few test images if desired, adjust quality, and start the selected queue.

## FAQ

### Which conversions are supported?

The source selector can scan JPEG, PNG, WebP, or AVIF attachments. The target selector
can write WebP or AVIF, depending on browser, WordPress, and server image metadata
support.

### Can I test only a few images first?

Yes. Scan a source format, select only the queue rows you want to process, adjust
quality, and start the selected queue. This is recommended before processing a large
live media library.

### Does it modify theme or plugin files?

No. This version only replaces Media Library attachment files inside the uploads
directory. Theme and plugin asset rewriting is intentionally excluded because it
can break updates, checksums, and third-party package expectations.

### Does this send my images to a remote service?

No. Images are fetched by your browser from your own WordPress site and uploaded
back to your WordPress REST API.

### Why can AVIF be slower than WebP?

AVIF compression is more CPU intensive, especially when using a WebAssembly encoder
in the browser. For large batches, start with a small test selection and keep concurrency
low.

### Why is AVIF unavailable on some sites?

AVIF output depends on browser WebAssembly support and WordPress/server support 
for AVIF media metadata. WordPress added AVIF support in version 6.5, but the hosting
image library must also support it.

### What happens if the tab is closed?

The queue is saved in IndexedDB in the same browser. Open Harvify Image Optimizer
again and choose Start Selected / Resume.

### Are original files deleted?

No, not by default. The admin must explicitly enable the delete originals option
before starting the queue.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Harvify Image Optimizer for WebP and AVIF” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ harv ](https://profiles.wordpress.org/jethalal/)
 *   [ Harv ](https://profiles.wordpress.org/harv/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

[Translate “Harvify Image Optimizer for WebP and AVIF” into your language.](https://translate.wordpress.org/projects/wp-plugins/harvify-image-optimizer-webp-avif)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/harvify-image-optimizer-webp-avif/),
check out the [SVN repository](https://plugins.svn.wordpress.org/harvify-image-optimizer-webp-avif/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/harvify-image-optimizer-webp-avif/)
by [RSS](https://plugins.trac.wordpress.org/log/harvify-image-optimizer-webp-avif/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/harvify-image-optimizer-webp-avif/)
 * Tags
 * [AVIF](https://vec.wordpress.org/plugins/tags/avif/)[compress images](https://vec.wordpress.org/plugins/tags/compress-images/)
   [image converter](https://vec.wordpress.org/plugins/tags/image-converter/)[image optimizer](https://vec.wordpress.org/plugins/tags/image-optimizer/)
   [webp](https://vec.wordpress.org/plugins/tags/webp/)
 *  [Advanced View](https://vec.wordpress.org/plugins/harvify-image-optimizer-webp-avif/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/harvify-image-optimizer-webp-avif/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/harvify-image-optimizer-webp-avif/reviews/)

## Contributors

 *   [ harv ](https://profiles.wordpress.org/jethalal/)
 *   [ Harv ](https://profiles.wordpress.org/harv/)
 *   [ Freemius ](https://profiles.wordpress.org/freemius/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/harvify-image-optimizer-webp-avif/)