Not everyone optimises their images before uploading, so Squash does it for you. It compresses images and PDFs on upload or in bulk, backs up every original, and shows how much storage you've saved.
We've all been there: not everyone optimises their images before uploading. A client drags in a 15MB photo straight off their phone (plus a few more for good measure) uploads it to the CMS and quietly fills up the storage.
Squash has your back. It compresses your assets for you, automatically on upload or whenever you like, shrinking JPEG, PNG, GIF, SVG and PDF files. Every original is safely stored as a backup so you can restore it in a click, and a built-in report shows off just how much you've saved.
Features
- Choose your engine: API (TinyPNG / ShortPixel / Kraken.io), native binaries (jpegoptim, pngquant, gifsicle, svgo, Ghostscript), or a zero-dependency Imagick/GD fallback
- Formats: JPEG, PNG, GIF, SVG and PDF
- Compress anywhere: automatically on upload, in bulk from the Assets index, or per-asset from its action menu
- Safe by default: backs up the original first, only writes back if it's actually smaller, and never re-compresses an already-optimised file
- One-click restore: roll any asset back to its original, which removes the backup and lets it be compressed again
- Report utility: search your assets, see your savings stats, and compress in bulk
- At a glance: see what's been compressed right in the Assets index, and the savings, date and who did it on each asset
- Permissions: control who can compress and who can restore, per user group
Standard
Plus $7/year after one year.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
0
License
Craft
Last release
June 5, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs



