The Squeeze plugin for WordPress allows you to easily optimize and compress images on your website using the Squoosh.app service. Squoosh.
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.
The result: smaller files, faster page loads, and lower hosting storage—without SaaS fees or API keys.
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.
Image compression runs in your browser; Squeeze does not upload your images to a third-party optimizer.
How does the plugin work?
Squeeze compresses images in your browser using Web Workers and open-source codecs (MozJPEG for JPEG, Browser Image Compression for PNG, WebP and AVIF encoders). You can squeeze from the Media Library, bulk tools, custom folders, during upload in supported editors, or on front-end form file fields (Contact Form 7; Gravity Forms in Premium).
Do I need an API key or cloud account?
No. Squeeze does not require ShortPixel, Imagify, or any third-party API. There are no per-month image caps imposed by the plugin.
What makes Squeeze different from ShortPixel, Imagify, or Smush?
- Unlimited squeezes (no SaaS quota — finish a bulk run even when a cloud plan would stop mid-library).
- Works without Imagick: compression runs in the admin browser, so weak shared hosting is fine.
- Privacy: files stay on your server; image bytes are not sent to a third-party compression API.
- Direct WebP can replace originals instead of keeping parallel JPG + WebP copies.
- No recurring API cost for compression itself.
- Niche integrations: Voxel pre-upload, Gutenberg/GenerateBlocks on upload, Contact Form 7 form uploads; Elementor and Gravity Forms in Premium.
How fast is compression?
Speed depends on your computer and image size. Large PNGs can take longer; increase Squeeze timeout under Settings → Squeeze → Basic Settings if needed. Very large images may hit a soft megapixel limit for browser safety; Squeeze can still upload a squeezed original and skip the extra after-upload thumbnail pass.
Are images sent to an external server?
No. Processing is client-side in wp-admin (and in supported front-end upload flows). Your image bytes are not sent to Squeeze’s servers for compression.
Can Squeeze convert images to WebP?
Yes. Enable Direct WebP conversion under Basic Settings to convert new uploads to WebP and replace the original file. You can also use legacy modes that keep JPG/PNG and store WebP in wp-content/squeeze-webp/ with URL rewrite or .htaccess delivery.
Is it safe to replace images with WebP?
Yes for new uploads when you understand URL changes. For existing sites, test on a staging copy first. Replace Image URLs rewrites src in page HTML at render time (database URLs unchanged). If you deactivate the plugin while Direct WebP is on, some hard-coded .jpg links may break — reselect images from the Media Library or restore from .bak backups.
Will images break if I deactivate the plugin?
If Direct WebP replaced originals, some content may still reference old .jpg/.png URLs. Reselect images in the editor or restore backups. HTML-only URL rewrite modes stop rewriting when the plugin is off, but original files remain on disk.
How are WebP images served?
Choose one of three modes in WebP delivery:
- Direct WebP (recommended) — file on disk becomes
.webp; lowest storage.
- Rewrite
<img> src — keeps originals; serves WebP URLs in HTML output.
- Server delivery — keeps URLs;
.htaccess serves WebP bytes to supporting browsers.
Premium CDN URL helps map CDN paths to local files for all modes.
Does Squeeze work with WP Offload Media (WP Offload S3 / AS3CF)?
Yes. Squeeze can compress CDN-hosted images (including when local files are removed), and Direct WebP works with WP Offload Media: converted .webp files are uploaded to your bucket/CDN automatically.
Recommended — Direct WebP: Converts the file in place to .webp. WP Offload Media then syncs it to S3, GCS, DigitalOcean Spaces, and similar providers.
Not compatible — Rewrite <img> src to WebP URLs in HTML: WebP sidecars live in a local squeeze-webp/ folder and are not pushed to external storage, so they cannot be served from your CDN URL.
Not compatible — Keep JPEG/PNG URLs — server serves WebP (.htaccess): Apache rewrite rules only apply to requests that hit your origin. Offloaded image URLs point at the CDN and never pass through .htaccess.
When WP Offload Media is active, Squeeze shows these warnings in WebP delivery settings and recommends Direct WebP.
Why do I see “Image conversion blocked by browser privacy setting”?
Your browser blocked canvas access (common with Firefox privacy.resistFingerprinting). Set privacy.resistFingerprinting to false in about:config, use Chrome/Edge, or a profile without strict fingerprinting resistance.
Does Squeeze work with the Voxel theme?
Yes (free). Pre-upload compression runs on Voxel create-post and file/gallery AJAX uploads so images are smaller before they reach the server.
Does Squeeze work with Elementor?
On-upload squeeze in Elementor is a Premium feature. The free version supports Gutenberg, GenerateBlocks, Voxel, and Contact Form 7 form uploads (when Squeeze form uploads is enabled).
Does Squeeze work with Contact Form 7?
Yes (free). Enable Squeeze form uploads under Settings → Squeeze → Basic Settings. Images picked in CF7 file fields are compressed in the visitor’s browser before submit. Keeps the original format (Direct WebP does not apply to form uploads).
Does Squeeze work with Gravity Forms?
Yes, in Premium, when Squeeze form uploads is enabled. Single-file and multi-file (Plupload) fields are supported. Free Squeeze covers Contact Form 7 form uploads, not Gravity Forms.
What is the difference between Squeeze on upload and Squeeze form uploads?
Squeeze on upload covers Media Library / editor / theme pipelines (Gutenberg, GenerateBlocks, Instant Images, Voxel; Elementor in Premium). Squeeze form uploads covers front-end form file fields (Contact Form 7; Gravity Forms in Premium). They are separate checkboxes.
Does Squeeze work with GenerateBlocks?
Yes. GenerateBlocks media blocks support the same on-upload squeeze as the core Image block when Squeeze on upload is enabled under Basic Settings.
What if the squeezed file is larger than the original?
Squeeze can skip replacing an upload when the compressed file would be larger (common with already-optimized PNGs). Lower JPEG/WebP quality in the format tabs, exclude the asset under Excluded images, or squeeze a smaller registered thumbnail size.
How do .bak backup files work?
Enable Create backup in Basic Settings before squeezing. Squeeze saves a .bak copy next to the file. For Media Library images you can Restore Original Image from the list or attachment screen. For Directory Squeeze, use Restore backups in selected folders (in-place restore; .bak is removed after success). With Direct WebP, backups are WebP as well (e.g. image.bak.webp). Remove unneeded library backups with Delete Backup Image.
Does Squeeze work with Instant Images?
Yes. When Squeeze on upload is enabled, images imported via Instant Images (Media Library page, media modal, or editor sidebar) are squeezed after they land in the Media Library—including backups, Direct WebP, and thumbnail rules from your Squeeze settings.
Does WebP server delivery need Apache mod_rewrite?
The separate folder + server-side delivery mode writes .htaccess rules and needs mod_rewrite on Apache. If mod_rewrite is unavailable, use Direct WebP or Rewrite <img> src instead. On Nginx or other stacks without Apache rules, prefer Direct WebP or HTML rewrite unless you add equivalent server rewrites yourself.
Does Squeeze work on WordPress multisite?
Yes on standard multisite installs—each site has its own Squeeze settings and Media Library. Test Direct WebP on a staging subsite before bulk conversion across a large network.
Which codecs does Squeeze use?
MozJPEG (JPEG), Browser Image Compression (PNG), plus WebP and AVIF encoders—the same technology family as Squoosh.app by the Chrome team.
Why use image compression on WordPress?
Smaller images improve LCP and overall speed, reduce bandwidth bills, and free disk space—especially when combined with WebP.
Which formats are supported?
JPEG, PNG, WebP, AVIF, and HEIC/HEIF (when selected under Image formats). GIF files are not squeezed. HEIC/HEIF from iPhones are converted in the browser on Media Library upload when Squeeze on upload is enabled and HEIC/HEIF is selected (JPEG normally, or WebP with Direct WebP, including backups). When Squeeze on upload is off or HEIC/HEIF is unchecked, HEIC is left as-is so WordPress 7.1 core HEIC/HDR can handle it, or you can Squeeze manually later (only when HEIC/HEIF is selected).
Does Squeeze work with WordPress 7.1 client-side media processing?
Yes. While Squeeze on upload is enabled, Squeeze turns off WordPress 7.1’s built-in browser image processing so Gutenberg uploads use Squeeze quality, Direct WebP, backups, and thumbnail overwrite. Firefox and Safari already use the server upload path.
On Media Library upload with Squeeze on upload enabled and HEIC/HEIF selected under Image formats, Squeeze converts HEIC/HEIF in the browser to JPEG or WebP (with your quality settings, Direct WebP, and backups). WordPress 7.1’s own HEIC/HDR client pipeline is disabled while Squeeze on upload is on — turn Squeeze on upload off (or uncheck HEIC/HEIF) to use core HEIC/HDR instead. Manual Squeeze of already-uploaded .heic attachments is available only when HEIC/HEIF is selected and the file is still HEIC on disk.
Can I compress many images at once?
Yes. Use Bulk Squeeze (Media Library attachments) or Directory Squeeze for any folder under your site root. When Backup original is enabled, Directory Squeeze also writes .bak files beside images. Use Restore backups in selected folders to restore in place (live file overwritten, .bak deleted). Media Library images still use Restore Original Image on the attachment. Still take a site backup before a large run.
Can I exclude images?
Yes. List URL or filename patterns (one per line) under Excluded images in Basic Settings.
Can I customize compression quality?
Yes. Settings → Squeeze has tabs for JPEG, PNG, WebP, and AVIF quality and advanced options.
Bulk squeeze seems stuck on a large PNG — what should I do?
Wait for completion or a timeout message. Increase Squeeze timeout (default 60 seconds). Very large PNGs may exceed browser memory on low-end devices.
How do I fix “Request timed out”?
Go to Settings → Squeeze → Basic Settings and raise Squeeze timeout. If it still fails, resize the source image or squeeze a smaller derivative.
Is Squeeze a good ShortPixel or Imagify alternative?
Yes, if you hit a monthly credit or MB cap mid-bulk, do not want an API key, or prefer not to upload client photos to a cloud optimizer. Squeeze does not impose a per-month image quota: compression runs in your browser and results stay on your WordPress site. Free covers bulk, Direct WebP, and on-upload squeeze in Gutenberg / GenerateBlocks / Voxel; Premium adds workflow tools (comparison, Elementor, Gravity Forms), not more “credits.” You trade SaaS hands-off convenience for privacy, predictable cost, and no upload caps.
Smush or EWWW fails on my shared host (no Imagick). Will Squeeze work?
Yes. Squeeze does not need Imagick, exec(), or server binaries. It uses browser codecs (the same family as Squoosh.app) in the tab you have open. If a server-side optimizer times out, says Imagick is missing, or stalls on large PNGs, Squeeze can still compress and convert to WebP from wp-admin. Keep the browser tab open during Bulk Squeeze; raise Squeeze timeout under Basic Settings if a single huge file needs longer.
How does Squeeze compare to EWWW Image Optimizer?
Both can optimize without a third-party compression API. Squeeze focuses on client-side codecs in the browser (Squoosh-family encoders) so it still works when the host blocks Imagick/exec(), plus Direct WebP replacement on disk, pre-upload squeeze in Gutenberg, GenerateBlocks, and Voxel, and form uploads (Contact Form 7; Gravity Forms in Premium). EWWW often relies on server-side tools or paid cloud tiers. Choose Squeeze when the host is weak, you want no external compression queue, and strong WebP storage savings.
How do I compress my first image after installing?
Activate the plugin, open Media Library → any image → Squeeze on the attachment screen. For many images at once, go to Settings → Squeeze → Bulk Squeeze and run Bulk Media Library Squeeze. Enable Squeeze on upload under Basic Settings for automatic optimization on new uploads.
Does Squeeze work with FileBird?
Yes. Squeeze is compatible with the FileBird media folder plugin; bulk and attachment squeeze work with FileBird-organized libraries.
Can I use Squeeze on a staging site first?
Recommended—especially before Direct WebP conversion on an existing site. Test themes, page builders, and any hard-coded .jpg/.png URLs on staging, then enable on production.
Does bulk squeeze include WooCommerce images?
Yes, when images are normal Media Library attachments (product galleries, thumbnails registered in WordPress). Select the thumbnail sizes you want under Squeeze thumbnails in Basic Settings, including WooCommerce sizes when listed.
Is browser-side compression suitable for GDPR or membership sites?
Yes. Image bytes are not sent to Squeeze’s servers for compression—processing runs locally in the administrator’s browser (and supported front-end upload flows). This helps sites that must avoid third-party image processing services.
Does Squeeze collect usage analytics?
Only if you opt in. See the Privacy section below for what is shared, where it goes, and how to opt out.
Where is the full documentation?
https://pluginarium.com/squeeze/squeeze-documentation/
How can I help improve Squeeze?
Take a 2-minute poll about the last time image size or format got in the way of a real site. There is no pitch. Answers are used to decide what to build next. Take the poll.
How can I help translate Squeeze?
Squeeze is translated on translate.wordpress.org (WordPress Polyglots). German, Spanish, and French packs ship with the plugin; community suggestions and reviews there keep them current and unlock official language packs.
New to translating WordPress? See the Polyglots how-to.