sandywp / plugins / compressx

CompressX

AVIF & WebP Converter, Media Replacement

5.0 out of 5 stars. 5.0 191 reviews

AVIF & WebP converter with built-in media replacement for local image optimization.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v0.9.39 40,000+ installs WP 5.8+ PHP 7.0+

your-sandbox.sandywp.com/wp-admin
CompressX — AVIF & WebP Converter, Media Replacement running inside a SandyWP sandbox

What you get inside

1 screen
  • Converting PNG/JPG images to WebP

About this plugin

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 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, Privacy Policy.

Questions

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.

Do you have any get-started guides/docs?

Yes, we do. Here is a tutorial for you to quickly get started with CompressX.

5.0

191 reviews

  • 5 ★ 191
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.