Description
Stop paying for image optimization services. This plugin converts your images to WebP format entirely on your server – no API keys, no monthly fees, no limits.
Why This Plugin?
Most image optimization plugins send your images to external servers, raising privacy concerns and subscription costs. This plugin:
- ✅ Runs entirely on your server (100% privacy)
- ✅ Zero ongoing costs (no API subscriptions)
- ✅ Unlimited conversions
- ✅ Faster processing (no external API calls)
Features
- Auto-Convert on Upload – Automatically converts JPG, PNG, and GIF to WebP
- Smart Resizing – Reduces oversized images to web-friendly dimensions (default 1920px)
- Manual Conversion Tool – Bulk convert existing images from Media Library
- EXIF Auto-Rotation – Fixes incorrectly rotated mobile photos
- Intelligent Fallback – Only replaces original if WebP is smaller
- Quality Control – Adjustable compression settings (1-100%)
Performance Benefits
- 🚀 Improves Core Web Vitals scores
- 📈 Passes Google’s “next-gen formats” audit
- 💾 Reduces storage by up to 80%
- ⚡ Faster page loads (especially mobile)
- 💰 Lower hosting and backup costs
System Requirements
- PHP 7.4 or higher
- PHP Imagick extension enabled
- WordPress 5.0 or higher
Privacy & Data
This plugin processes all images locally. Nothing is sent to external servers. Your images stay on your server.
Developer Notes
This plugin uses PHP Imagick for high-quality, fast conversions. For development or contributions, visit:
https://github.com/iamsaddamhossen/sh-webp-optimizer
Developed by Saddam Hossen
Donations
If you find this plugin useful and want to support its development, you can buy me a coffee!
Donate here: https://www.buymeacoffee.com/iamsaddamhossen
Installation
- Upload the plugin files to
/wp-content/plugins/sh-webp-optimizer - Activate the plugin through the ‘Plugins’ screen
- Go to Settings > Media to configure quality and dimensions
- Upload new images or use the bulk converter for existing images
FAQ
-
Does this require an API key?
-
No. Everything runs on your server using PHP Imagick.
-
Yes, if your host has Imagick enabled. Most quality hosts include it.
-
What if Imagick is not installed?
-
The plugin will display an admin notice with instructions for your host.
-
Can I convert existing images?
-
Yes. Each image in the Media Library gets a “Convert to WebP” button.
-
What if WebP is larger than the original?
-
The plugin keeps the original and skips conversion automatically.
-
Does this work with multisite?
-
Yes, it’s multisite compatible.
Reviews
Contributors & Developers
“Saddam Hossen WebP Optimizer” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Saddam Hossen WebP Optimizer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release
- Auto-convert on upload
- Manual bulk conversion
- Smart resizing
- EXIF auto-rotation
- Quality settings

