To cut an image's file size without anyone noticing, you need three steps: resize it to the dimensions it will actually be shown at, save it in a modern format like WebP, and run it through an image compressor at a quality setting between 75 and 85. That's usually enough to turn a photo of several megabytes into a few hundred kilobytes, with almost no visible difference.
This guide walks you through each step, explains which format suits which job, and shows you how to do it all for free with the Pictulab image compressor. It runs in your browser, so your photos are never uploaded to a server.
Why image file size matters on your website
Images are usually the heaviest part of a web page, especially in an online store with lots of product pages. The heavier they are, the longer the page takes to load, and on mobile the delay is even more obvious.
That affects three things:
- User experience: a product page where the main photo takes ages to appear looks sloppy, and plenty of shoppers won't wait around.
- SEO: Google takes Core Web Vitals into account. One of them, LCP (Largest Contentful Paint), measures how long the largest element on screen takes to appear. Very often that element is an image. Google considers an LCP of 2.5 seconds or less to be good.
- Data usage: visitors on a mobile data plan will thank you for not making them download 5 MB just to look at a T-shirt.

The three levers for reducing image size
Almost all of your savings come from these three decisions. Apply them in this order.
1. Match the dimensions to the display size
This is the most common mistake: uploading a photo straight from your camera or phone, at 4,000 pixels wide or more, only to display it in an 800-pixel slot.
The browser downloads the full image and then scales it down. You pay for the full file size and gain nothing in sharpness.
Some general guidelines:
- Product photos with zoom: a long edge of 1,500 to 2,000 pixels is usually plenty. Check what your platform recommends too (Shopify, WooCommerce, BigCommerce and so on).
- Full-width headers and banners: around 1,920 pixels wide.
- Thumbnails, icons and in-text blog images: the width they're displayed at, or double that if you want them crisp on high-density (Retina) screens.
Halving the width and height leaves the image with a quarter of the pixels. That's why this step saves the most weight.
2. Pick the right format
Not every format is built for the same job:
| Format | When to use it | Keep in mind |
|---|---|---|
| JPEG | Photographs | Works everywhere. No transparency support. |
| PNG | Graphics, logos, screenshots with text, images with transparency | Much heavier than JPEG or WebP for photos. |
| WebP | Photos and graphics on the web, with or without transparency | Supported by all current browsers. According to Google's documentation, lossy WebP files are 25% to 34% smaller than JPEGs of comparable quality. |
| AVIF | Photos, when you want maximum savings | Compresses even more than WebP. Slower to encode, and not every app or platform accepts it yet. |
| SVG | Vector logos and icons | Not suitable for photos. |
For an online store, WebP is currently the most balanced choice: solid savings, transparency when you need it and broad compatibility. If your images are in PNG or JPEG, you can switch them to WebP with the Pictulab image converter.

3. Compress at the right quality
Lossy compression throws away information your eye barely notices. The trick is choosing the quality level:
- 75 to 85 (in JPEG or WebP) is a good starting point for product photos.
- Below 60, artifacts start to show: blocky patches, halos around edges and banding in gradients.
- Above 90, the file grows a lot and the improvement is hard to spot.
There's no magic number. A highly detailed photo, like fabric or jewelry, holds up worse under compression than a plain product on a white background. Always check the result at 100% zoom before you sign it off.
How to compress images for free with Pictulab
Pictulab's web tools are free and do all the work in your browser. Your images are never uploaded to a server, which is handy if you're working with product shots you haven't published yet.
- Open the Compress image tool and drag in your files.
- Adjust the quality. Start around 80 and compare the before and after.
- Change the format if needed with Convert image, for example from PNG to WebP.
- Download the result and upload it to your website or store.
Because the processing happens on your device, speed depends on your computer rather than your internet connection.

Extra tips for online stores
If you sell online, a few more tricks help keep your product pages light.
Use clean, even backgrounds
A white or plain background compresses far better than one with texture, noise or uneven shadows. If your photos were shot against a messy backdrop, you can remove the background and place the product on a flat color. You save file size and get a more consistent-looking catalog.
Strip the metadata
Photos from phones and cameras store EXIF data: camera model, date and sometimes GPS location. None of it is useful on the web, it takes up space, and it can reveal information you'd rather not share.
Turn on lazy loading
With the loading="lazy" attribute, images further down the page only download when the visitor scrolls near them. Many platforms already do this by default. Just don't use it on the main image at the top of the page, because it would delay your LCP.
Serve multiple sizes
With srcset, the browser picks the right version for the screen. A phone downloads an 800-pixel image and a large monitor gets a 1,600-pixel one. Most CMSs and e-commerce platforms generate these versions automatically if you upload a reasonably large image.

Common image optimization mistakes
- Compressing the same JPEG over and over. Every lossy pass degrades the image. Always keep the original and compress from that.
- Using PNG for photographs. It only makes sense if you need transparency and can't use WebP.
- Shrinking images with CSS alone. If the image is 4,000 pixels wide and you display it at 400 with CSS, visitors still download all 4,000.
- Over-compressing your hero product. The main photo on a product page deserves a bit more quality than a thumbnail.
- Forgetting blog and category images. Product pages aren't the only ones carrying extra weight.
How to check you've made a difference
Once your images are optimized, measure the result:
- PageSpeed Insights (from Google) analyzes your page and flags images that could be optimized or are oversized.
- Lighthouse, built into Chrome's developer tools, gives you a similar report right from your browser.
- The Network tab in those same developer tools shows you how much each image on the page weighs.
Focus on the pages that get the most traffic: your homepage, main category pages and the product pages for your best sellers.
Start slimming down your images today
Reducing image file size is one of the simplest, highest-impact improvements you can make to your website. Resize, switch to WebP and compress sensibly.
Pictulab's compress, convert and background removal tools are free. And if you want to create or enhance product photos with AI, every generation shows its token cost before you run it. Start free — 100 tokens on us, no card required.
You might also like:
- [ENLACE: How to take white-background product photos for your online store]
- [ENLACE: WebP vs PNG vs JPG: which image format to use on your website]
Frequently asked questions
How big should an image be for the web?
There's no official figure, but as a rule of thumb, aim to keep most product photos under about 200 KB and thumbnails considerably lighter. What matters most is that the image has the right dimensions and sensible compression.
Does compressing an image reduce its quality?
Lossy compression does discard some information, but at a quality setting between 75 and 85 the difference is rarely visible to the naked eye. Resizing to the actual display size doesn't make things look worse for the visitor either.
Is WebP or AVIF better?
AVIF usually produces smaller files, but it takes longer to encode and some platforms and apps don't support it yet. WebP has wider compatibility and is a safe bet for most online stores.
Is it safe to use an online image compressor?
It depends on the tool. With Pictulab's web tools, compression and conversion happen in your browser and your images are never uploaded to a server.
Can I compress images on my phone?
Yes. Because the tools run in the browser, you can use them on your phone without installing anything. With lots of photos or very large files, it will go faster on a computer.
Create visual content with AI for your business
Generate, edit and organize your images in one platform. Start free, no card required.
Get started free


