---
title: "Image Compressor – Reduce Image Size in KB, No Upload"
description: "Make photos smaller in your browser, to 20 KB, 50 KB, 100 KB or any size a form asks for. JPG, PNG, WebP and HEIC. No upload, no limits, honest results."
url: https://devicetests.com/image-compressor
language: en
---

# Image compressor

Make photos smaller, to 100 KB, 50 KB or any size a form asks for.

> **Interactive tool.** This tool works on files in the browser on the user's own device. The files are never uploaded, so an AI agent can't process them for the user through this page. To use it, the user opens <https://devicetests.com/image-compressor> in a browser.
>
> **What it needs:** Photo or picture files on the user's device: JPG, PNG, WebP or HEIC. The user chooses them, picks a file size (for example under 100 KB, or between 20 and 50 KB for a form), a type and a size in pixels, and saves the smaller copies. The photos are made smaller in the user's own browser and never uploaded, so an agent can't compress a photo for the user through this page.
>
> **Cost:** Free. Nothing to install and no account.

Your photos stay on your device. They are made smaller in your browser and never uploaded.

This tool needs JavaScript to make your photos smaller in your browser. Turn on JavaScript, or open this page in a current Chrome, Edge, Firefox or Safari.

## Quick start

1. Press **Choose photos** and pick the photos to make smaller.
2. Under **File size**, pick the size your form asks for, or keep **Same look**.
3. Press **Save photo**, or **Save all as ZIP** for many.

## How to read your results

Each photo in the list shows what happened to it.

| What you see | What it means |
| - | - |
| **Ready: IMG_1234.jpg, 48.7 KB** | The photo is smaller. The new name and size are shown. Press **Save**, or save them all at once. |
| **Was 3.1 MB, now 98% smaller (48,712 bytes)** | How much smaller it got, and the exact number of bytes. Forms check this number. |
| **Made smaller to fit: 4032 × 3024 → 716 × 537 pixels** | Quality alone couldn’t reach the size, so the photo also has fewer pixels now. It looks the same on a phone screen, but smaller when printed or zoomed in. |
| **Already under 100 KB, so it was kept as it is** | The photo already fit. It wasn’t changed, so it lost no quality. |
| **See-through parts are now white** | A JPG can’t be see-through. Choose **PNG** or **WebP** under **More choices** to keep it. |
| **Still shows where it was taken** | The photo keeps its location. Choose **Remove location** to take it out. |
| **Not made smaller** | The line under it says why, and what to change. |

> **Tip:** On an iPhone or iPad, press **Save to Photos** and then **Save Image** to put the photos in the Photos app. **Save to Files** and **Save all as ZIP** put them in the Files app instead.

### Common sizes for forms

These are examples. Always check the rules on your own form.

| What | Often asked for |
| - | - |
| Photo for an exam or job form | 20 to 50 KB, JPG, for example 200 × 230 pixels or 3.5 × 4.5 cm |
| Signature | 10 to 20 KB, JPG, for example 140 × 60 pixels |
| Email attachment | Under 1 MB per photo |
| Profile picture | Under 200 KB, about 800 pixels on the longest side |

## If something’s wrong

These are the most common problems, most likely first.

### The form still says the file is too big

- Check the limit on the form, then pick **Other size** and type a little less, for example 48 instead of 50.
- Some forms count photo details too. Choose **Remove all** under **Photo details** to save a few KB.
- Make sure you uploaded the new file. It has the same name as before, so look at the size in the list.

### “Couldn’t get this photo under 20 KB”

Very small sizes need fewer pixels. Under **More choices**, turn on **Make photos smaller in pixels if needed**. If you chose **Exact size**, try fewer pixels, or ask whether the form allows a bigger file.

### The photo looks blurry or blocky

The size you chose is very small for this photo. Choose a bigger size if the form allows it. Or choose **Smaller** under **Size in pixels**: fewer pixels at a better quality often look sharper than many pixels at a low quality.

### A PNG screenshot stays big

PNG keeps every detail, so it can’t get as small as a JPG. To make it much smaller, choose **JPG** or **WebP** under **More choices**. For screenshots with text, WebP keeps text sharper.

### Saved photos aren’t in the Photos app

A download goes to the Files app (iPhone and iPad) or the Downloads folder (Android and computers). On an iPhone or iPad, press **Save to Photos**, then **Save Image**. On Android, open the Files app, then Downloads, or press **Share** and choose your gallery app.

### “Your device ran out of memory”

Large photos need a lot of memory while they are made smaller. Close other apps and browser tabs, then press **Try again**. If it still fails, use a computer.

### “This photo can’t be opened”

The file may be damaged, or only partly copied. Copy it again, then try once more. If it is a HEIC photo, the [HEIC to JPG converter](https://devicetests.com/heic-to-jpg) explains more.

## How this tool works

The tool runs in your browser. When you choose photos, it loads free picture encoders into your browser, about 1 MB to download, once: MozJPEG for JPG, libwebp for WebP, UPNG for PNG and libheif for iPhone HEIC photos. Each photo is read from your device, turned the right way up and saved again, one photo at a time. Nothing is uploaded.

With a file size, the tool tries a few quality levels and keeps the best one that fits. It usually needs 3 to 6 tries per photo. Only when even a low quality is too big does it give the photo fewer pixels, and then the list says so. Without a size (**Same look**), it saves at a quality where you can’t see a change, and keeps the original if that wouldn’t be smaller.

The colour profile is kept, so colours stay true (iPhones use the wider “Display P3” colours). A plain sRGB profile is left out, because every screen assumes it anyway. The small preview picture stored inside the photo details is left out too, because it would show the old picture.

**What it can do**

- JPG, PNG, WebP and HEIC photos, plus AVIF, GIF and BMP where your browser can open them.
- Any number of photos, of any size your device’s memory allows.
- A size limit, a smallest size, an exact size in pixels or cm, and the photo details choice.

**What it can’t do**

- Make a photo smaller than about 1 KB, or keep full quality at very small sizes.
- Keep the moving part of GIFs or Live Photos: you get one still picture.
- Make PDF files or videos smaller.

See [how we test file tools](https://devicetests.com/how-we-test#file-tools) for what they do with your files, and what they can’t do.

[How we test our tools](https://devicetests.com/how-we-test)

## Questions and answers

**What size should a photo be for an online form?**

Use the size the form gives. Exam and job forms often ask for a photo of 20 to 50 KB and a signature of 10 to 20 KB, sometimes with an exact size in pixels or cm. Pick **Other size** to type the largest and smallest size, and **More choices**, then **Exact size** for the pixels.

**What does KB mean here?**

Forms and computers count a kilobyte (KB) as 1,000 or 1,024 bytes. So that a photo passes either way, "at most 50 KB" means at most 50,000 bytes, and "at least 20 KB" means at least 20,480 bytes. Each photo shows its exact number of bytes.

Windows shows sizes in units of 1,024 bytes, so a 50,000-byte photo shows as 48.8 KB there. That's fine: it's still under 50 KB.

**Does making a photo smaller lose quality?**

A little. **Same look** keeps the change too small to see on a screen. With a file size, the tool keeps the best quality that fits. Very small sizes, such as 20 KB for a phone photo, need fewer pixels too, so the photo gets smaller on screen. The list says when that happened.

**Are my photos uploaded?**

No. The tool runs in your browser, on your device. Your photos are never sent to us or anyone else. After it has loaded, you can keep going without an internet connection.

Like most websites, this page may load ads and statistics from other companies. They never get your photos.

**Can I make a photo bigger, up to at least 20 KB?**

Yes. Pick **Other size** and type the smallest size under **At least**. The tool uses the best quality first. If the JPG is still too small, it fills the file up to the size with empty space. The picture doesn't change.

**Should I choose JPG, PNG or WebP?**

**JPG** for photos and for forms: every website accepts it. **PNG** for screenshots and drawings with sharp text. **WebP** makes the smallest files and can be see-through, but some older forms don't accept it. **Same type** keeps each photo's own type, and turns iPhone HEIC photos into JPG.

**Can I make many photos smaller at once?**

Yes. Choose many at once. They are made smaller one after the other, which keeps memory use down. Save them all as one ZIP file, or one by one.

**Why did my photo turn sideways on some websites before?**

Phones often store photos on their side, with a note saying which way is up. Some websites ignore that note. This tool turns the picture itself upright, so it shows the right way everywhere.

## Related tests

- [HEIC to JPG converter](https://devicetests.com/heic-to-jpg): Turn iPhone HEIC photos into JPG on your own device.
- [EXIF viewer](https://devicetests.com/exif-viewer): See and remove the hidden details in your photos, such as location.
- [Webcam test](https://devicetests.com/webcam-test): Check that your camera works and see its picture.
- [Image resizer](https://devicetests.com/image-resizer): Resize and crop photos in pixels or percent, or to passport and social media sizes.
- [Image converter](https://devicetests.com/image-converter): Turn any picture into JPG, PNG, WebP, AVIF or an ICO icon on your own device.
