Compress images online to the exact KB
JPG, PNG, WebP, AVIF and HEIC from iPhone. Type a limit such as 100 KB and the tool finds the best quality that fits. Many images at once, ZIP download, nothing uploaded to a server.
Add images
Set compression
Compare and download
How this image compressor works
The compressor runs entirely in your browser. Your image is read on your own computer or phone and saved again with the MozJPEG, WebP, AVIF or OxiPNG encoder. No file is sent to a server, so after the first image you can go offline and keep compressing in the same format.
- Add images - drag them onto the box, choose them from your device or paste from the clipboard (Ctrl+V). There's no limit on the number of files.
- Set quality or file size - the quality slider works straight away. Switch to "File size" to type a limit such as 100 KB, or pick a preset like eBay UK or a Gmail attachment.
- Compare and download - drag the line across the preview to see the original and the result in one frame, also at 100% zoom. Download single files or everything as a ZIP.
How much smaller do images get? Our measurements
We tested the tool on files generated specifically for the test, not on client photos. Measured on 23 November 2026 in Chrome on a desktop, default settings: quality 75, same format as the original.
| Test file | Before | Quality 75 | AVIF, quality 75 | 200 KB limit |
|---|---|---|---|---|
| Still life, 12 MP JPG (4032 x 3024) | 3.7 MB | 450 KB JPG (-88%) | 200 KB (-95%) | 198 KB JPG, 3464 x 2598 px |
| Detailed landscape, 12 MP JPG | 4.1 MB | 804 KB JPG (-81%) | 627 KB (-85%) | 199 KB JPG, 2403 x 1803 px |
| Same photo from an iPhone, 12 MP HEIC | 5.0 MB | 450 KB JPG (-91%) | not measured | not measured |
| Screenshot, PNG 1920 x 1080 | 694 KB | 201 KB PNG (-71%) | 83 KB (-88%) | 167 KB PNG |
| Logo with transparency, PNG 1200 x 1200 | 581 KB | 37 KB PNG (-94%) | 18 KB (-97%) | 124 KB PNG |
| WebP photo 2000 x 1500 | 308 KB | 203 KB WebP (-34%) | 47 KB (-85%) | 149 KB WebP |
| Photo saved as PNG, 2000 x 1500 | 3.7 MB | 1.2 MB PNG (-68%) | 38 KB (-99%) | 195 KB JPG |
The tool hits a size limit by searching: it encodes the file several times and keeps the highest quality that still fits. If quality would have to drop below a sensible threshold, it reduces the dimensions instead, because a smaller sharp photo looks better than a large blurry one. Every file in the table fitted under 200 KB, and six photos with a shared 1 MB limit came to 973 KB.
How to compress an image to 50 KB, 100 KB, 200 KB or 1 MB
Switch to "File size", type the limit or tap one of the ready values. We count 1 KB as 1,000 bytes, so the file also fits upload forms that count 1 KB as 1,024 bytes. The result never goes over the limit.
Very small limits such as 50 KB or 20 KB are usually set by application forms. A 12 MP photo will only fit if it also gets smaller in pixels, and the tool does that for you. If a form also asks for minimum dimensions, the UK passport and visa presets stop at 600 x 750 px and never go below.
Sending several photos in one email? Choose "all files together". We split the shared limit by pixel count, so each photo gets similar quality. Email encodes attachments in base64, which makes them about a third larger, so the Outlook and work email presets leave headroom.
If you need exact pixel dimensions or a different crop, use our resize image online tool. Other ways to shrink a photo, including on Windows, Mac and your phone, are in our guide on how to change the size of an image.
Image size limits: Amazon, eBay, Etsy, email and GOV.UK
The presets in the tool are based on each site's own help pages, checked on 23 November 2026. Sites change their limits, so check the source before an important upload.
| Where | Limit and our preset | Source |
|---|---|---|
| Amazon UK | Longest side at least 500 px and at most 10,000 px; from 1,000 px shoppers can zoom. Amazon recommends JPEG and gives no file size limit, so we keep quality at 90. | Amazon Seller Central |
| eBay UK | Up to 12 MB per photo, at least 500 x 500 px. eBay recommends about 1600 x 1600 px, so the preset sets the longest side to 1600 px. | eBay Help |
| Etsy | Photos over 1 MB may not finish uploading. Etsy recommends at least 2000 px width and height, and at least 635 px for the first photo. Transparent PNGs show up black. | Etsy Help |
| Vinted | Up to 20 photos per item. Vinted's help page gives no file size or pixel limit, so there's no Vinted preset. Tips for better Vinted photos are in our Vinted photo guide. | Vinted Help |
| Shopify | Files under 20 MB, up to 5000 x 5000 px (25 MP). For square images Shopify recommends 2048 x 2048 px. | Shopify Help Centre |
| Google Merchant Center | No image over 16 MB or 64 MP. From 31 January 2027, at least 500 x 500 px for all products; 1500 x 1500 px or more recommended. | Google Merchant Center Help |
| Facebook and Instagram catalogue | JPEG or PNG up to 8 MB, at least 500 x 500 px, 1024 x 1024 px recommended. | Meta Business Help |
| LinkedIn company page | PNG or JPEG, 3 MB maximum. | LinkedIn Help |
| Email: Gmail | Attachments up to 25 MB in total. Above that, Gmail inserts a Google Drive link instead of the file. | Gmail Help |
| Email: Outlook.com | 20 MB per email, attachments and message included. Attachments grow by about a third when sent (base64, RFC 2045), so about 14 MB is left for images. | Microsoft Support |
| Work email (Exchange) | 10 MB per message by default. After base64 encoding, about 7 MB is left for images. | Microsoft Support |
| Email: Yahoo Mail | All attachments in one message up to 25 MB in total. | Yahoo Help |
| UK passport (digital photo) | At least 600 x 750 px and between 50 KB and 10 MB. Don't crop the photo: GOV.UK crops it for you. The preset only compresses and never goes below 600 x 750 px. | GOV.UK |
| UK visa application | A jpg or jpeg file, at least 600 x 750 px, between 50 KB and 6 MB. | GOV.UK |
JPG, PNG, WebP or AVIF: which format to choose
- JPG - photos that need to open everywhere: marketplaces, email, GOV.UK forms. We use the MozJPEG encoder, which in our tests gave files 5-26% smaller than the browser's own JPEG at the same quality.
- PNG - graphics, logos, screenshots and anything with transparency. We reduce the palette to 256 colours or fewer and optimise the file losslessly. A photo saved as PNG is better off as JPG or AVIF.
- WebP - graphics with transparency and images for websites. In our tests, photos in WebP at the same visible quality were not smaller than JPG from MozJPEG, so WebP isn't always the lighter choice. More about the format: what is WebP.
- AVIF - the smallest files. In our test, 22% to 56% lighter than JPG at comparable quality, depending on the photo. Current browsers open it, but not every shop or upload form accepts it. More in our AVIF guide.
- HEIC - iPhone photos. We read them in any browser and save them as JPG, because most websites won't accept HEIC.
What lossy and lossless compression mean, and what quality 75 actually does, is explained in our glossary: photo compression.
Privacy and EXIF metadata
Your images are not sent to any server. The only things downloaded are the encoders, from the public jsDelivr and cdnjs servers. We checked this with an automated test that inspected every request the page made: none contained image data.
Phone photos carry EXIF metadata, often including your exact GPS location. By default we remove all metadata and show you what was in the file. Rotation is kept in the pixels themselves, so nothing ends up sideways. The "Keep date and camera model" option keeps the date and camera, but GPS is always removed.
Compression can't add detail that was never in the photo. If your product images need rescuing before every upload, have a look at our packshot photography, delivered at the right size for your marketplace, and the product photography prices.