Compress Image
Compress JPG, PNG, and WEBP images to dramatically reduce file size while keeping them looking great. It's perfect for faster websites, smaller email attachments, and saving storage — and it all happens privately in your browser.
Processed in your browser. This tool runs entirely on your device. Your image is never uploaded to us.
Overview
Our smart compression targets a file size you choose and preserves perceptual quality, so most images look identical to the original at a fraction of the weight. You see the exact before-and-after sizes and the percentage saved before you download, with no watermark added at any point.
What this tool does
The compressor analyzes your image and re-encodes it to hit a target file size while protecting the detail your eyes notice most. You set a maximum size and a quality level; the tool optimizes the image and reports the precise savings, keeping the original format intact.
Problems it solves
- Large images are slowing down a website and hurting Core Web Vitals.
- An email or upload form rejects files above a size limit.
- Cloud or device storage is filling up with bulky photos.
- You need many images small enough to load instantly on mobile.
Key benefits
- Reduce file size by up to 80%
- Smart compression preserves visual quality
- See exact before/after size savings live
- No watermarks, ever
Who it's for
How to use it
- 1
Upload your image
Drag in a JPG, PNG, or WEBP file. The tool reads the original size so you can see exactly how much you save.
- 2
Set your target size
Choose a maximum file size in megabytes. The compressor aims to land at or below it while keeping the image looking clean.
- 3
Fine-tune quality
Adjust the quality slider if you want to push the file smaller or hold onto a little extra detail.
- 4
Compress and download
Run the compression, check the before/after sizes and the percentage saved, then download your lighter image.
Example input and output


Example input
A 1600 × 1000 screenshot encoded as WEBP at quality 95 — 73.4 KB.
Example output
The same image at quality 75, identical dimensions — 31.6 KB.
Dropping from quality 95 to 75 cut the file by 57% with no difference visible at normal viewing size. These are measured figures; the full quality sweep and how to reproduce it are further down this page.
What the formats actually cost: measured
One image, every format and quality setting, encoded and measured on Aug 18, 2026. The subject is a 1600 × 1000 screenshot of this site's compress image page, captured in chrome — flat colour, hard-edged text, a limited palette. WEBP does unusually well on that kind of image, so treat these as screenshot figures rather than photograph figures.
| Format | Quality | Size | vs PNG |
|---|---|---|---|
| PNGThe original capture, lossless | Lossless | 245.4 KB | — |
| WEBPLossless mode — pixel-identical to the PNG | Lossless | 144.1 KB | 41% smaller |
| JPG | 95 | 179.0 KB | 27% smaller |
| JPGThe usual recommended setting | 85 | 161.5 KB | 34% smaller |
| JPG | 75 | 127.1 KB | 48% smaller |
| JPGText edges start to blur | 60 | 94.6 KB | 61% smaller |
| WEBP | 95 | 73.4 KB | 70% smaller |
| WEBPThe usual recommended setting | 85 | 44.8 KB | 82% smaller |
| WEBP | 75 | 31.6 KB | 87% smaller |
Resizing first changes more than quality does
The same screenshot resized to each width, then encoded at quality 85. Halving the width beats any quality setting you could have chosen.
| Width | PNG | JPG q85 | WEBP q85 |
|---|---|---|---|
| 1600px | 245.4 KB | 161.5 KB | 44.8 KB |
| 1200px | 271.8 KB | 99.5 KB | 26.0 KB |
| 800px | 137.2 KB | 50.2 KB | 14.2 KB |
Resizing the screenshot to 1200px made the PNG larger than the 1600px original (271.8 KB against 245.4 KB). Downscaling blends neighbouring pixels into new intermediate colours, and PNG's compression depends on long runs of repeated colour. The lossy formats show no such effect.
How to reproduce these numbers
Every figure is stat on a real encoder output. Nothing is estimated or carried over from a vendor claim.
- sips 316 — JPG encoding (macOS built-in)
- cwebp 1.6.0 — WEBP encoding (libwebp)
- Chrome 151.0.7922.138 — Screenshot capture
JPG via sips -s format jpeg -s formatOptions <q>, WEBP via cwebp -q <q>. Same source, same encoders, same numbers.
JPG vs PNG vs WEBP
Not sure which format to pick? Here is how the three formats this tool supports stack up.
| Feature | JPG | PNG | WEBP |
|---|---|---|---|
| Compression | Lossy | Lossless | Lossy or lossless |
| Transparency | No | Yes (alpha) | Yes (alpha) |
| Animation | No | No | Yes |
| Typical file size | Small | Large | Smallest — about 25–35% under JPG |
| Best for | Photographs | Logos, graphics, screenshots | Almost anything on the web |
| Browser support | Universal | Universal | All modern browsers |
Short version: reach for WEBP on the web, PNG when you need transparency or crisp graphics, and JPG when you want a photo that opens everywhere.
Common use cases
Speed up your website
Compress hero images, thumbnails, and gallery photos to cut page weight and improve loading speed and search rankings.
Beat email attachment limits
Shrink images below common 10–25 MB caps so they send reliably without bouncing back.
Save storage space
Reduce the footprint of photo libraries on your phone, laptop, or cloud drive without deleting anything.
Optimize for mobile
Serve lighter images so visitors on slow or metered connections see your content load almost instantly.
Tips & best practices
Convert photos to WEBP before compressing
WEBP compresses photographs more efficiently than JPG or PNG, so converting first often lets you hit a smaller target size while keeping the image looking crisp.
Resize oversized images first
If an image is far larger than it will ever display, reduce its dimensions before compressing — you'll save far more than compression alone can.
Watch the before/after preview
Push the quality down until you just start to notice softness, then back off a step. That sweet spot gives the smallest file with no visible loss.
Compress Image — frequently asked questions
Sources and further reading
The claims on this page about formats, browser behaviour, and performance come from these primary sources rather than from us.
- WebP compression studyGoogle
Google's measured comparison of WEBP against JPEG across a large image corpus.
- Serve images in WebP formatweb.dev
Why switching format is usually the cheapest page-weight win available.
- Optimize Largest Contentful Paintweb.dev
Why an oversized hero image is usually the thing holding back a page's LCP score.
- Learn Imagesweb.dev
A full course on image formats, encoding, and delivery on the web.
Related tools
Related reading
JPG vs PNG vs WEBP: Which Image Format Should You Use
A plain-English breakdown of when to use JPG, PNG, or WEBP — with file sizes measured from a real encode, and the mistakes that quietly bloat your site.
Read guideCompressionHow to Compress Images Without Losing Quality
Compression is not just dragging a quality slider down. What actually shrinks file size, with measured numbers — and what turns your photos to mush.
Read guideLast reviewed and updated . Written and maintained by the Appzo Tools team.