How to Reduce an Image's File Size
Practical ways to make image files smaller without visible quality loss, from resizing and trimming to choosing formats and quality settings.
Large image files slow down websites, fill up storage and get rejected by upload forms with size limits. Here's how to make them smaller, in order of impact.
1. Resize to the size you need
The biggest win is usually pixel dimensions. A phone photo might be 4000 pixels wide, but a website might show it 1000 pixels wide. Resizing to the displayed size, or double it for high-density screens, can cut the file size dramatically. See image dimensions for the web.
2. Trim empty space
Cutouts often have lots of empty transparent space around them. Trimming it to the subject's edges reduces pixels without losing anything visible. See trimming empty space around a cutout.
3. Choose the right format
- Photos on solid backgrounds: JPEG or lossy WebP.
- Cutouts with transparency: WebP is usually much smaller than PNG.
- Screenshots and graphics: PNG, or lossless WebP.
See PNG vs. JPEG and what is WebP?
4. Adjust quality
For lossy formats, lowering quality from 100% to around 80% often shrinks files a lot with little visible difference. Compare before and after at the size the image will be viewed.
5. Remove metadata
Photos can contain extra data such as camera details, location and thumbnails. Removing it saves a little space and protects privacy. See image metadata explained.
6. Simplify the image
Fewer details compress better. A clean background compresses better than a busy one. Noise and grain take a lot of space; light noise reduction can help. See noise reduction basics.
Check the result
After reducing size, look at the image at full size and at the size it will be used. If you see blockiness, banding or blurry edges, step back on quality.
Keep the original
Always keep the full-size original. You can make another smaller copy later, but you can't restore detail from a compressed version.