← Back to the image converter

How to shrink image files without visible quality loss

Three settings decide how big an image file is: how many pixels it has, how hard it's compressed, and which format it's saved in. Pull them in that order. The first one usually saves the most and costs the least.

1. Reduce the pixel count first

File size follows the number of pixels, and pixels grow with the square of the dimensions. A 6000 × 4000 camera photo has 24 million pixels. Resized so its longest side is 2000 pixels, it becomes 2000 × 1333, about 2.7 million pixels, roughly a ninth of the original. Halving both dimensions alone cuts the pixel count to a quarter.

Pick the longest side from where the image will be shown, not from what the camera produced. Check the size your marketplace recommends for zoom views, or the widest your store theme displays, and resize to that. Don't go below it, and don't enlarge small images to reach it.

2. Lower the quality setting a little

JPEG and WebP have a quality setting from 0 to 100. The top of the range produces large files for almost no visible gain. Somewhere around 75 to 85 is where many photos shrink a lot while still looking the same at normal viewing size. Lower settings eventually show blockiness and smeared detail, first in smooth gradients like skies and plain backgrounds.

The right number depends on the photo, so compare. Convert one image at two settings, open both at 100% zoom, and keep the lower setting if you can't tell them apart.

3. Choose the format that fits the image

A photo saved as PNG is usually far larger than the same photo as JPEG, because PNG keeps every pixel exactly. If your product photos are PNGs, converting them to JPEG or WebP is often the single biggest saving. Keep PNG for logos, text, and transparency. See JPEG, PNG, or WebP for product photos? for when to use which.

Mistakes that make files bigger or worse

A note on metadata

Camera files carry EXIF metadata such as the camera model, capture time, and sometimes GPS coordinates. It takes up little space, but it can reveal where a photo was taken. Re-encoding an image in the browser, as the bulk image converter does, writes only the pixels, so that metadata isn't carried into the new file.