Image Compressor: Compress JPG, PNG and WebP

Shrink JPG, PNG and WebP images by quality or to a target size in KB, resize them, and download a ZIP, with nothing uploaded.

Image compressor

Drop images here or click to choose JPG, PNG, WebP, GIF, BMP and AVIF. Up to 50 at once, 40 MB each.
Compress by

Runs in your browser. Images are compressed on your device and never uploaded. Re-saving also removes hidden photo data such as camera details and GPS location.

In short

Drop up to 50 images into the compressor, choose Quality (70 to 80 works for most photos) or a target size in KB, and optionally cap the width or height. JPG and WebP files are re-encoded at that quality, PNGs are reduced to 256 or fewer colors while keeping transparency, and you download each file or a ZIP. Everything runs in your browser.

On this page
  1. How to compress images
  2. What the compressor does to each format
  3. Quality or target size: which to choose
  4. Recommended sizes for stores and marketplaces in 2026
  5. Worked examples
  6. Why image size matters for a store
  7. What hidden photo data is removed
  8. How much compression is too much
  9. A simple image workflow for product pages
  10. Troubleshooting

Product photos straight from a phone or camera are often 3 to 8 MB each. Put a dozen of them on a collection page and the page crawls on mobile data, which costs sales and hurts the page speed signals Google measures. Compressing images before you upload them is one of the simplest speed fixes an online store can make.

This compressor works in your browser. You can shrink a whole product shoot at once, see the before and after side by side, and download everything as a ZIP. Nothing is uploaded, and re-saving the image also drops hidden photo data such as the camera model and GPS location.

How to compress images

  1. Drop your images into the box, or click it to choose files. JPG, PNG, WebP, GIF, BMP and AVIF are accepted, up to 50 files and 40 MB each.
  2. Choose Save as: Same format, JPG, WebP (usually the smallest) or PNG.
  3. Choose how to compress. Quality uses the slider (10 to 95, default 75). Target size finds the highest quality that fits under the number of KB you enter.
  4. Optional: pick a Max width or height (3000, 2048, 1600, 1200, 1080 or 800 px) to resize large photos at the same time.
  5. For PNGs, choose PNG colors: 256 colors (the default), 128, 64 or 32, or Lossless to re-save without reducing colors.
  6. Watch the list: each row shows the original size, new size, percentage saved, dimensions and format. Click a row to compare it with the original using the slider.
  7. Click Download on a row, or Download all (ZIP). Compressed files end in -min, for example linen-throw-min.jpg.

Change any setting and the whole batch is compressed again automatically, so you can try 70 and 80 quality in a few seconds and keep the one you like.

What the compressor does to each format

FormatHow it is compressedBest for
JPGRe-encoded at your quality setting. Transparent areas are filled with white.Photos of products, people and places
WebPRe-encoded at your quality setting. Keeps transparency.Website images where every KB counts. Supported by all current browsers and by Shopify.
PNGColors are reduced to a palette of 256 or fewer (the palette method popular PNG shrinkers use) and the file is re-saved. Transparency is kept.Logos, icons, screenshots and product cutouts on transparent backgrounds
GIF, BMP, AVIFIn Same format mode, GIF is saved as PNG, and BMP and AVIF as JPG. Pick a format to override this.Converting older or unusual files for upload

Note: Animated GIFs are saved as a still image of the first frame. To shrink an animation, use our video to GIF converter with a smaller width and fewer colors.

The tool never hands you a bigger file of the same type and size. If a photo is already well optimized and re-saving would make it larger, the row says "Already optimized, original kept" and the download is your original file.

Quality or target size: which to choose

Quality is the right choice for most batches. Between 70 and 80, compression artifacts are hard to see on most photos, and the file is usually a fraction of a camera original. Use 85 to 90 for hero banners and images with fine text or texture, such as fabric close-ups.

Target size is for upload forms with a hard limit, such as "under 200 KB" for a marketplace, a job application portal or an email builder. For each image, the tool tries quality levels in a binary search (7 steps between 10 and 95) and keeps the highest one that fits. If even quality 10 is too big, it shrinks the image by 20% and tries again, up to 8 times. If it still cannot fit, the row says "Could not reach the target size" so you know to lower the dimensions yourself.

  • Shopify: product images can be up to 5000 x 5000 px (25 megapixels) and must be under 20 MB. Shopify says 2048 x 2048 px usually displays best for square product images. Choose Max 2048 px and quality 80 for a good balance.
  • Etsy: Etsy recommends listing photos at least 2000 px wide and high, and notes that files over 1 MB may have upload issues on slower connections. Try target size 900 KB with Max 3000 px.
  • Amazon: images need at least 1,000 px on the longest side for zoom, and the main image needs a pure white background. Keep 2000 px or more and use JPG at quality 85.
  • Your own site and blog: content images rarely need more than 1600 px wide. WebP at quality 75 is a strong default.

Google's Core Web Vitals treat a Largest Contentful Paint of 2.5 seconds or less as good, and on most product pages the largest element is the main photo. Smaller images are one of the most direct ways to bring that number down.

Worked examples

An iPhone product shoot for Shopify

An iPhone photo is 4032 x 3024 px, about 12.2 megapixels. With Max width or height set to 2048 px, it becomes 2048 x 1536, about 3.1 megapixels, a quarter of the pixels, before quality is even applied. Add quality 80 and the result is typically a small fraction of the original file. Do all 40 photos from the shoot at once and download one ZIP.

A logo PNG with a transparent background

Keep Save as on Same format and PNG colors at 256. Logos use few colors, so the palette reduction is invisible, the transparency survives, and the file often drops by more than half. If the edges look rough, switch to Lossless.

A 200 KB limit on a supplier portal

Choose Target size, enter 200 and choose JPG. Each row shows the quality it settled on, for example q62. If a row says it could not reach the target, pick Max 1600 px and it will fit easily.

Why image size matters for a store

Every image on a page has to be downloaded before the shopper sees it. Picture a collection page with 12 product photos straight from a phone at about 3 MB each: that is roughly 36 MB to load, which takes a long time on a mobile connection and eats into the shopper's data plan. The same 12 photos compressed to around 250 KB each come to about 3 MB, a twelfth of the weight, and the grid appears far sooner.

Store platforms help, but they do not fix everything. Shopify resizes and serves images in modern formats to browsers, yet the original you upload still matters for theme sections, apps, feeds and email that pull the full file. Marketplaces and email builders often use the file as you uploaded it. Starting from a sensible size is the dependable fix.

What hidden photo data is removed

Phone and camera photos carry EXIF metadata: the camera or phone model, lens settings, the date and time, and often the GPS coordinates of where the photo was taken. If you photograph products at home, that location can travel with the file. Because the compressor redraws each image and saves a new file, none of that metadata is copied into the compressed version. The one exception is a file the tool keeps unchanged because re-saving would not make it smaller; it is marked as kept, and you can force a new file by choosing a different format or a max size.

One side effect: the orientation flag is not copied either. Modern browsers apply the orientation when they draw the image, so the compressed file is saved the right way up.

How much compression is too much

Lossy formats throw away detail the eye is least likely to notice, and at some point it starts to show. Use the comparison slider and look for three things:

  • Blocking: faint 8 x 8 pixel squares in smooth areas such as skies, walls and studio backdrops.
  • Ringing: halos or speckles along sharp edges and around text.
  • Banding: visible steps in soft gradients and shadows, common in PNGs reduced to too few colors.

Check at the size the image will actually be shown. A photo that shows faint blocking when zoomed to 200% can look perfect at the 600 px width of a product grid. If you see artifacts at display size, raise quality by 5 to 10 points or reduce the dimensions a little instead, since a smaller image at higher quality often looks better than a big one at low quality.

A simple image workflow for product pages

  1. Shoot or collect the photos and pick the best ones. Convert any iPhone HEIC files first.
  2. Crop them to one shape for the whole catalog, usually square, so collection grids line up.
  3. Compress them here with Max 2048 px and quality 80, or WebP at 75 for your own site.
  4. Rename files to describe the product, for example oak-serving-tray-large.jpg, before uploading. Descriptive names help you and image search.
  5. Upload them and write short, specific alt text such as "Large oak serving tray with brass handles".
  6. Run a page through our website SEO checker to catch pages that are still slow or missing alt text.

Do the same for banners, blog images and collection headers. Theme banners are often the heaviest images on a store because they are displayed full width, so they benefit most. For banners, try WebP at quality 75 with Max 2048 px, then compare against the original with the slider before you replace the file in your theme editor.

Troubleshooting

A file was skipped

Files over 40 MB, files that are not images, and anything after the 50th file are skipped, and a message says how many. Split big batches in two.

My HEIC photos do not load

Most browsers other than Safari cannot open HEIC. Convert them first with our HEIC to JPG converter, then compress the JPGs here.

The PNG has color bands

Photos saved as PNG have too many colors for a small palette. Save them as JPG or WebP instead, or set PNG colors to Lossless.

Transparent areas turned white

JPG does not support transparency, so transparent pixels are filled with white. Choose PNG or WebP to keep them transparent. This is also how to get a clean white background for a cutout on marketplaces that require one: save the transparent PNG as JPG here.

The compressed photo looks soft

Raise the quality to 85 or 90, or remove the Max width setting if the image is displayed large. Use the comparison slider to check detail at the edges and in text.

Need exact dimensions rather than smaller files? Use the image resizer for fixed sizes and the image converter to switch formats. If you import products from suppliers, AM Jarvis Product Importer brings every product image into your store with the listing, and this tool is a quick way to slim down any photos you add yourself.

Frequently asked questions

Are my images uploaded when I compress them?

No. The images are decoded, resized and re-encoded in your browser with the canvas API and, for PNGs, a small open source library. They never leave your device, so product photos for unreleased items and client images stay private.

What quality setting should I use for product photos?

Start at 75 to 80. At that level most people cannot see a difference from the original on a phone or laptop, and files shrink a lot. Use 85 to 90 for large banners, close-ups of fabric or texture, and images with small text.

How do I compress an image to 100 KB?

Click Target size, enter 100, and choose JPG or WebP. The tool finds the highest quality that fits under 100 KB and shrinks the image if it has to. For large photos, also set Max width or height to 1200 or 1080 px for a sharper result at that size.

Does compressing a PNG keep the transparent background?

Yes. PNG compression here reduces the number of colors to a palette while keeping the transparency channel, so logos and cutouts stay transparent. Saving as WebP also keeps transparency. Only JPG fills transparent areas with white.

Is WebP better than JPG for my store?

WebP is usually smaller than JPG at the same visual quality, supports transparency, and works in all current browsers and on Shopify. Use JPG when a marketplace, email tool or client specifically asks for it, or when you need the widest compatibility.

Does compressing remove GPS and camera data?

Yes. The image is redrawn and saved as a new file, so metadata such as GPS location, camera model and capture time is not copied. If a file is kept as the original because it was already optimized, its metadata stays, and the row marks it as kept.

Can I compress many images at once?

Yes, up to 50 images per batch, each up to 40 MB. They are processed one after another, and the summary shows total size before and after. Click Download all to get one ZIP with every compressed file.