Image Compressor
Shrink photos without visible quality loss. Compress a whole batch, hit an exact size like 50 KB, convert to WebP and download everything as a ZIP — your images never leave your device.
At a glance
- Images are compressed inside your browser — they are never uploaded to a server.
- Accepts JPG/JPEG, PNG, WebP, AVIF, GIF (first frame) and BMP. HEIC opens only in browsers that can decode it, such as Safari.
- Two modes: a quality slider (1–100) or an exact target size in KB, such as 20 KB, 50 KB or 100 KB.
- Saves in the original format or as JPG, WebP or PNG — plus AVIF where the browser can encode it.
- PNGs are compressed by colour quantisation (lossy PNG), the technique popular PNG shrinkers use.
- Re-encoding removes EXIF metadata such as GPS location, camera model and capture time.
- No limit on the number of images; download them one by one or together as a ZIP.
- Free to use, with no sign-up and no watermark.
Step by step
How to compress an image online
- 1
Add your images
Drag and drop photos onto the box, click to browse, or paste an image with Ctrl+V (⌘+V on a Mac). Add as many as you like.
- 2
Choose how to compress
Use By quality and set the slider — 75 is a good balance — or choose To target size and enter the maximum size in KB.
- 3
Pick a format and size
Keep the original format or convert to JPG, WebP or PNG. Turn on Resize large images to cap the width and height.
- 4
Check and download
Compare before and after, then download each image, or click Download all to save every image in one ZIP file.
Features
Everything you need, nothing you don’t
Batch compression
Drop in dozens of photos at once. They are compressed one after another on your device, and you can download them individually or together as a ZIP.
Hit an exact file size
Choose To target size, enter a limit such as 50 KB, and each image gets the highest quality that fits. Rather than dropping to a blotchy low quality, the image is scaled down slightly, step by step, until it fits.
Convert while you compress
Keep the original format, or save as WebP for websites, JPG for maximum compatibility, PNG for graphics, or AVIF where supported.
Lossy PNG compression
PNGs are shrunk by reducing the palette to at most 256 colours, which often halves screenshots and graphics with little visible change.
Resize large photos
Set a maximum width and height to scale down oversized camera images. Proportions are always preserved and images are never enlarged.
Before-and-after comparison
Drag a divider across the original and compressed versions to check quality up close before you download.
Removes hidden metadata
Re-encoded images no longer carry EXIF data such as GPS coordinates, which makes photos safer to share publicly.
Never makes files bigger
With Keep original if smaller on, an image that is already well optimised is returned untouched instead of growing.
How does image compression work?
Photos from a phone or camera store far more detail than a screen can show. Lossy formats such as JPG, WebP and AVIF discard the detail your eye is least likely to notice — fine texture in busy areas, tiny colour shifts — and describe what remains more efficiently. The quality setting controls how aggressive that trade-off is.
PNG is lossless, so it has no quality setting in the same sense. For PNGs this tool reduces the number of distinct colours (colour quantisation) and then stores the result losslessly. Screenshots, logos and illustrations use relatively few colours, so they shrink dramatically with almost no visible change.
Everything is done with your browser’s built-in image encoders, so the output is a standard file that opens in any app.
JPG vs PNG vs WebP vs AVIF: which format should you use?
Rule of thumb: use WebP for anything going on a website, JPG when a form or older app insists on it, and PNG only for graphics with sharp edges, text or transparency.
| Format | Best for | Transparency | Compression |
|---|---|---|---|
| JPG / JPEG | Photos that must open everywhere — email, forms, printing | No | Lossy; the universal baseline |
| WebP | Photos and graphics on websites | Yes | Lossy or lossless; typically 25–35% smaller than JPG at similar quality |
| AVIF | Websites that want the smallest possible files | Yes | Often around half the size of JPG, but slower to encode and not supported by every app |
| PNG | Screenshots, logos, text and flat graphics | Yes | Lossless; this tool adds optional colour reduction |
How to compress an image to 100 KB, 50 KB or 20 KB
Job portals, exam applications and government forms often cap uploads at a fixed size such as 20 KB, 50 KB or 100 KB. Switch the mode to To target size, pick a preset or type your own limit, and every image is compressed to the highest quality that still fits.
Rather than dropping to a blotchy, very low quality, the tool reduces the dimensions in small steps until the image fits, and labels the result so you know. When a form also specifies pixel dimensions, turn on Resize large images and enter them first — the tool then lowers quality as far as needed before it touches those dimensions.
Most forms expect a JPG file. If the form says JPG or JPEG, set the output format to JPG so the file type matches.
Recommended quality settings
- 85–90 — near-lossless. For portfolios and images you may edit again.
- 70–80 — the sweet spot for websites and sharing; most people cannot tell it apart from the original.
- 50–65 — noticeably smaller files for thumbnails, previews and chat apps.
- Below 50 — only when size matters more than quality; blocky artefacts become visible up close.
Why compress images?
- Faster websites. Images are usually the heaviest part of a page. Smaller images improve Largest Contentful Paint (LCP), one of Google’s Core Web Vitals.
- Upload limits. Forms, marketplaces and content management systems reject files above a size limit.
- Email and chat. Gmail allows 25 MB of attachments per message, so smaller photos mean more of them per email.
- Storage. Compressing a photo library can free gigabytes on your phone or cloud drive.
Private by design
Many online compressors upload your photos to their servers. This one does not: images are decoded, compressed and saved entirely inside your browser tab, and the page never sends them anywhere. You can check it yourself — load the page, switch off Wi-Fi, and compress an image. It still works.
FAQ
Frequently asked questions
Is this image compressor really free?
Are my images uploaded to a server?
How much smaller will my images get?
Does compressing an image reduce its quality?
How do I compress a photo to exactly 50 KB, 100 KB or 20 KB?
Why did an image come back the same size?
Does it remove EXIF data and GPS location?
Can I compress iPhone HEIC photos?
Will PNG transparency be kept?
Does it work on phones?
Keep going
Related tools
Image Resizer
Resize JPG, PNG and WebP images by pixels, percentage or social media presets. Crop to fill or fit, batch resize and download a ZIP — no upload needed.
Merge PDF
Merge PDF files online for free. Combine PDFs in any order, pick exact pages from each and download one file — processed in your browser with no upload.
WebP Converter
Convert PNG, JPG, GIF and HEIC images to WebP in your browser. Lossy or lossless, transparency kept, batch ZIP download — free, private and with no upload.
HEIC to JPG Converter
Convert HEIC and HEIF photos from iPhone to JPG, PNG or WebP right in your browser. Batch convert at full resolution — free, private and with no upload.
EXIF Metadata Remover
Remove EXIF metadata from photos: GPS location, camera, date and hidden data in JPG, PNG, WebP and HEIC — with no quality loss and no upload. Free.
Image Blur Tool
Blur faces, number plates, text or the background in any photo. Blur, pixelate or black out areas, then download it full size — free, private, no upload.
Last updated Report a problem or suggest a feature