What compressing an image actually does
Compressing an image means making its file smaller by removing data the eye will not miss. A photo straight from a phone camera is far more generous than any screen needs: it holds millions of pixels, subtle colour variations your eye cannot separate, and metadata about the camera, the location and the moment it was taken. Compression trims the parts that do not change what the picture looks like.
There are two kinds, and confusing them is where most quality loss happens. Lossy compression throws data away permanently — JPEG and WebP in lossy mode work this way, and every re-save of a JPEG discards a little more. Lossless compression rearranges the data more efficiently without discarding anything — PNG works this way, which is why a PNG never gets visibly worse no matter how many times you save it, but also why PNG photos stay so large.
Then there is a third lever people forget: resizing. Compression removes data from the same pixels; resizing removes pixels. A phone photo is often 4,000 pixels wide, while the page it ends up on shows it at 800–1,200 pixels wide — those extra pixels are pure dead weight. The order matters: resize first, then compress what remains.
How much smaller can an image get? Real numbers
The honest answer is "it depends on the photo" — but the ranges are well measured, not guesswork. Google's own WebP compression study compared the formats at matched visual quality and found lossy WebP files 25–34% smaller than JPEG, and lossless WebP 26% smaller than PNG. Netflix's engineering team, testing AVIF in 2020, found it roughly 50% smaller than JPEG at equivalent visual quality. These are averages across test sets, not promises for any single image: a busy, detailed photograph compresses less than a smooth sky, and a flat graphic compresses far more than either.
| Switch | Typical saving at the same visual quality | Source |
|---|---|---|
| JPEG → WebP (lossy) | 25–34% smaller | Google WebP compression study |
| PNG → WebP (lossless) | 26% smaller | Google WebP compression study |
| JPEG → AVIF | ~50% smaller | Netflix engineering tests, 2020 |
| Phone photo → resized + compressed | 70–90% smaller | Rule of thumb; see worked example below |
Here is what those percentages look like in practice. In our own test of the Image Compressor on this site, three real gallery photos totalling 2.97 MB compressed to 99 KB — a 97% reduction — with no visible loss at normal viewing size. That is the high end, because the photos were resized to display size as well as compressed, but it shows why the "70–90%" rule of thumb is realistic rather than optimistic: most of a phone photo's weight is pixels nobody will ever see.
Worked example: a 3 MB phone photo
A phone photo at 4,032 × 3,024 pixels might weigh 3 MB. Shown on a product page at 1,200 pixels wide, it only needs about a tenth of those pixels. Resize it to 1,200 pixels, save as JPEG at quality 80, and it typically lands around 150–250 KB — roughly a 90% saving. As WebP, often 100–180 KB. The picture on screen looks the same; the page loads in a fraction of the time.
One warning about the numbers: they assume you start from a clean original. Converting an already-compressed JPEG to WebP or AVIF still helps, but not by the full headline margin — you cannot recover detail the first compression already threw away. Always compress from the best original you have.
Pick the right format before you compress
Format choice does more work than any quality slider. The wrong format can make a file ten times larger than it needs to be, and no amount of compression fixes that. Four formats cover nearly every job:
| Format | Best for | Watch out for |
|---|---|---|
| JPEG | Photos, anywhere compatibility matters | No transparency; quality drops a little every time you re-save it |
| PNG | Logos, screenshots, anything with sharp edges or text | Huge for photos — a PNG photo can be 5–10× the size of the same JPEG |
| WebP | Photos on the web; the best all-rounder in 2026 | Some older tools and email clients still cannot display it |
| AVIF | Maximum savings on modern browsers | Slow to encode; roughly 93% browser support, so keep a JPEG fallback for anything important |
The simple rule: photos go JPEG or WebP, graphics go PNG or WebP, and AVIF is the bonus round when you control the page and can fall back to JPEG. If a photo is currently a PNG — common when someone screenshots a picture or exports from a design tool — converting it to JPEG or WebP is often the single biggest saving available. And if your photo is an iPhone HEIC file, convert it first: our HEIC to JPG guide and the HEIC to JPG Converter cover that step.
The fastest way: a free browser compressor (no install, no upload)
For most people, the fastest way to compress images is a browser tool that does the work in your tab. The one on this site, the Image Compressor, is free, needs no account, and works differently from most "free online" compressors: instead of picking a quality percentage and hoping the result is small enough, you set a target size in KB — 50 KB, 100 KB, 200 KB — and it finds the settings that hit it.
- Add your images. Drop JPG, PNG or WebP files onto the page or choose them from your device. You can compress several at once.
- Set your target size. Pick a target in KB — 100 KB is a good default for web and listings, 200 KB for email, 50 KB when a form or upload limit is strict.
- Compress and download. The tool adjusts quality automatically until each image lands at or under your target, then you download the results. The before-and-after sizes are shown for every file, so you can see exactly what you saved.
- Check the result. Open the compressed image at full size and look at the detailed areas — faces, text, fine patterns. If anything looks soft or blocky, raise the target size and run it again from the original.
The privacy point is the same one that applies to our PDF tools. Most free image compressors upload your photo to a server, process it there, and promise to delete it. This tool does the opposite: the compression runs in your browser tab, on your device, so the file never leaves your computer. That matters for photos of people, products, documents or anything you would not want sitting on a stranger's server.
The honest trade-off is the same as with any browser tool: it is limited by your device. A batch of very large photos on an older phone can be slow, and the tool works with JPG, PNG and WebP — not RAW camera files or HEIC. For those, convert first, then compress.
Quality settings that actually work
If your tool asks for a quality number instead of a target size, these are the settings that work in practice. They are rules of thumb from how the formats behave, not magic numbers — always check the result on your own image.
- JPEG photos: quality 80–85. This is the sweet spot where most photos look identical to the original while shedding most of their weight. Below 70, smooth areas like skies start to show banding and blocky patches; above 90, the file grows fast for detail nobody can see. If you only remember one number, remember 80.
- Compress once, from the original. Lossy compression is cumulative: every re-save of a JPEG throws away a little more detail. Save your edits to the original, and compress only the final export. Never compress a file, open the compressed copy, and compress it again to hit a smaller target — go back to the original each time.
- Zoom in to check, don't trust the thumbnail. Compression damage hides at small sizes. Open the result at 100% and look at faces, text and fine detail like hair or fabric. If those look clean, the image is fine at any size it will actually be viewed at.
Compressing for specific jobs
The right target depends on where the image is going. A photo that is perfect for a website may be too small for print, and one that is fine for email may be far too big for a listing form.
| Where it is going | Good target | Notes |
|---|---|---|
| Website or blog | 100–200 KB per image | Resize to the display width first; WebP when your site supports it |
| Email attachment | Under 200 KB each | Gmail caps personal-account attachments at 25 MB in total — a few uncompressed phone photos will hit that fast |
| Marketplace or listing form | 50–200 KB | Many forms reject files over a set MB limit; compress to the limit, not below it |
| Social media | 100–300 KB | Platforms re-compress everything you upload, so start from a clean, high-quality file |
| Do not compress aggressively | Print needs roughly 300 pixels per inch; a 6-inch print needs 1,800 pixels wide — resize for print, then use quality 90+ |
For a website, the size matters twice: a heavy page loads slowly for visitors, and Google's own guidance treats page speed as a ranking factor — oversized images are one of the most common causes of a slow page. For email, the limit is hard: Gmail caps personal-account attachments at 25 MB in total (Google's own support page), so a handful of straight-from-camera photos will simply not send. For social media, remember the platform will compress your upload again — uploading an already heavily compressed image means it gets compressed twice, which is when the damage becomes visible.
Five mistakes that ruin image quality
- Compressing the only copy. Keep the original. Compression throws data away permanently, and the day you need a bigger version — a print, a crop, a new listing — a compressed file cannot give it back.
- Screenshotting instead of exporting. A screenshot of a photo is a new, lower-quality image of the old one, often saved as a PNG that is far larger than the original JPEG. Export or download the actual file instead.
- Using PNG for photographs. PNG is lossless and wonderful for logos and screenshots — and terrible for photos, where it can be 5–10× the size of the same image as a JPEG. If a photo is sitting in a PNG, converting it is usually the biggest single saving available.
- Ignoring dimensions and only moving the quality slider. A 4,000-pixel image at quality 60 is still a big file and now looks worse. Resize to the display size first, then set quality — in that order.
Which method should you use?
| Your situation | Best method |
|---|---|
| One-off compression, any computer, no install | Browser compressor — Image Compressor |
| Private photos (people, products, documents) | Browser compressor or local desktop app — never an upload tool |
| You need an exact file size for a form or listing | Browser compressor with a target-KB setting |
| You already pay for Photoshop or similar | Export for Web (Legacy) or Save a Copy, JPEG quality 80, WebP when offered |
| Batch of hundreds of images for a website | A desktop batch tool or your site's image pipeline, with WebP output |
| iPhone photos that will not open elsewhere | Convert HEIC first — HEIC to JPG Converter — then compress |
For most readers, the answer is the first row: open the Image Compressor, set a target size, and be done in a minute. And if your images start life as scans or photos that need to become a document, JPG to PDF turns them into a PDF in your browser the same way.
Try it now: Image Compressor
Compress JPG, PNG and WebP photos to a target size in KB — 50 KB, 100 KB, 200 KB — free, no account, no watermark, and your photos never leave your device.
Frequently asked questions
How do I compress an image without losing quality?
Start from the original file, resize it to the size it will actually be shown at, then save it once at a sensible quality setting — around 80–85% for JPEG photos — or convert it to WebP, which Google's own study found 25–34% smaller than JPEG at the same visual quality. Avoid re-saving an already compressed JPEG over and over, because each save throws away a little more detail.
What is the best image format for small file size?
For photos on the web, WebP is the practical best choice: Google's compression study found lossy WebP 25–34% smaller than JPEG at equal quality, and lossless WebP 26% smaller than PNG. AVIF goes further — Netflix's tests found it roughly 50% smaller than JPEG — but it encodes more slowly and older browsers may not display it, so keep a JPEG fallback for anything important.
Can I compress images for free without uploading them?
Yes, if the tool processes files in your browser. Aizen Labs' Image Compressor runs entirely in your tab: you set a target size in KB and it compresses the image on your device, so the file never leaves your computer. Most free online compressors, by contrast, upload your photo to a server first.
How much can I shrink a photo before it looks bad?
A typical phone photo can usually drop 70–90% in file size with no visible difference, because phone cameras save far more pixels and quality than a screen or a listing page ever shows. In our own test, three real photos totalling 2.97 MB compressed to 99 KB — a 97% reduction — with no visible loss at normal viewing size. The exact number depends on the photo: busy, detailed images compress less than smooth ones.
Does compressing an image reduce its dimensions?
Not necessarily. Compression and resizing are two different levers. Compression removes data from the same pixels; resizing removes pixels. The biggest wins come from doing both: resize a 4,000-pixel phone photo to the 800–1,200 pixels it will actually be displayed at, then compress what remains.
Why is my compressed image still too big to email?
Gmail caps personal-account attachments at 25 MB in total, and other providers have similar limits. If one photo is still too large, resize it to a smaller width first — dimensions drive file size more than the quality slider does — then compress to a target like 200 KB. If the image must stay full-size, send a cloud-storage link instead of an attachment.
