Squeeze – Browser-Based Image Compression & WebP Converter (No API, No Limits)
Browser-based image compression & WebP—no API keys or quotas.
Install in
Help me improve Squeeze. Two minutes, a few simple questions about images on your site. No pitch. Take the poll.
Image compression that runs in your browser: works on any hosting, better quality, no external servers, and compresses before upload.
Squeeze uses browser-side codecs (the same family as Squoosh.app)—not Imagick on your server and not a remote API. That means it works on weak shared hosting, your images never leave for third-party optimization servers (privacy- and GDPR-friendly), and files can be squeezed before they hit the Media Library. Convert to WebP, bulk-optimize existing images, and tune per-format quality—with no API keys and no monthly quotas.
Why Squeeze:
🖥️ Works on any hosting — compression runs in the browser, so you do not need Imagick, binaries, or a powerful server.
🔒 No external servers — image bytes stay on your site; nothing is uploaded to a cloud optimizer.
⬆️ Compress before upload — shrink images in Gutenberg, GenerateBlocks, Instant Images imports, and the Voxel theme before (or right after) files hit the Media Library (Elementor on-upload squeeze is available in Premium).
📝 Form uploads — compress visitor photos in Contact Form 7 file fields before submit (Gravity Forms single- and multi-file fields in Premium).
⚡ Direct WebP conversion — convert JPG/PNG to WebP and replace the original file on disk (no duplicate copies cluttering storage).
♾️ No compression quotas — squeeze your entire Media Library; the plugin does not impose a monthly image cap.
🛡️ Safer huge uploads — soft megapixel limits reduce browser OOM; very large uploads skip after-upload thumbnail re-squeeze and stay marked as client-compressed.
The result: smaller files, faster page loads, and lower hosting storage—without SaaS fees or API keys.
Squeeze official website | Plugin documentation
🌟 New since 1.8
- Optional anonymous usage telemetry (off by default): opt in under Settings Squeeze to share feature events such as a
settings_savedsnapshot on Save, bulk/single squeeze, and upgrade clicks — never image bytes or filenames. See the Privacy section. - Resize originals (max width/height) is free for everyone — cap huge phone photos before squeeze and clean up oversized thumbnails after resize.
- Settings presets: one-click recipes on Basic settings (WebP storage, Blog, Max quality).
- HEIC/HEIF on upload: convert iPhone photos in the browser before they hit the Media Library (JPEG normally, or WebP with Direct WebP).
- Environment hints on Settings when Elementor, Gravity Forms, or WP Offload Media / CDN mapping is relevant.
- Squeeze form uploads: compress images in the visitor’s browser on front-end forms — Contact Form 7 (free) and Gravity Forms single- / multi-file fields (Premium).
- Safer huge uploads: soft megapixel limits, skip after-upload thumbnail re-squeeze on oversized files, optional full-size WebP sidecar, and clearer client-compressed markers so precompressed uploads are recognized on attach.
- Bulk savings: site total on Media Squeeze Bulk Tools (tracked since 1.8.0) and a completion summary after each run.
✨ Key Features
- Faster pages: Smaller images improve load time, Core Web Vitals, and mobile bandwidth use.
- WebP conversion & serving: Convert to WebP and serve efficiently—choose Direct WebP, HTML URL rewrite, or .htaccess delivery for supported browsers.
- Client-side squeezing: Compress in the browser; nothing is uploaded to external optimization servers.
- Upload optimization: Compress on the fly during upload so optimized files land in your Media Library.
- Gutenberg & GenerateBlocks: Squeeze images as you add them in the block editor.
- Contact Form 7: Compress visitor photos in CF7 file fields before submit (enable Squeeze form uploads).
- Voxel theme: Compress before upload on Voxel create-post and file/gallery fields.
- Bulk compression: Compress hundreds of Media Library images in one run (pause/resume supported).
- Custom directory squeeze: Pick any folder under your site root and optimize all images inside it.
- Exclusions: Skip images by URL or filename pattern (one per line).
- Fine-tuned quality: Per-format tabs for JPEG, PNG, WebP, and AVIF (MozJPEG and more).
- Resize originals to max width/height before squeeze (reduces
-scaledduplicates). - Settings presets: one-click recipes (WebP storage, Blog, Max quality).
- HEIC/HEIF on upload: convert iPhone photos in the browser before they hit the Media Library.
- Backup option: Keep a
.bakcopy to restore the original after squeezing. - Formats: JPEG, PNG, WebP, AVIF, and optional HEIC/HEIF (converted on upload).
⚜️ Premium Features
- Image comparison in the Media Library (before/after sizes).
- Bulk squeeze from a page — all images used on one post or page.
- Elementor integration — squeeze on upload while editing in Elementor.
- Gravity Forms uploads — compress visitor photos on single- and multi-file fields before they hit your server.
- CDN URL — map CDN image URLs to local files for all WebP delivery modes.
- Priority support & updates
How does Squeeze work?
Open the Media Library, run Bulk Squeeze, or upload a new image — Squeeze runs Google Chrome team–backed codecs (the same family as Squoosh.app) inside your browser via Web Workers. No account, no API key, no off-site upload queue.
Privacy
Image compression runs in your browser; Squeeze does not upload your images to a third-party optimizer.
Optional anonymous usage telemetry is off by default. If you opt in (Settings Squeeze, or the one-time notice on Squeeze admin screens only), Squeeze may send named feature events—for example settings_saved (a snapshot of options such as WebP mode, form uploads, backup, and selected formats when you save), bulk/single squeeze start or finish, upload squeeze, and upgrade UI clicks. Events go to a first-party endpoint (telemetry.pluginarium.com) and are processed with PostHog EU Cloud. They include plugin version, free/premium edition, and an anonymized site id—not image bytes, filenames, attachment IDs, or media URLs. Individual setting toggles are not sent until you save. Opting out never blocks features; you can change your choice anytime under Settings Squeeze.
Written by Joobi from the project's own listing. See the source page
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(notphoto-scaled.webp/photo-scaled-NxN.webp); keep a mirrored*-scaled.webponly when the pre-convert source was already*-scaled.jpg - Skip writing a redundant orphan
photo-scaled.webpbesidephoto.webpwhen the live WebP is within the big-image threshold and the size URL was not a WP*-scaledfile - Strip
-scaled/-rotatedfrom Direct WebP backup basenames (e.g. nophoto-scaled.bak.webp) - After Direct WebP regenerate, delete the Imagick HEIC (or big-image JPEG) left in
original_imageonce 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_savedoption snapshot on Save, bulk/single/upload squeeze, upgrade UI) via first-partytelemetry.pluginarium.comPostHog 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 onadd_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
.wasmfiles instead of inlining them as multi-megabyte JavaScript lines
1.7.16
- Directory Squeeze: write
.bakbackups 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.webpbeside 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; loadmedia-viewson 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.
Follow this listing's changes (Atom feed)