How do I reduce a photo's size in KB without losing quality?
Every JPG and WebP compressor trades detail for bytes, so "without losing quality" really means "without losing quality you can see". Two things decide how far you can go: the quality setting and the pixel size. This tool tries quality first, from 92% down to 40%, because lower quality is invisible at first. Only when that isn't enough does it reduce the width and height, aiming for about 60–70% quality at the smaller size, which looks cleaner than a full-size photo crushed to 10%.
Use the slider under the result to compare the original and the compressed image side by side, and press Zoom in to look at eyes, hair and small text. If you can see blocky patches, choose a larger target or a higher quality.
Compress JPG, PNG or WebP: which format should I pick?
| What you have | Best choice | Measured on our test images |
|---|---|---|
| Phone or camera photo (JPG) | JPG at 70–80% | 59–75% smaller at 75% quality |
| Same photo, website or chat | WebP at 75% | 81–88% smaller, same pixel size |
| Photo saved as PNG | JPG or WebP | 89–95% smaller as JPG, 92–97% as WebP |
| Screenshot, logo, diagram (PNG) | PNG, 256 colours | 48–83% smaller, transparency kept |
| Already small grayscale PNG | Leave it | No gain; the original is kept |
PNG is lossless, so a canvas re-save barely changes its size. Choosing a colour count (256, 128, 64 or 32) turns it into a palette PNG, the same idea TinyPNG uses: sharp for flat graphics, but photos show banding. WebP keeps transparency; JPG fills transparent areas with white.
Can I compress images to an exact size like 20 KB or 100 KB?
Yes, that's what Target size does. It encodes the image several times, binary-searching the quality until the file is as close under your limit as it can get. Measured results on 12-megapixel, 2 MB phone photos:
| Target | Result size | Pixel size | Quality |
|---|---|---|---|
| 1 MB | 947–1000 KB | full 4032×3024 | 77–81% |
| 200 KB | 198–200 KB | about 1650–1950 px long side | 65–73% |
| 100 KB | 99–100 KB | about 1060–1540 px long side | 64–69% |
| 20 KB | 20 KB | about 370×490 | about 68% |
Photos with less fine detail (skies, studio shots) keep more pixels at the same size; noisy low-light photos keep fewer.
Where size limits come from
These are the limits people most often compress for. Rules change, so treat these as what applied at the time of writing and check the site you're uploading to.
Email attachments (Gmail 25 MB, Outlook 20 MB)
Gmail accepts 25 MB of attachments per email and turns anything larger into a Drive link; Outlook.com stops at 20 MB. A dozen phone photos can pass that. Target 500 KB or 1 MB per photo keeps them sharp on screen and lets 20 or more fit in one message.
Instagram posts and stories
Instagram shows feed photos at up to 1080 pixels wide and re-compresses everything you upload, so a 6 MB original gains nothing. Size the photo first with Resize Image (1080×1080 square, 1080×1350 portrait, 1080×1920 story), then compress at 85–90% quality to keep control of how it looks.
Discord (10 MB for free accounts)
At the time of writing, Discord's upload limit for users without Nitro is 10 MB per file. Most phone photos fit already; screenshots of a 4K screen saved as PNG may not. Save those as WebP or JPG and they drop to a few hundred KB.
WhatsApp compresses photos you send as photos, which is why they arrive soft. Sending as a document keeps the file as it is. If the other person is on slow data, compress to 200–500 KB first so the document arrives quickly and still looks good.
US visa photo (DS-160): JPEG up to 240 KB
The US State Department's digital photo rules for the DS-160 ask for a square JPEG of at least 600×600 and at most 1200×1200 pixels, 240 KB or smaller. Crop and size it to 600×600 with the Passport preset in Resize Image, then compress with Custom set to 230 KB for a safety margin. Check the result is still 600×600 before uploading.
Indian exam and government forms (photo under 50 KB, signature under 20 KB)
Many Indian exam and government application forms ask for a photo under 50 KB and a signature under 20 KB, often in JPG, sometimes with a minimum size too (for example 10 KB). Check the form's exact rule: pixel dimensions and a minimum file size are often given. Choose JPG, then 50 KB or 20 KB; for a minimum, use Custom with a number just under the maximum.
Job portals and application forms
Applicant tracking systems and university portals often cap profile photos and scanned certificates at 1–5 MB, sometimes 500 KB. A 200 KB or 500 KB target meets almost all of them. For scanned documents that must be one PDF, combine them with JPG to PDF.
Website speed
Large images are the usual reason a page loads slowly. For a blog or shop, limit the longest side to 1920 or 1280 pixels in the optional pixel-size setting and save as WebP at 75–80%: a 2 MB photo typically lands around 150–400 KB.
Troubleshooting
| Problem | Fix | Why it happens |
|---|---|---|
| The result is "no smaller" | Lower the quality, choose WebP, or set a target. | The file was already well compressed; the tool keeps the original rather than make it bigger. |
| Image looks blocky or blurry | Use a bigger target or 75%+ quality, and zoom in to compare. | Very small targets force low quality or fewer pixels. |
| "Couldn't get under" the target | Accept the smallest version, or crop the image first. | Some targets are too small for any useful picture. |
| PNG barely shrank | Pick 256 colours, or save as WebP or JPG. | PNG is lossless; re-saving it alone saves little. |
| Transparent background turned white | Save as WebP or keep PNG. | JPG has no transparency. |
| HEIC file rejected | Convert it with HEIC to JPG first. | Most browsers can't decode HEIC directly. |
| Browser tab crashes on a phone | Compress fewer photos at a time. | Mobile browsers give each tab limited memory. |