Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Squeeze icon

Squeeze

v1.8.4
by Bogdan Bendziukov · 5.0 (6 reviews)

The Squeeze plugin for WordPress allows you to easily optimize and compress images on your website using the Squoosh.app compression scripts.

3K+ active installs Updated Dec 03, 2026 Tested to 7.1.5 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Squeeze

About Squeeze

This plugin allows you to compress images directly from your WordPress media library or during the image upload process using the advanced compression algorithms of Squoosh.app. It offers features such as bulk compression, selective compression, custom compression settings, and the ability to compress images in a specific folder on your site. Please note that this is not the official Squoosh.app plugin, but it uses the compression scripts from Squoosh.app.

Screenshots

Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot
Squeeze screenshot

Changelog

1.8.4

  • Activity log (on by default): local compression/restore event file under wp-content/uploads/squeeze-logs/ with size limit, Download/Clear on Settings Squeeze — stays on your site, never sent automatically (see Privacy)

1.8.3.2

  • HEIC + Direct WebP: encode the full image from the HEIC source, then build thumbs like JPG (worker from live size URLs) — no main-thread thumb encode
  • Fix Direct WebP naming for big-image / Imagick HEIC uploads: live file is photo.webp (not photo-scaled.webp / photo-scaled-NxN.webp); keep a mirrored *-scaled.webp only when the pre-convert source was already *-scaled.jpg
  • Skip writing a redundant orphan photo-scaled.webp beside photo.webp when the live WebP is within the big-image threshold and the size URL was not a WP *-scaled file
  • Strip -scaled / -rotated from Direct WebP backup basenames (e.g. no photo-scaled.bak.webp)
  • After Direct WebP regenerate, delete the Imagick HEIC (or big-image JPEG) left in original_image once it is no longer referenced

1.8.3.1

  • Fix: do not flush all output buffers on shutdown — preserves page-cache buffers and avoids holding the response open after HTML output

1.8.3

  • Optional anonymous usage telemetry (off by default): opt-in under Settings Squeeze or the one-time Squeeze admin notice
  • Feature events (e.g. settings_saved option snapshot on Save, bulk/single/upload squeeze, upgrade UI) via first-party telemetry.pluginarium.com PostHog EU — no image bytes, filenames, or media URLs
  • Settings toggles are not reported until Save Changes; restore-defaults is flagged separately — see Privacy

1.8.2

  • Resize originals (max width/height) is free for everyone, including oversized-thumbnail cleanup after resize
  • Settings presets: WebP storage, Blog, and Max quality one-click recipes on Basic settings
  • Environment hints on Squeeze settings when Elementor, Gravity Forms, or WP Offload Media / CDN mapping is relevant
  • HEIC/HEIF: convert iPhone photos in the browser on upload — JPEG normally, or straight to WebP with your WebP quality when Direct WebP is on

1.8.1

  • Security: require upload_files (and edit_post for the target attachment) on restore and related media AJAX actions — nonce alone is not authorization (CVE-2026-110029, reported by Naoki Kawahigashi)
  • Security: stop localizing the Squeeze AJAX nonce on admin/editor screens for users without upload_files

1.8.0

  • Squeeze form uploads: compress visitor images in the browser on Contact Form 7 file fields (free) and Gravity Forms single-/multi-file fields (Premium); separate Basic Settings checkbox from Squeeze on upload
  • Soft megapixel limits and single-thread AVIF on low-RAM devices to reduce browser OutOfMemory on mobile / shared hosting
  • Huge uploads: skip after-upload thumbnail re-squeeze; mark attachment as client-compressed; optionally write the full-size WebP sidecar when sidecar mode is on
  • Plupload multipart markers (_squeeze_client) so precompressed uploads are recognized on add_attachment
  • Console timing summary table at the end of Bulk / upload runs ([Squeeze timing])
  • Bulk savings totals on Media Squeeze Bulk Tools (tracked since 1.8.0) and a completion summary after each run
  • Admin UX: Squeeze Bulk Tools naming, clearer savings messaging, Upgrade UTM links; DE/ES/FR translations

1.7.17

  • Fix WordPress.org automated review block: emit WebAssembly codecs as separate .wasm files instead of inlining them as multi-megabyte JavaScript lines

1.7.16

  • Directory Squeeze: write .bak backups when Backup original is on; restore in place via “Restore backups in selected folders”; skip *.bak.* when scanning; block Media Library year/month folders (use Bulk Media Library Squeeze instead)
  • Direct WebP (Directory Squeeze): backups are .bak.webp beside the live WebP (same as Media Library); original JPG/PNG twins are removed more reliably after conversion
  • Direct WebP defaults: align stored options with the Direct WebP UI on fresh installs / when both delivery flags were off so bulk Directory Squeeze actually writes WebP
  • Settings / bulk UI: note that with Direct WebP and Backup original on, backups are WebP (e.g. photo.bak.webp)
  • Instant Images: squeeze imported stock photos after attach when Squeeze on upload is enabled (Media Library page, media modal, editor sidebar)
  • Media Library / attachment modal: refresh file-size labels after Squeeze, Re-Squeeze, or Restore (including Premium comparison)
  • WebP Express incompatibility notice is skipped when Direct WebP is already on
  • Admin assets: cache-bust script ?ver= with filemtime after rebuilds; load media-views on the Bulk Squeeze page so hooks attach reliably

1.7.15

  • Cap bulk concurrency by device memory (not raw CPU cores) to reduce WebAssembly OutOfMemory errors on low-RAM devices
  • Lazy-load image codecs in the worker so JPEG-only jobs do not load AVIF/WebP/PNG WASM up front
  • Reuse a small worker pool instead of creating a new Worker per image
  • Force single-threaded AVIF encoding on low-memory devices; add megapixel guard and clearer OOM error messages
  • When max width/height resize is set, downscale during decode (createImageBitmap) and apply the megapixel guard to post-resize size

1.7.14

  • Fixed admin UI layout in RTL languages (logical CSS insets instead of left/right)
  • WordPress 7.1: disable core client-side media processing while Squeeze on upload is enabled, so Gutenberg uploads keep Squeeze quality, Direct WebP, backups, and thumbnail overwrite
  • Gutenberg: intercept only create uploads to /wp/v2/media (skip sideload/finalize)
  • HEIC/HEIF: on-upload conversion added in 1.8.2; older releases left HEIC unsqueezed (turn Squeeze on upload off for WordPress 7.1 core HEIC / HDR)

1.7.13

  • Fixed: “Bulk Squeeze from a Page” now compresses Media Library thumbnail sizes and marks attachments as squeezed (previously only the original was written when process=path)
  • Fixed: fatal error on the Settings page when checking WP Offload Media compatibility (SqueezeOffloadMedia class not loaded yet)

1.7.12

  • Fixed: after resizing an original image to max width/height, thumbnail sizes that are now larger than the resized original are deleted instead of being left on disk
  • Added optional “Delete plugin data on uninstall” setting (off by default) to clear Squeeze options, stats, and related postmeta when the plugin is removed
  • Fixed: “Bulk Squeeze from a Page” now recognizes offloaded/CDN-hosted images via the shared media URL resolver (WP Offload Media and related filters)
  • Fixed: background images and other page images at a specific size are compressed in place when not found in the Media Library, instead of only attempting a guessed original filename
  • Fixed: “Rewrite src to WebP URLs in HTML” falls back to the base WebP sidecar when a sized WebP file is missing
  • Security: reject non-image extensions in per-size AJAX thumbnail uploads

1.7.11

  • WP Offload Media: added a same-origin image proxy so the Web Worker can fetch CDN-hosted images for compression without CORS errors (works even when “Remove Local Files” is enabled)
  • WP Offload Media: thumbnail sizes with no local original on disk (offloaded) are now compressed and uploaded correctly
  • Failed compression state is tracked per attachment — “larger than original” images show a warning with Restore and Re-Squeeze options; changing compression settings clears failed state so images can be retried
  • Excluded images are now omitted from Bulk Squeeze and the Media Library “Non Squeezed Images” filter
  • Bulk Squeeze skips a failed image and continues with the rest instead of retrying the same failure
  • Security: upload format validation now uses a hardcoded allowlist; settings saves require manage_options; unknown option keys are stripped on save
  • Fixed: upload errors now show readable messages (including HTTP 413 payload-too-large guidance) instead of [object Object]
  • Fixed: compression comparison table no longer breaks when an original size is missing from disk

1.7.10

  • WP Offload Media: added incompatibility notices in the WebP delivery settings — the “Keep JPEG/PNG URLs — server serves WebP” and “Rewrite src to WebP URLs in HTML” modes do not work with WP Offload Media; the Direct WebP mode is recommended and works automatically
  • WP Offload Media: provider/CDN base URL is now auto-detected so Squeeze can download images from external storage for compression (no CORS issues)
  • Fixed: “Restore original image” button was missing after a failed compression (result larger than original) when a backup exists — button is now always shown when a backup is available
  • Fixed: clicking “Restore original image” no longer throws a JS error when the image was in the “larger than original” failed state
  • Combined the two-line “Could not compress” error into a single message with an inline link to compression settings

1.7.9

  • Redesigned WebP delivery settings with three clear modes: Direct WebP, separate squeeze-webp folder with URL rewrite, and separate folder with server-side delivery (.htaccess)
  • Voxel theme: pre-upload compression for create-post and file/gallery field uploads
  • CDN URL setting (Premium): works with all WebP delivery modes, including Direct WebP
  • Improved URL-to-filesystem resolution when checking WebP files (CDN-aware, Premium CDN URL)
  • Bulk directory browser returns site-relative paths only (no absolute server paths in API responses)
  • Fixed Media Library bulk squeeze completion popup (missing JavaScript helper import)
  • PHPUnit and bulk browse path handling improvements

1.7.8

  • Improved security for backend

1.7.7

  • Fixed undefined function error for squeeze_premium

1.7.6

  • Cached heavy PHP and SQL requests

1.7.5

  • Updated notifications texts and icons
  • Upgraded the Freemius version

1.7.4

  • Replacing existing JPG/PNG images to WebP related from Direct WebP conversion
  • Minor code refactor and bug fixing

1.7.3

  • Added compatibility with Filebird plugin
  • Refactored some JS functions

1.7.2

  • Added compatibility with Elementor (Premium version only)

1.7.1

  • Fixed Editor’s interception request bug
  • Add notification if Canvas extraction is blocked

1.7.0

  • Added direct WEBP conversion option
  • Compress newly uploaded images immediately, before they being uploaded to the server
  • Skip uploading the compressed image, if it becomes larger than original after compression
  • Fixed account tab on the Settings page
  • Added explanation screenshots for some options on the Settings page

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 conversion
  • 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 directory

1.2

  • Fix minor bug in Media library

1.1

  • Fix PNG compressor

1.0

  • First release.

Try other plugins