Title: CompressX — AVIF &amp; WebP Converter, Media Replacement
Author: CompressX
Published: <strong>June 26, 2024</strong>
Last modified: February 19, 2026

---

Search plugins

![](https://ps.w.org/compressx/assets/banner-772x250.png?rev=3108121)

![](https://ps.w.org/compressx/assets/icon-256x256.png?rev=3108121)

# CompressX — AVIF & WebP Converter, Media Replacement

 By [CompressX](https://profiles.wordpress.org/compressxio/)

[Download](https://downloads.wordpress.org/plugin/compressx.0.9.36.zip)

 * [Details](https://test.wordpress.org/plugins/compressx/#description)
 * [Reviews](https://test.wordpress.org/plugins/compressx/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/compressx/#installation)
 * [Development](https://test.wordpress.org/plugins/compressx/#developers)

 [Support](https://wordpress.org/support/plugin/compressx/)

## Description

CompressX is a free, lightweight WebP & AVIF conversion and media replacement plugin
for WordPress. It allows you to easily convert JPG and PNG images to WebP and AVIF
formats, compress WebP and AVIF images, and replace media files without changing
their URLs or attachment IDs. All AVIF and WebP conversions are performed locally
on your web server.

### Core Features

#### 1. Convert AVIF & Compress AVIF

Convert jpg, png, and WebP images on your WordPress website to AVIF format, and 
compress AVIF images according to the compression level you set.
 If the original
image is already in AVIF format which is supported since WordPress 6.5, the original
AVIF image will only be compressed.

#### 2. Convert WebP & Compress WebP

Convert jpg, png images on your WordPress website to WebP format, and compress WebP
images according to the compression level you set.
 If the original image is already
in WebP format which is supported since WordPress 5.8, the original WebP image will
only be compressed.

#### 3. Media Replacement & Auto Re-Optimization

Safely replace an existing media file without changing its URL or attachment ID.
When a new image is uploaded as a replacement, the system automatically regenerates
thumbnails, applies your configured format conversion and compression rules, resizes
where needed, and re-optimizes the file.

#### 4. Exclude Folders

Select specific folders in your media library and prevent images inside them from
being processed.

#### 5. Custom Folders

Select folders that are in the wp-content folder but outside the Uploads (media 
library) and process images inside them.

#### 6. Auto-Process New Images

Automatically convert new images uploaded to a WordPress website to WebP/AVIF format
and compress WebP/AVIF images upon upload.

#### 7. Auto-Remove Large Images

Automatically remove converted AVIF/WebP images when they are larger than original
images.

#### 8. Restore Original Images

Your images will be reverted to their original state and all AVIF/WebP images and
data in the database generated by CompressX will be removed when CompressX is uninstalled.

### Minimum Requirements to use CompressX

 * Character Encoding UTF-8
 * PHP version 7.0
 * MySQL version 4.1
 * WordPress 5.8

### External Services

This plugin optionally connects to the [Cloudflare API](https://api.cloudflare.com/)
to purge your CDN cache. It sends the Cloudflare Zone ID, account email, and Global
API Key whenever the “Purge Cloudflare Cache” button is clicked or automatically
upon optimization completion (if enabled in settings). This service is provided 
by Cloudflare, Inc: [Terms of Service](https://www.cloudflare.com/terms/), [Privacy Policy](https://www.cloudflare.com/privacypolicy/).

## Screenshots

 * [[
 * Converting PNG/JPG images to WebP

## Installation

#### Install CompressX

1.Go to your sites admin dashboard.
 2.Navigate to Plugins Menu and search for CompressX.
3.Find CompressX and click Install Now. 4. Click Activate.

## FAQ

### What does CompressX do?

CompressX converts JPG/PNG images on your WordPress website to WebP and AVIF formats,
compress WebP and AVIF images locally, and replace existing medias for free!

### Does CompressX convert AVIF? Is it a free feature?

Yes, CompressX supports AVIF conversion and compression, the AVIF conversion and
compression feature is completely free.

### Does CompressX convert WebP? Is it a free feature?

Yes, CompressX supports WebP conversion and compression, the WebP conversion and
compression feature is completely free.

### Do you provide support for CompressX? Where?

Yes, absolutely. Whenever you need help, start a thread on the support forum or 
[contact us](https://compressx.io/contact-us/).

### Do you have any get-started guides/docs?

Yes, we do. Here is a [tutorial](https://compressx.io/docs/compressx-overview/) 
for you to quickly get started with CompressX.

## Reviews

![](https://secure.gravatar.com/avatar/3ba00080c81928d0d71480072f80f2b18313b76b9bac2b16ffe4a5ec2ef07023?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-9785/)󠁿

 [Sravan](https://profiles.wordpress.org/vsravan707/) March 29, 2026 1 reply

Thanks

![](https://secure.gravatar.com/avatar/a76d04d5806a36598f19eff8b671f3c7f336d42a161907205004a6840dd4be07?
s=60&d=retro&r=g)

### 󠀁[Works like charm](https://wordpress.org/support/topic/works-like-charm-143/)󠁿

 [benni51](https://profiles.wordpress.org/benni51/) March 18, 2026 1 reply

This free plugin worked very well for me. Thanks, CompressX!

![](https://secure.gravatar.com/avatar/e9cebc69c101e656726b69f22b743848b6be67f140e8fda05b032ae093035eef?
s=60&d=retro&r=g)

### 󠀁[Purrfect](https://wordpress.org/support/topic/purrfect-2/)󠁿

 [widaki](https://profiles.wordpress.org/widaki/) March 5, 2026 2 replies

Time winning extension. Good Job & Thx !

![](https://secure.gravatar.com/avatar/33beda216f262683ced1773c01a0c79fcf6b49cff86841aec4818d0a9ccd837b?
s=60&d=retro&r=g)

### 󠀁[Very usefull tools i have 25.XXX picture in my site and is proceced without err](https://wordpress.org/support/topic/very-usefull-tools-i-have-25-xxx-picture-in-my-site-and-is-proceced-without-err/)󠁿

 [noutghal](https://profiles.wordpress.org/noutghal/) February 28, 2026 1 reply

Very usefull tools i have 25.XXX picture in my site and is procède without any error
or cancel or timeout, powerfull plugin, just the time to process bulk for toussent
of picture is very slow

![](https://secure.gravatar.com/avatar/4d999aab3831cd9c39ab75833420997f903df4cca9c8cb7189b0a02525d5fffb?
s=60&d=retro&r=g)

### 󠀁[Efficient and easy to use](https://wordpress.org/support/topic/efficient-and-easy-to-use-16/)󠁿

 [savingpatterns](https://profiles.wordpress.org/savingpatterns/) February 24, 2026
1 reply

So glad I found this plugin! Great customer service too.

![](https://secure.gravatar.com/avatar/b72ebd764f48c704372eab2c26b48abddec0363f8ab4d2ec1a6c2ca8e99a316c?
s=60&d=retro&r=g)

### 󠀁[Compressx Is Outstanding](https://wordpress.org/support/topic/compressx-is-outstanding/)󠁿

 [stone74955](https://profiles.wordpress.org/stone74955/) February 11, 2026 3 replies

Installed it on several of the websites I manage. I’m very impressed!

 [ Read all 178 reviews ](https://wordpress.org/support/plugin/compressx/reviews/)

## Contributors & Developers

“CompressX — AVIF & WebP Converter, Media Replacement” is open source software. 
The following people have contributed to this plugin.

Contributors

 *   [ CompressX ](https://profiles.wordpress.org/compressxio/)

“CompressX — AVIF & WebP Converter, Media Replacement” has been translated into 
11 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/compressx/contributors)
for their contributions.

[Translate “CompressX — AVIF & WebP Converter, Media Replacement” into your language.](https://translate.wordpress.org/projects/wp-plugins/compressx)

### Interested in development?

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

## Changelog

#### 0.9.36

 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.
 * Refined the plugin readme file.

#### 0.9.35

 * Added a feature of replacing an image in your media library by uploading a new
   image.
 * Fixed some bugs in the plugin code.
 * Optimized plugin UI.

#### 0.9.34

 * Added a custom database table for saving CompressX image data.
 * Fixed some bugs in the plugin code.
 * Optimized plugin UI and core code.

#### 0.9.33

 * Major update to the plugin user interface.
 * Fixed some bugs in the plugin code.
 * Successfully tested with PHP 8.5.
 * Successfully tested with WordPress 6.9.

#### 0.9.32

 * Fixed: Manual image conversions from media library would fail.

#### 0.9.31

 * Fixed some bugs in the plugin code.

#### 0.9.30

 * Fixed: Custom compression level settings could not be saved.

#### 0.9.29

 * Added a compatible rewrite rule option for broader server compatibility.
 * Optimized the efficiency of batch scanning, especially for sites with many images.

#### 0.9.28

 * Fixed: Incorrect image statistics calculation.
 * Added support for image rotation during WebP/AVIF conversion.
 * Fixed: Image resizing data could not be updated in the database.

#### 0.9.27

 * Refactored the plugin code and optimized the code structure.
 * Optimized and reduced CompressX entries in postmeta table.
 * Fixed some UI bugs.

#### 0.9.26

 * Expanded compatibility to support a wider range of server configurations.
 * Added a clear warning about potential AVIF conversion timeouts when using ImageMagick
   6.x.
 * Enhanced compatibility of .htaccess rewrite rules to accommodate diverse server
   settings.
 * Optimized bulk image processing to skip stuck images.
 * Optimized the plugin code.

#### 0.9.25

 * Fixed a UI bug.
 * Optimized the plugin code.

#### 0.9.24

 * Fixed: CDN integration settings could not be saved correctly.
 * Optimized the plugin code and UI.

#### 0.9.23

 * Added support for conversion of Elementor custom thumbnails size.
 * Added support for conversion in media library grid view and image edit page.

#### 0.9.22

 * Fixed: Picture tag did not take all sizes in srcset.
 * Fixed: Conversion would fail if image’s MIME type did not match the MIME type
   saved in posts.
 * Optimized the plugin UI.

#### 0.9.21

 * Added an option of ‘Do not convert PNG to WebP’.
 * Added an option to automatically purge cache after manual conversion from media
   library.
 * Optimized the plugin UI.
 * Canceled support for grid view of media library. Only list view is supported.

#### 0.9.20

 * Optimized process of scanning a large number of images.
 * Successfully tested with WordPress 6.7.

#### 0.9.19

 * Optimized image scanning method in the bulk processing workflow.

#### 0.9.18

 * Fixed: Default compression level for bulk processing was wrongly set to lossless.

#### 0.9.17

 * Added an option of ‘picture tag’ to load WebP and AVIF images.
 * Optimized the plugin UI.
 * Optimized the plugin code.

#### 0.9.16

 * Fixed a UI bug that would appear when folders that do not exist were added to
   exclusion rules.
 * Optimized the plugin code.

#### 0.9.15

 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.

#### 0.9.14

 * Added support for multilanguage translation.
 * Added an option to exclude PNG images from conversion.
 * Added an option to delete cache control settings from .htaccess file.
 * Fixed: WebP images could not be displayed as AVIF after conversion.
 * Optimized the plugin UI.
 * Optimized the plugin code.

#### 0.9.13

 * Added support for Cloudflare CDN.
 * Fixed: Settings of ‘auto-resizing large images’ could not take effect.
 * Optimized the plugin code.

#### 0.9.12

 * Fixed a UI bug where WebP option could not be selected in some cases.
 * Fixed: Images would be repeatedly processed when EXIF removal option was enabled.
 * Optimized the plugin code.

#### 0.9.11

 * Added an option to delete converted images.
 * Optimized the plugin UI.
 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.

#### 0.9.10

 * Fixed: Image quality would not be changed after AVIF conversion with Imagick.
 * Fixed: Incorrect compression quality with Imagick and Lossless compression level.
 * Fixed: Custom compression level would not take effect.
 * Optimized the plugin code.

#### 0.9.9

 * Added an option to set how many images to process per ajax request.
 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.

#### 0.9.8

 * Added a Debug section.
 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.

#### 0.9.7

 * Fixed the path error of rewrite rules that appeared in some environments.
 * Fixed: Some settings could not take effect.
 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.

#### 0.9.6

 * Fixed a bug where AVIF output format could not be enabled.
 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.

#### 0.9.5

 * Fixed a bug in the plugin code.
 * Optimized the plugin code.

#### 0.9.4

 * Fixed a critical bug in the plugin code.
 * Optimized the plugin code.

#### 0.9.3

 * Fixed a critical bug in the plugin code.
 * Optimized the plugin code.

#### 0.9.2

 * Added a check for the case where multiple image optimization plugins are activated.
 * Fixed some bugs in the plugin code.
 * Optimized the plugin code.
 * Successfully tested with WordPress 6.6.

#### 0.9.1

 * Initial release. Hello world!

## Meta

 *  Version **0.9.36**
 *  Last updated **1 month ago**
 *  Active installations **30,000+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.0 or higher **
 *  Languages
 * [Chinese (China)](https://cn.wordpress.org/plugins/compressx/), [Dutch](https://nl.wordpress.org/plugins/compressx/),
   [English (US)](https://wordpress.org/plugins/compressx/), [French (France)](https://fr.wordpress.org/plugins/compressx/),
   [Korean](https://ko.wordpress.org/plugins/compressx/), [Persian](https://fa.wordpress.org/plugins/compressx/),
   [Polish](https://pl.wordpress.org/plugins/compressx/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/compressx/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/compressx/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/compressx/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/compressx/), and [Spanish (Venezuela)](https://ve.wordpress.org/plugins/compressx/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/compressx)
 * Tags
 * [AVIF](https://test.wordpress.org/plugins/tags/avif/)[convert AVIF](https://test.wordpress.org/plugins/tags/convert-avif/)
   [convert webp](https://test.wordpress.org/plugins/tags/convert-webp/)[optimization](https://test.wordpress.org/plugins/tags/optimization/)
   [webp](https://test.wordpress.org/plugins/tags/webp/)
 *  [Advanced View](https://test.wordpress.org/plugins/compressx/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  178 5-star reviews     ](https://wordpress.org/support/plugin/compressx/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/compressx/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/compressx/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/compressx/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/compressx/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/compressx/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/compressx/reviews/)

## Contributors

 *   [ CompressX ](https://profiles.wordpress.org/compressxio/)

## Support

Issues resolved in last two months:

     2 out of 6

 [View support forum](https://wordpress.org/support/plugin/compressx/)