Compress Images
Make JPG, PNG and WebP files smaller, or squeeze a photo under a size like 100 KB. Your browser does the work, so your images are never uploaded.
Drop images here or browse
JPG, PNG, WebP, AVIF, GIF, BMP · as many as you like · or paste one
+ Add more images or drop them here
More options
WebP is usually smallest. JPG works everywhere.
Wider images are scaled down; the height follows.
Details can be kept in JPG files.
Why compress images?
Photos straight from a phone are 3–8 MB each: too big for many upload forms, slow on a web page and quick to fill an inbox. Compressing re-encodes them at a quality your eye can't tell from the original, which usually cuts the file by half or more. Here it happens inside your browser: the images are never sent anywhere, and you can check the result side by side with the original before you save it.
How to compress an image
- Drop your images on the box above, tap it to pick them, or paste a screenshot.
- Leave Auto on, or choose Target size (for example 100 KB) or a fixed Quality.
- Press Compress. Each image shows its old and new size; tap Compare to check it side by side.
- Save images one by one, or all at once as a ZIP. On a phone, Share sends them straight to another app.
How to compress an image to 100 KB (or any size)
Upload forms often set a limit: 100 KB for an exam or visa photo, 200 KB for a profile picture, 1 MB for an attachment. Choose Target size, tap a size or type your own, and press Compress. For each image the tool searches for the highest quality that still fits, trying qualities in halves (about eight test encodes), so you don't end up with a needlessly blurry file. If even a low quality can't get a large photo under the limit, it also scales the image down step by step and tells you the new pixel size.
Two details matter for strict forms. First, "KB" here means 1,000 bytes: a file shown as 98 KB on Windows (which counts 1,024 bytes per KB) is still under a "100 KB" limit counted either way. Second, if the form also fixes the pixel size (say 600 × 600), tick Keep the exact pixel size: only the quality is lowered then, and if the limit can't be met the result says how close it got. To change the pixel size first, use the image resizer, which has passport and social media presets.
Which mode should you use?
| Mode | What it does | Use it for |
|---|---|---|
| Auto | Finds the highest quality (80% down to 50%) that makes the file at least 30% smaller. | Everyday photos, website images, email |
| Target size | Gets every file under the size you set, with the best quality that fits. | Upload limits on forms, job and exam portals |
| Quality | Encodes every image at exactly the quality you pick. | Matching an earlier export, fine control |
Whatever the mode, a file is never made bigger: if re-encoding wouldn't shrink it (common for images that are already well compressed), you get the original back, marked "Already optimal". The exception is a smaller Max width, which is always applied because you asked for it.
JPG, PNG, WebP or AVIF: which format makes the smallest file?
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| JPG | Lossy | No | Photos that must open anywhere |
| WebP | Lossy or lossless | Yes | Websites: smaller than JPG for the same look |
| AVIF | Lossy or lossless | Yes | The smallest files, where every browser you target supports it |
| PNG | Lossless (here: reduced to ≤ 4,096 colours) | Yes | Screenshots, logos, diagrams, text |
Google's own WebP study measured lossy WebP files 25–34% smaller than JPEGs of equal visual quality, which is why WebP is the usual choice for websites. AVIF is typically smaller still, but it is slower to create and older software can't open it. Not every browser can create these formats either: Chrome, Edge and Firefox write WebP but not AVIF, while Safari writes neither WebP nor, on older systems, AVIF. The format menu only offers what your browser can actually produce. PNG stays the right choice for screenshots and graphics with sharp edges and text; here it's compressed by reducing it to at most 4,096 colours, which shrinks such images a lot with no visible change. Photos saved as PNG barely shrink, so convert them to JPG or WebP with the format menu or the image converter.
What quality setting should you choose?
- 85–95%: practically indistinguishable from the original; good for photos you'll print or edit again.
- 70–80%: the sweet spot for websites, social media and email; artefacts are hard to find even when you zoom in.
- 50–65%: thumbnails and previews; fine detail such as hair and foliage starts to soften.
- Below 50%: blocky edges and colour banding become visible on most photos.
Percentages aren't comparable between programs: browsers' encoders differ, and Safari's file at 80% is usually bigger than Chrome's. Judge the result, not the number. Compare opens the original and the compressed image on top of each other with a divider you drag; Actual size shows them pixel for pixel, where compression artefacts appear first.
Compressing removes hidden photo details (EXIF)
Phone photos carry metadata: the date and time, the camera model, and often the exact GPS location where the picture was taken. Anyone you send the original to can read it. By default every compressed image here has all of it removed, and an image that comes back unchanged is cleaned too, without re-encoding. If you're archiving your own photos and want them to stay sorted by date, choose Keep date and camera, remove location under More options; that keeps the details in JPG output while still dropping the location. Orientation is always handled for you, so sideways phone photos come out upright.
Compressing vs resizing vs cropping
Compression keeps the pixel size and stores the pixels more efficiently. Resizing reduces the number of pixels, which is the bigger lever when an image is far larger than where it's shown: a 4000-pixel photo on a page that displays it 800 pixels wide carries 25 times the pixels it needs. Set a Max width here to do both at once, use the image resizer for exact sizes, or the image cropper to cut away what you don't need first. Shrinking a PDF instead? Compress PDF applies the same idea to the images inside a document.
Why does a file come back "Already optimal"?
Because the compressed version wasn't smaller. That happens with images that were already saved at a low quality, with tiny files where the format's overhead dominates, and with photos converted to PNG. Rather than give you a bigger file, the tool returns your original in its own format. To force more savings, choose a lower Quality, a Target size, a smaller Max width, or WebP as the output format.
Frequently Asked Questions
How do I compress an image to 100 KB?
Choose Target size, tap 100 KB (or type any size) and press Compress. The tool searches for the highest quality that keeps the file under 100 KB, and if quality alone isn't enough for a large photo it also scales the image down and tells you the new size. Tick "Keep the exact pixel size" if a form fixes the dimensions too. Here 100 KB means 100,000 bytes, so the file passes limits that count 1,000 or 1,024 bytes per KB.
How can I reduce an image's file size without losing quality?
Use Auto, which picks the highest quality (80% down to 50%) that still saves at least 30%. At those settings the difference is very hard to see; open Compare and drag the divider to check for yourself. For screenshots and logos keep PNG: it's reduced to at most 4,096 colours, which shrinks them a lot with no visible change. Resizing an image that's far larger than where it's shown saves even more than compression.
Does compressing an image reduce its quality?
JPG, WebP and AVIF compression is lossy: some detail is discarded, more as the quality setting goes down. Around 70–85% the loss is practically invisible on photos; below 50% you'll see blocky edges and banding. PNG compression here only reduces the number of colours, which is rarely visible on graphics. If compression can't make a file smaller, you get the original back untouched.
Which image format gives the smallest file size?
For photos, AVIF and WebP usually beat JPG: Google's WebP study measured lossy WebP 25–34% smaller than JPEG at equal quality, and AVIF is often smaller still. JPG remains the most compatible. For screenshots, logos and text, PNG is the better choice. The format menu only lists what your browser can create: Chrome, Edge and Firefox make WebP, while Safari can't, and AVIF depends on the browser.
Why didn't my image get any smaller?
Because it was already compressed about as far as that format allows, so a re-encoded copy came out the same size or bigger. In that case you get your original back, marked "Already optimal". Photos saved as PNG also barely shrink. Choose Target size, a lower Quality, a smaller Max width, or WebP as the output format to get more savings.
Are my images uploaded to a server?
No. Everything happens in your browser tab: the images are read from your device, compressed in memory and handed back as downloads. Nothing is sent anywhere, which you can confirm in your browser's developer tools on the Network tab. Close the tab and every copy is gone.
Can I compress multiple images at once?
Yes. Drop or pick as many images as you like, or add more later; they're compressed one after another with the same settings. Save each one separately, or press Download all to get a single ZIP file. On iPhone and Android, Share sends them straight to another app.
Does compressing remove EXIF data and GPS location?
Yes, by default. Every compressed image has its EXIF details removed, including the GPS location many phones record, and an image returned unchanged is cleaned too, without re-encoding. If you want to keep the date and camera details (for example to keep your photo library sorted), choose "Keep date and camera, remove location" under More options; this works for JPG output.
What's the difference between compressing and resizing an image?
Compressing keeps the width and height and stores the pixels more efficiently. Resizing changes the number of pixels. When a photo is much bigger than where it's displayed, resizing saves the most: set a Max width here to do both, or use the image resizer for exact dimensions and presets.
How do I compress a photo on my iPhone or Android phone?
Open this page in your phone's browser, tap the box and choose photos from your library, then press Compress. iPhones usually hand the browser a JPG copy of HEIC photos. When it's done, tap Save or Share to send the smaller photos to Files, Photos, WhatsApp or Mail. Nothing leaves your phone in the process.
What does the quality percentage mean?
It's the setting passed to your browser's JPG, WebP or AVIF encoder: lower values throw away more fine detail for a smaller file. The scale isn't standard across programs (Safari's 80% is usually bigger than Chrome's 80%), so judge by the result. Auto and Target size choose it for you and show the quality they used.
Related tools
More free, private, browser-based utilities — no upload, no sign-up.