How to Reduce Image File Size Without Ruining Quality
To reduce image file size, you do not need special software. Five simple steps, done in the right order, can shrink most images a lot while keeping them sharp enough for the web.
Use our free Compress Image tool to do this in just a few clicks. It runs in your browser, so your files stay private.
Key takeaways
- Resize the image to the size it is actually shown at.
- Choose the right format for the type of image.
- Compress at 75 to 85% quality, and convert to WebP for websites.
- Always compare the before and after sizes.
Why file size matters
Large images slow down pages, use mobile data, fill storage and break email attachment limits. A page that loads faster is easier to use and tends to perform better in search results. Images are often the biggest part of a page, so they are the best place to start.
Illustration of a typical saving. Real results depend on the image and the quality you choose.
1. Resize first
A 4000 pixel photo shown 800 pixels wide wastes most of its bytes. Scale the image down to the size it is displayed at, or up to about twice that for sharp screens, using the Resize Image tool.
2. Choose the right format
| Image type | Best format |
|---|---|
| Photos | JPG or WebP |
| Logos, icons and screenshots | PNG or lossless WebP |
| Images with transparency | PNG or WebP |
| Images for websites | WebP for the smallest files |
3. Compress with the right quality
At 75 to 85% quality most photos look the same to the eye but are much smaller. Use Compress Image to set the quality and see the real saving for each file.
4. Convert to WebP
For websites, JPG to WebP or PNG to WebP usually give the biggest saving. Read what WebP is to see how it compares.
5. Check the result
Compare the original and the new size, and look at the image at the size it will be shown. If you see blocky areas or blurry text, raise the quality a little.
Tip: avoid compressing the same file repeatedly, because quality drops each time. Work from the original.
A simple workflow
- Resize to the display size.
- Convert photos to WebP at about 80%.
- Check the sizes and a few images by eye.
- Upload the WebP files and keep the originals safe.
Practical size targets
| Image use | Reasonable target |
|---|---|
| Blog or article photo | Under about 200 KB |
| Large hero or banner image | Under about 400 KB |
| Thumbnail | Under about 50 KB |
| Email attachment photos | Under 1 MB each |
These are rules of thumb rather than limits. A detailed image may need more, and a simple graphic much less.
Optimizing images in WordPress
Optimize before you upload. WordPress creates several smaller copies of every image, so starting with a lean file keeps all of them lean. Resize to your content width, convert photos to WebP, and upload the result. WordPress adds lazy loading to images by default, which delays offscreen images until the visitor scrolls.
Other ways to speed up images
- Serve images at the size they are displayed.
- Lazy-load images below the fold.
- Give images width and height so the page does not jump while loading.
- Remove images that do not add value.
What reduces size the most
| Action | Effect on file size |
|---|---|
| Resize to the display size | Often the biggest saving |
| Convert photos from PNG to JPG or WebP | Very large saving |
| Lower the quality a little | Moderate saving |
| Remove unneeded metadata | Small saving |
Common cases
- Product photos: resize to your shop width, then convert to WebP.
- Screenshots: keep PNG for small ones, WebP for large ones.
- Banners: use WebP at about 70 to 80% quality.
- Profile pictures: crop to a square first, then resize small.
Why PNG files are so big
PNG is lossless, so it stores every pixel exactly. For flat graphics that is cheap, but for photos it is very expensive. If a photo is saved as PNG, converting it to JPG or WebP can shrink it dramatically with no visible change. See WebP vs PNG for details.
How to measure your success
Write down the size before and after, and look at the picture at the size visitors will see. A saving is only a win if the image still looks right. Our tools show the real size of each result, so you can compare without guessing. For the compression side, read how to compress images without losing quality.
Why it matters on mobile
A page that feels fast on a fast office connection can feel slow on a phone. Every extra megabyte is time and data for a mobile visitor. Lighter images are one of the most dependable ways to make a site feel faster.
Example workflow for a blog post
- Pick the photos you need and discard the rest.
- Resize each one to your content width.
- Convert to WebP at about 80%.
- Compare the sizes and check the images visually.
- Upload with descriptive file names and alt text.
Myths to ignore
- A smaller file always means worse quality. Not if you resize and choose the format well.
- Only large sites need optimized images. Every site benefits.
- You should compress as hard as possible. Aim for good enough, not smallest.
Frequently Asked Questions
How much can I reduce an image?
It depends on the image. Large photos often shrink a lot, while small graphics may already be efficient.
Does resizing or compressing help more?
Resizing usually helps most when the image is much larger than it needs to be.
Will reducing file size hurt quality?
A little, but at moderate settings the change is hard to see.
Is it safe to use online tools?
AllWebP tools run in your browser, so your images are not uploaded.
Keep reading
How to resize an image without losing quality: scale down not up, keep the aspect ratio, use common sizes and compress afterwards.
WebP vs JPG: Which Image Format Is Better?WebP vs JPG compared: file size, quality, transparency, compatibility and when to use each. Learn which format is better for your images.
What Is WebP? A Plain-English Guide to the WebP Image FormatWhat is WebP? Learn what the WebP image format is, how it compares with JPG and PNG, where it works and when to convert it. A simple guide.