How to Compress Images for WordPress
WordPress does not compress images by default — it only resizes them to create thumbnail sizes. This means every unoptimised image you upload stays large. The smartest approach is to compress and convert images before uploading, so WordPress never sees the bloated versions. Pre-optimising takes 30 seconds per image and can improve your Google PageSpeed score by 20–40 points.
Quick Answer
WordPress does not compress images by default — it only resizes them to create thumbnail sizes. This means every unoptimised image you upload stays large.
Try it now — free, no signup
Your images stay on your device. Nothing is uploaded to any server.
Step-by-Step Guide
5 steps · takes under 1 minute
Convert to WebP before uploading
WordPress 5.8+ supports WebP natively. Converting JPGs and PNGs to WebP before upload gives 25–35% smaller files with no visual quality difference. Use the Convert from JPG tool to switch formats.
Resize to display dimensions
WordPress generates thumbnails but still serves the full-size original for large image blocks. Resize blog images to 1200px wide (2400px for retina) before uploading. Product images: 1000–1500px square.
Compress to 80% quality
Drop your WebP or JPG into the compressor. Target under 200 KB for blog content images, under 500 KB for hero/banner images, under 100 KB for thumbnails.
Upload the optimised files to WordPress
Upload your compressed, resized, correctly-formatted files to the Media Library. WordPress generates the required thumbnail sizes from your already-optimised originals.
Test with Google PageSpeed Insights
Run your post/page URL through PageSpeed Insights. 'Serve images in next-gen formats' and 'Properly size images' warnings should be cleared. LCP should improve noticeably.
Before vs After Compression
Typical result on a 1080×1080px product photo
100% Private — Zero Uploads
ImgToolkit runs entirely in your browser using the Canvas API. Your images are never sent to a server, never stored in the cloud, and never seen by anyone else. This makes it safe for sensitive documents, client work, medical imagery, and confidential screenshots.
Pro tip
Use 75–85% quality for web images — you get 60–80% smaller files with no visible difference at normal screen sizes.
Format & File Size Comparison
Same 1080×1080px photo processed four ways
| Format | Quality | File Size | Notes |
|---|---|---|---|
| PNG (original) | Perfect | 4.2 MB | No compression — too large for web |
| Compressed PNG | Visually identical | 1.1 MB | −74% — transparency preserved |
| JPG (85% quality) | Excellent | 310 KB | −93% · Best for photos |
| WebP (85%)BEST | Excellent | 205 KB | −95% · Recommended for web |
Based on a 1080×1080px photo. Results vary by image content and complexity.
Related Free Tools
All tools run in your browser — no account or upload needed
Frequently Asked Questions
4 questions answered
Ready to get started?
Free, instant — your files stay on your device. Always.
Compress for WordPress