Image Compressor
Last updated
Image Compressor
Compress a JPG, PNG or WebP photo to 20KB, 50KB, 100KB or 200KB — free, private, and done entirely on your device.
Everything happens on your device — your photo never leaves your phone or computer. That makes this tool ideal for job applications, exam registrations and visa forms that demand a small photo file.
Related converters
This free image compressor shrinks your photo to the exact file size you need — 20KB, 50KB, 100KB or 200KB — right in your browser. Drop in a JPG, PNG or WebP image, pick a target size, and this image compressor adjusts the quality and dimensions automatically until the file fits, with no upload, no sign-up and no watermark. It is ideal when an online form rejects your photo for being too large.
How to Compress an Image Online
Using this image compressor takes less than a minute, and you do not need any app or account. Follow these steps to reduce image size to the exact limit your form or website asks for:
- Add your photo. Click the box above or drag and drop a JPG, PNG or WebP image into it. The tool shows the file name, its current size and its dimensions, so you can confirm you picked the right picture before you start.
- Choose a target size. Pick 20KB, 50KB, 100KB or 200KB from the dropdown — choose the limit the form gave you. If you only want a lighter file with no fixed limit, select "No target (quality only)" and set the quality slider yourself.
- Click "Compress Image". The tool tests different quality levels and, if needed, slightly reduces the dimensions until the result fits your target. You will see the original size next to the new size, plus a preview of the compressed photo.
- Download the result. Click the download button to save the compressed image to your device. Check the preview once before you upload it anywhere, and keep your original photo as a backup.
Which Target Size Should You Choose?
Most people who search for a way to compress image to 50kb or compress image to 20kb are filling in an online form with a strict upload limit. The right target depends on where the photo is going:
| Target | Common use | What to expect |
|---|---|---|
| 20 KB | Strict exam and government portals, signature and ID photos | Small dimensions; best for head-and-shoulders photos |
| 50 KB | Job applications, university admissions, many online forms | The most common limit — faces stay clear and sharp |
| 100 KB | Visa applications, bank and insurance uploads | Good balance of small size and detail |
| 200 KB | Email attachments, websites, portfolios | Near-original quality at a fraction of the size |
If a portal asks you to compress image to 100kb, choose the 100KB target rather than 50KB — using the full allowance keeps more detail in the photo. And if the form also gives pixel dimensions, such as 200×230 pixels, crop the photo to those dimensions first in any photo editor, then compress it here.
How the Compression Works
When you press the button, your browser draws the photo onto an invisible canvas and re-saves it as a new file. If you set a target, the tool runs a short search: it tries several quality settings between very low and your chosen starting quality and keeps the highest quality that still fits under the target. If even the lowest quality is too big, it scales the dimensions down a little and tries again, up to six times. That is how it can compress jpeg online to a precise size without you guessing settings. Because all of this happens with the canvas built into your browser, the photo is never sent to a server — the same technology your browser uses to display images does the work.
One honest note: PNG files do not have a quality setting, so a PNG is reduced mainly by resizing. If your PNG is a photo and the form accepts JPG, converting it to JPG first will usually reach a small target much more easily. Screenshots and logos with sharp text are the main reason to stay with PNG.
Your files are converted in your own browser and are never uploaded to our servers. Questions or feedback about this converter? Contact us – we read every message. Last reviewed: .

Written & built by
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators, turning published formulas and official sources into tools anyone can check.
FAQ
Frequently asked questions
Quick answers about the Image Compressor.
Choose "50 KB" as the target size, add your photo and click Compress Image. The tool searches for the highest quality setting that produces a file of 50KB or less, and shrinks the dimensions slightly only if quality changes alone are not enough. The result is at or just under 50KB — forms set a maximum, so a file slightly below the limit is exactly what they accept.
A small reduction is barely visible. Compressing a normal phone photo to 100KB or 200KB usually looks identical on screen. At very small targets like 20KB, some softness is unavoidable because the file simply cannot hold much detail, but faces in a passport-style photo stay clear and recognisable. Always check the preview before submitting the photo anywhere important.
You can add JPG (JPEG), PNG and WebP images, and the compressed file keeps the same format. JPG is the best choice for photos and for most online forms. PNG suits screenshots and graphics with text. WebP gives small files for websites. If your photo is in HEIC format from an iPhone, convert it to JPG first, then compress it here.
Yes — that is one of the main reasons people use this tool to compress photo for online form uploads. Job, exam and visa portals commonly limit photos to 20KB, 50KB or 100KB. Pick the limit the form states, compress, download, and upload the new file. If the form also specifies pixel dimensions or a white background, prepare those first, then compress as the last step.
No. Your photo never leaves your device. The compression runs entirely in your browser using its built-in canvas tools — there is no server upload, no storage and no account. You can even disconnect from the internet after the page has loaded and the tool will still work. That makes it safe for ID photos and personal documents.
Still have a question? Email support@tuffsearch.com
Keep exploring
More free converters
Other tools and guides people use alongside this one.
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators. Each tool is based on published formulas and official sources, and is checked against worked test cases before it goes live.
- Image CompressorConvertersYou are here
- Dog Age CalculatorBiology
- Fuel Cost CalculatorDaily Life