Compress an image to an exact size
Type the size the form is asking for and get a file just under it. Works on JPG, PNG, WebP and HEIC, and the picture never leaves your computer.
Why "under 50 KB" is so hard to hit
Image editors offer a quality slider, not a size box, and the relationship between the two is different for every picture. A flat blue sky at 90% quality can be smaller than a detailed street scene at 40%, so guessing at the slider means exporting, checking, and going back — often a dozen times.
This tool does that loop for you. It encodes the image, measures the result, adjusts, and repeats until it lands just under your target — usually within a handful of attempts, all in your browser.
When quality alone cannot get there
If a photo is enormous — a 12-megapixel phone picture squeezed into 20 KB — no quality setting will reach the target, because there are simply too many pixels to describe. The tool will say so, and offer to reduce the dimensions as well, which is the only thing that actually works.
Reducing dimensions is usually the better trade anyway. A 600-pixel-wide image at decent quality looks far better than a 4000-pixel-wide one crushed until it fits.
Your image is never uploaded
Everything happens in the page using the browser’s own canvas. There is no upload, no server-side processing and no storage — there is no endpoint for your photo to be sent to. That matters when the picture is a passport page or a signature, which on a site like this it very often is.
Every common size limit
Each of these opens the same tool with the target already filled in, so if a form told you a number you can go straight to it. The last column is the rough frame a detailed photograph fits into at that size — a flatter image will do considerably better.
| Target | Usually asked for by | Photo fits about |
|---|---|---|
| 10 KB | Thumbnails and signature boxes on older exam portals | 200 × 150 |
| 15 KB | Signature uploads on government and university forms | 250 × 190 |
| 20 KB | Signatures, and ID photos on strict exam registrations | 290 × 220 |
| 25 KB | Passport-style photos on public-sector application forms | 320 × 240 |
| 30 KB | Passport photos and small document scans | 350 × 260 |
| 50 KB | The most common limit of all: ID photos and single-page scans | 450 × 340 |
| 100 KB | Job portal photos, CV attachments, multi-page scans | 640 × 480 |
| 150 KB | Profile pictures and moderately detailed scans | 790 × 590 |
| 200 KB | Marketplace listing photos and general web images | 910 × 680 |
| 240 KB | US DS-160 visa photos — 600×600 JPEG on a white background | 1,000 × 750 |
| 300 KB | Product photography and full-width page images | 1,110 × 830 |
| 500 KB | High-quality web images and email attachments | 1,440 × 1,080 |
| 1000 KB | The one-megabyte ceiling most upload forms settle on | 2,030 × 1,520 |
Same limits, as a resize
People type "resize image to 50kb" when they mean the frame, not the JPEG slider. Each of these opens the same tool with the size already set, and the copy is about width and height.
| Resize to | Photo frame about |
|---|---|
| 10 KB | 200 × 150 |
| 15 KB | 250 × 190 |
| 20 KB | 290 × 220 |
| 25 KB | 320 × 240 |
| 30 KB | 350 × 260 |
| 50 KB | 450 × 340 |
| 100 KB | 640 × 480 |
| 150 KB | 790 × 590 |
| 200 KB | 910 × 680 |
| 240 KB | 1,000 × 750 |
| 300 KB | 1,110 × 830 |
| 500 KB | 1,440 × 1,080 |
| 1000 KB | 2,030 × 1,520 |
Common questions
How do I compress an image to exactly 50 KB?
Choose the file, type 50 in the target box, and the tool searches for the highest quality that stays under 50 KB. If the image is too large in pixel terms to fit, it will offer to reduce the dimensions too.
Is my photo uploaded to a server?
No. The compression runs in your browser using the canvas API. The image never leaves your device and nothing is stored.
Will compressing to a small size ruin the picture?
It depends on how far you are asking it to go. Reducing the dimensions as well as the quality almost always looks better than quality alone, which is why the tool offers it when a target is hard to reach.
Can I compress a PNG?
Yes, but the result is a JPG. PNG is lossless, so it has no quality dial to trade against file size — hitting an exact target requires a lossy format.
What is the smallest size an image can be compressed to?
There is no hard floor, but below roughly 10 KB a photograph has to become very small in pixel terms — around 200 by 150 — before it fits. Line art and signatures go far lower because they contain much less detail to store.
Other size targets
- 50 KB in pixelsWidth and height at 20, 50, 100, 240 KB
- Compress to 10 KBPre-set to 10 KB
- Compress to 15 KBPre-set to 15 KB
- Compress to 20 KBPre-set to 20 KB
- Compress to 25 KBPre-set to 25 KB
- Compress to 30 KBPre-set to 30 KB
- Compress to 50 KBPre-set to 50 KB
- Compress to 100 KBPre-set to 100 KB
- Compress to 150 KBPre-set to 150 KB
- Compress to 200 KBPre-set to 200 KB
- Compress to 240 KBPre-set to 240 KB
- Compress to 300 KBPre-set to 300 KB
- Compress to 500 KBPre-set to 500 KB
- Compress to 1000 KBPre-set to 1000 KB
- Resize to 10 KBPre-set to 10 KB
- Resize to 15 KBPre-set to 15 KB
- Resize to 20 KBPre-set to 20 KB
- Resize to 25 KBPre-set to 25 KB
- Resize to 30 KBPre-set to 30 KB
- Resize to 50 KBPre-set to 50 KB
- Resize to 100 KBPre-set to 100 KB
- Resize to 150 KBPre-set to 150 KB
- Resize to 200 KBPre-set to 200 KB
- Resize to 240 KBPre-set to 240 KB
- Resize to 300 KBPre-set to 300 KB
- Resize to 500 KBPre-set to 500 KB
- Resize to 1000 KBPre-set to 1000 KB
- EXIF viewerCamera, date and GPS — nothing uploaded
- Remove EXIFStrip the metadata, keep the picture