WordPress.org

Plugin Directory

Squeeze – Image Optimization & Compression, WebP Conversion

Squeeze – Image Optimization & Compression, WebP Conversion

Description

Squeeze plugin optimizes and compresses images on your website directly in your browser. It also converts your images to the modern WebP format.
No extra server used, no limits for images compression.

Visit Squeeze official website.

🎉 Special Offer: Get 6 months of Premium for FREE! 🎉

I’ve got something exciting for you! The first 20 people to fill out the form on the site will get Squeeze Premium absolutely FREE for 6 months.

No credit card or phone number required, I promise! Just your email and the website address where you’ll be installing the Premium version.

I’m eager to make Squeeze even better, and I need your help. By testing the plugin and sharing your feedback, complaints, and suggestions, you’ll play a crucial role in its improvement.

Don’t miss this opportunity to enhance your website’s performance and contribute to the development of a powerful tool. Fill out the form now and secure your spot!

Get the Premium version for FREE here!

How does the Squeeze plugin work?

Squeeze plugin compresses images directly from your WordPress Media Library or during the image upload process. All the work is handled directly inside your browser using advanced compression algorithms. That means there’s no third party service for compression images. Thus, you can be sure with the privacy of your images, ensuring data privacy and faster processing.

Full documentation is here.

Key Features

  • Performance Boost: Reduces image sizes to improve website loading speed and overall user experience.
  • WEBP Conversion and Serving: Convert images to the modern and efficient WEBP format and serve them seamlessly. The plugin adds .htaccess rules to serve WEBP images for supported browsers without changing URLs. Alternatively, enable the « Replace Image URLs » option to explicitly use WEBP versions on all pages.
  • Client-Side Image Squeezing: Compress images directly in the browser without sending files to external servers
  • Upload Optimization: Compresses images on-the-fly during the upload process, ensuring optimized images are added to your media library.
  • Bulk Compression: Allows you to compress multiple images at once from your WordPress Media Library.
  • Custom Path Compression: Select a folder on your site and compress all the images within that folder.
  • Selective Compression: Choose which images to compress based on your preferences and requirements.
  • Custom Squeezing Settings: Adjust compression parameters such as quality level to suit your specific needs.
  • Backup Option: Creates a backup file to restore a compressed image to the original image.
  • Wide Format Support: Squeezes images in popular formats, including JPEG, PNG, AVIF, and WebP.

Premium Features

  • Image Comparison: Compare original and Squeezed image directly in the Media Library.
  • Resize Original Image: Set maximum width and height for the original image.
  • Bulk Squeeze from a Page: Compress all images from a specific page.
  • Image Exclusion: Exclude specific images from bulk compression.
  • Priority support & updates!

Don’t settle for limitations—upgrade now and supercharge your experience!

Explore the Premium version here.

Captures d’écran

  • Compressed image with the Squeeze Plugin
  • Squeeze’s Bulk Compression Page
  • Squeeze’s Restore and Recompress Options
  • Serving WEBP images instead of JPG and PNG. Even though the URL of the image remains the same, the response is in the WEBP format.
  • Replacing images URLs with the corresponding WEBP version. If your server does not support .htaccess file or it is not writable, then you can use this option to replace your images URLs and serve WEBP images.
  • Squeeze’s Basic Settings
  • Squeeze’s JPEG compression settings
  • Squeeze’s PNG compression settings
  • Squeeze’s WebP compression settings
  • Squeeze’s AVIF compression settings
  • Squeeze’s Bulk actions in the List view of the Media Library
  • Squeeze’s Filter in the Grid view of the Media Library
  • Preview image with live Squeezing options (Premium feature)
  • Bulk Squeeze from a page (Premium feature)

Installation

  1. Download the plugin ZIP file from the WordPress Plugin Directory, or install the plugin via the WordPress plugin installer.
  2. Extract the ZIP file (if downloaded from WordPress Plugin Directory).
  3. Upload the plugin folder to the wp-content/plugins/ directory of your WordPress installation.
  4. Activate the Squeeze plugin from the WordPress plugins dashboard.

FAQ

How does the plugin work?

The plugin uses client-side compression algorithms and provides you with the ability to compress images in your WordPress media library or during the image upload process.

What does the speed of image compression depend on?

Because the compression process happens directly into your browser – it depends on your device’s performance.

Image compression process seems to be stuck. The browser doesn’t respond.

It may happen if you are trying to compress a PNG image with a high resolution. In that case, you should wait a while, until the image finishes its compression or a “Request timed out.” error message occurs.

How to fix a “Request timed out” error

Go to the plugin’s setting page (Settings -> Squeeze).
At the “Basic Settings” tab increase the value of the field “Squeeze timeout”. By default it equals 60 seconds, try to make it bigger. If the error still persists, that means the script cannot process your image.

How are the images processed? Are they sent to an external server?

The images compressed directly in your browser – means no external server used. Squeeze does all the work locally. So you should not worry about privacy.

Can this plugin convert images to the WEBP format?

Yes! The Squeeze plugin supports converting images to the WEBP format during the compression process. WEBP is a modern image format that provides superior compression while maintaining high quality, resulting in faster loading times and reduced bandwidth usage. To enable this feature, simply check the « Generate WEBP » option under the Basic Settings tab to output images in WEBP format.

How are WEBP images served?

By default, the Squeeze plugin adds rules to your .htaccess file to serve WEBP images automatically. This means that when a browser supports the WEBP format, the corresponding WEBP version of an image will be served without changing the original image’s URL. This allows seamless integration without disrupting your website’s existing structure.
If you enable the « Replace Images URLs » option in the plugin settings, the plugin will directly replace all image URLs on your pages with their corresponding WEBP versions. This can be useful for ensuring that WEBP images are explicitly used everywhere on your site.
The generated WEBP images are stored in the wp-content/squeeze-webp folder within your WordPress installation.

Which scripts are used for compressing and converting images?

The Squeeze plugin utilizes the same scripts and libraries that power the Squoosh.app, an open-source project by the Google Chrome team. These include highly efficient image processing libraries such as:

  • MozJPEG: Used for compressing JPEG images.
  • Browser Image Compression: Used for compressing PNG images. This is not come from the Squoosh.app, as its OxiPNG takes quite a long time to compress images.
  • WebP: Used for converting and compressing images to the modern WEBP format.
  • AVIF: An advanced codec for creating lightweight and high-quality AVIF images.

Why should I use image compression on my website?

Image compression helps improve your website’s performance by reducing the file size of images without significantly impacting their quality. Smaller image files load faster, resulting in faster page load times and a better user experience. Additionally, compressed images consume less bandwidth, which can be beneficial for websites with limited hosting resources or mobile users with limited data plans.

Which image formats does the Squeeze plugin work with?

Squeeze plugin supports JPG, PNG, WEBP and AVIF image formats.

Can I compress multiple images at once?

Yes, the plugin provides a bulk compression feature. This saves time and effort compared to compressing images individually.

Can I compress images NOT from the Media Library, but from a custom folder?

Yes, you can compress images from any folder within your WordPress installation.

Can I customize the compression settings?

Yes, the plugin allows you to customize various compression settings according to your preferences. The Settings page is located at Settings -> Squeeze.

Where can I read the full documentation for this plugin?

The full documentation is available here: https://pluginarium.com/squeeze/squeeze-documentation/

Avis

6 juin 2025 1 reply
I have been searching for a great image compression plugin for WordPress for over a year and I finally found it. When someone is looking for an image compression plugin, they most likely want smallest file size with best quality. That is why I think Squeeze is the best image compression plugin for WordPress at the moment. I tried so many different tools and services to see what would yield the best results for me and Squeeze came out on top. I had very simple feature requirements: Resize ( Premium feature in Squeeze. ) Convert to .webp Compress Although the resize feature requires purchasing the premium version, it is a no brainer for the price it is being sold. Highlights The plugin comes with sensible defaults and anyone can change them with simple inputs. The compression algorithms have fantastic quality. You do not have to connect your website to a third-party service and pay per compression. That is all free and happens in your browser. You can backup original images. In conclusion, I rarely write raving reviews and have done so only a couple of times in the past for WordPress plugins, but Squeeze definitely deserves the recognition. (:
5 mars 2024 3 replies
I’ve been waiting for a plugin that can leverage Squoosh compression for years! I’m impressed!If I had one feature request it would be auto resizing to a specific set of dimensions like in Squoosh 🙂
10 novembre 2023 1 reply
Great plugin! I’d love webp support if possible.
Lire les 3 avis

Contributeurs & développeurs

« Squeeze – Image Optimization & Compression, WebP Conversion » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Historique des changements

1.6.7

  • Added auto-squeezing for the images uploaded via Image block
  • Adjusted UI for the bulk squeezing
  • Added documentation tab on the Settings page

1.6.6

  • Changed hook for enqueuing assets

1.6.5

  • Added bulk Squeeze in the Grid mode
  • Fixed filesize after Squeezing (on page reload)
  • Fixed load_text_domain bug

1.6.4

  • Changed PNG compression script

1.6.3

  • Removed Freemius from the free version

1.6.2

  • Pro version available

1.6.1

  • Fixed vulnerabilities and bugs

1.6

  • Refactored PHP and JS code

1.5.2

  • Fixed webp convertion
  • Added option to select image formats

1.5.1

  • Fixed webworker bug

1.5

  • Added WEBP serving
  • Minor UI updates

1.4.9

  • Added UI popup for bulk directory squeeze
  • Added filters to the Media Library to select non-squeezed images

1.4.8

  • Added webworker
  • Fixed pause/resume on bulk Squeeze
  • Minor UI/UX updates

1.4.7

  • Updated plugin’s UI and description

1.4.6

  • Bulk compress option for the list view of the Media Library
  • Pause/Resume option for the bulk compress process
  • Fixed bugs with the list mode
  • Fixed bug when bulk process stuck if image processing failed
  • Added timeout for image compression process
  • Added scaled image size for compression
  • Refactored JS code

1.4.5

  • Add bulk restore option to the list view of Media Library
  • Compress selected thumbnails separately

1.4.4

  • Delete .bak file on media delete

1.4.3

  • Fixed minor JS bug

1.4.2

  • Fixed security issue: check permissions for file upload

1.4.1

  • Fixed security issue: Arbitrary File Upload

1.4

  • Add AVIF support

1.3

  • Add WEBP support
  • Update settings page layout with tabs
  • Add ability to re-compress images
  • Add ability to compress images from custom folder

1.2

  • Fix minor bug in Media library

1.1

  • Fix PNG compressor

1.0

  • First release.