Compress Image to KB

Reduce image size in KB to an exact figure — 20KB, 50KB, 100KB, 200KB or any range. Add up to 20 images at once, with per‑file targets and pixel sizing.

Your images never leave this device. Compression runs in your browser — nothing is uploaded to any server, and nothing is stored. Works offline once the page has loaded.

Drop images here, tap to browse, or paste from clipboard
JPG, PNG, WebP · up to 20 files · max 25 MB each

60% 100% 92%
(crop to fit)
Common uploads:

These are starting points, not official limits. Every portal sets its own range and they change between cycles — read the limit in your own form or notification and type that number above.

Hitting an exact size like 50 KB

Upload portals rarely say "make it smaller". They say between 20 KB and 50 KB, and reject anything outside that. Guessing your way there with a generic compressor means exporting, checking the file size, adjusting, and trying again.

This tool works backwards from the number instead. It runs a binary search across JPEG quality levels to find the highest quality that still fits under your target, and if quality alone cannot get there it reduces the pixel dimensions too. You get the largest, sharpest file that still satisfies the limit — not an arbitrary small one.

The important part is what happens when the target is genuinely impossible. Many compressors quietly hand back whatever they managed, you upload it, and the portal rejects it. This one shows the size it actually reached and says so plainly, so you find out here rather than on the form.

Resize image to exact pixels and KB

Many exam forms specify both a KB range and exact pixel dimensions (e.g., 200×230 for passport). Use the pixel controls above to set max or exact dimensions. The tool resizes first, then compresses to the KB target. If "Exact dimensions" is checked, the image is cropped or letterboxed to exactly that size while keeping the subject centred.

Document presets now include pixel hints — clicking "Passport photo" sets 50 KB, 200×230 px, and "Signature scan" sets 20 KB, 140×60 px. Always verify against your official notification.

Compress photo and signature together

When a form asks for both a photograph and a signature, they usually have different KB limits. Use the per‑file target override — after adding files, each row shows a small target input where you can set a different KB for that image. The global target acts as the default; override only where needed.

How to compress a JPEG to 50KB

  1. Drop the photo into the box above, or tap it to pick a file.
  2. Click the 50 KB preset, or type any number in the target box.
  3. Press Compress and check the size shown in the result.
  4. Download. The file is named for the size it hit, so you can keep several versions apart.

The same steps work for 20 KB, 100 KB, 200 KB or anything custom. If the result carries a warning that the target was missed, crop the empty space around the subject and try again — a tighter crop compresses much better than a heavily compressed wide shot.

Reduce image size in KB online, without extra software

An online image compressor saves you installing anything. There is no Photoshop licence to buy, no app to sideload on a phone, and nothing to learn — you set a number and the file comes back at that number.

The usual worry is compressing image size in KB without losing quality. Strictly speaking that is not possible; JPEG shrinks a file by discarding detail, so something always goes. What is possible is losing as little as the target allows, which is what the quality search here is for — it stops at the highest quality that still fits rather than flattening the image to be safe. At 100 KB or above most photographs are indistinguishable from the original at normal viewing size. Below about 15 KB the loss becomes obvious whatever tool you use.

Compress image to 20KB, 50KB, 100KB, 200KB, 500KB

Whether you search for it as compress image to 20kb or simply image 20kb, image 50kb, image 100kb, image 200kb or image 500kb, these five figures cover almost every upload limit you will meet, and each behaves differently. Pick the preset or type your own number — the tool works backwards from it either way, and every option below works online with nothing installed.

TargetWhat it suitsWhat to expect
Compress image to 20KBSignature scans, the tightest exam-form limitsFine for a signature. A colour photograph will show artifacts — crop tight first
Compress image to 50KBPassport-style photographs on most portalsComfortable for a head-and-shoulders shot on a plain background
Compress image to 100KBDocument scans, ID copiesText stays readable at normal zoom
Compress image to 200KBCertificates, mark sheets, multi-page scansNear-original quality on most images
Compress image to 500KBEmail attachments, general web useVisually identical to the original in almost all cases

The same targets apply whether the file is a JPG or a PNG — a JPG 100kb target behaves the same as any other. Going the other way, if you need an image compressor from KB to MB you are usually looking for the opposite tool, since these limits are ceilings rather than floors. If you need to compress image to 100KB without losing quality that you can see, 100KB and above is usually where the loss stops being noticeable — below that, reduce the pixel dimensions first and the same target stretches much further.

PNG size reducer, and reducing a photo to 20KB

PNG behaves differently from JPEG, and it is worth knowing why before you use this as a PNG size reducer. PNG is lossless, so it has no quality dial to turn — the only lever is the number of pixels. That is why a PNG converted to JPEG at the same target usually looks better: JPEG can shed detail gradually, PNG can only get smaller by getting coarser.

For that reason the output here is JPEG by default, which is also what nearly every government portal asks for. If you specifically need PNG out — a PNG size reducer to 50KB, 100KB or 200KB — choose it in the format control and expect the file to be larger at the same visual quality. WebP is available too, and compressing a WebP image works exactly the same way.

How to reduce photo size to 20KB and keep it usable comes down to order: crop the background out, bring the width down to around 400–600 pixels, and only then set the target. Compressing a full-resolution photo straight to 20KB asks the encoder to describe millions of pixels with almost no data, and it shows. The same logic applies if you want to resize image to 200KB or any other figure: fewer pixels means each surviving one keeps more detail.

छोटा करने का तरीक़ा — photo ka size kaise kam kare

Photo ka size kaise kam kare mobile se — अगर आप मोबाइल से form भर रहे हैं, तो तरीक़ा वही है: photo चुनिए, ऊपर KB में target डालिए, और Compress दबाइए. फ़ाइल आपके फ़ोन में ही compress होती है — कहीं upload नहीं होती, इसलिए आपकी photo, signature या Aadhaar copy आपके device से बाहर नहीं जाती.

Keeping it looking decent

Why the output is always JPG (unless you choose otherwise)

PNG is lossless. It has no quality setting to turn down, so it cannot be tuned toward a KB figure — the only lever is reducing the number of pixels, which quickly makes a photo unusable. JPEG has a continuous quality dial, which is exactly what targeting a size requires.

It is also what portals want. Government and university upload forms almost always specify JPG or JPEG, and several reject PNG outright. If your source is a PNG with transparent areas, those areas are filled with white before compression, which is what an ID photograph or a scanned signature needs anyway.

You can now choose WebP for even better compression — typically 25‑35% smaller than JPG at the same quality. All modern browsers support it. The quality slider works the same way.

Government forms and exam applications

Most of the traffic to a tool like this comes from someone part-way through an application form that has just refused their photograph. The requirement is usually a KB range plus pixel dimensions, and sometimes a background colour rule.

If you need to resize a photo for an online form — a UPSC or SSC application, a university admission portal, a passport or visa appointment, a job application — the requirement is usually a KB range plus pixel dimensions, and sometimes a background colour rule.

Get the numbers from the official notification for your own exam. Specifications differ between commissions and are revised between cycles, and the coaching sites and tool sites that publish them frequently disagree with each other — we have seen the same exam listed with two different pixel dimensions on two different pages. The authority's own PDF is the only version that counts. Check upsconline.gov.in, ssc.gov.in, ibps.in or your state commission's site.

Once you have the range, put the upper figure into the target box. If the form also specifies pixel dimensions, set those first with the signature resizer or the passport photo maker, then come back here for the KB target. Doing it in that order matters — resizing after compressing undoes the compression.

One more thing worth checking in the notification: several commissions have moved to capturing a live photograph inside the application portal instead of accepting an uploaded passport photo, which changes what you actually need to prepare. The signature is still uploaded as a file.

Compressing several images at once

Application forms rarely ask for one file. There is a photograph and a signature, often a category certificate and a mark sheet as well, and each has its own size limit. Drop them all in together, set the target, and press Compress once — up to twenty files in a batch.

Each image gets its own row showing the size it reached and whether the target was met, with a Download button beside it. When more than one has finished, a Download all as ZIP button appears. If the files need different limits, use the per‑file target override in each row.

Nothing is uploaded anywhere

This is worth being specific about, because it is unusual. Most online compressors send your file to their server, process it there, and delete it after some period — a half hour, a day. That is a reasonable engineering choice, and for a holiday snapshot it does not matter.

It matters here. The images people compress for forms are passport photographs, signature scans, Aadhaar and PAN copies, mark sheets. Those are identity documents, and sending them to a third-party server means trusting a company you have never heard of with exactly the material used to impersonate someone.

This tool never transmits them. Compression happens in your own browser through the Canvas API, the file stays in memory on your device, and closing the tab discards it. You can verify this yourself: load the page, disconnect from the internet, and compress an image — it still works, because there is nothing to send.

Frequently Asked Questions

How do I compress a JPEG to 50KB?

Upload the image, click the 50 KB preset or type 50 in the target box, and press Compress. The tool searches for the highest JPEG quality that still lands under 50 KB, and if quality alone is not enough it reduces the pixel dimensions as well. The result shows the exact size achieved so you can confirm before downloading.

How to compress image size in KB without losing quality?

Some quality loss is unavoidable when a file has to shrink, because JPEG compression works by discarding detail. What you can control is how much. Set the largest KB value your form actually accepts rather than the smallest, crop away empty background before compressing, and avoid compressing an image that has already been compressed several times. For a 3.5 x 4.5 cm passport photo, anything above about 40 KB usually looks clean.

What if the image cannot reach the target size?

The tool tells you. If the smallest quality at the smallest sensible dimensions is still above your target, it shows a clear warning with the size it actually managed, instead of silently handing you a file that will be rejected. In that case reduce the pixel dimensions first with the image resizer, then compress again.

Does the output stay a PNG?

No. The output is always JPEG, and this is deliberate. PNG is lossless, so it has no quality dial to turn and cannot be tuned to hit a specific KB figure. JPEG is also what almost every government and university portal asks for. If your PNG has transparent areas, those are filled with white before compression, which matches what an ID photo or signature scan needs.

How do I compress an image to 20KB for a form?

Use the 20 KB preset. Very small targets like this are usually meant for signature scans rather than photographs, and a signature compresses well because it is mostly white space. A detailed colour photograph at 20 KB will show visible artifacts, so if the form allows more, use more.

How do I reduce image size in KB?

Add the file, type the number of kilobytes you need, and press Compress. The tool works backwards from that figure rather than applying a fixed compression level, so a 2 MB photo and a 300 KB photo both come out at the size you asked for. There is nothing to install and no account to create.

Is there an image compressor for 20KB or 50KB specifically?

This is that compressor — the 20 KB and 50 KB presets are one click, and any other figure can be typed in. Those two sizes come up most often because 20 KB is a common signature limit and 50 KB a common photograph limit on Indian application portals, though the exact range differs by form.

Can I compress more than one image at a time?

Yes, up to twenty in one batch. Drop them all into the box, set a single KB target, and press Compress. Each file gets its own result row and Download button, and a Download all button appears once several are ready. Images that are already under the target are left untouched rather than needlessly degraded.

What is image compression, and what is lossy vs lossless?

Image compression means storing the same picture in fewer bytes. Lossy compression, which is what JPEG uses, achieves that by discarding detail the eye is unlikely to miss — so the file gets much smaller and the image is permanently altered. Lossless compression, used by PNG, packs the data more efficiently without throwing anything away, which keeps the image identical but saves far less space. Targeting an exact KB figure needs a lossy format, which is why the output here is JPEG unless you choose otherwise.

Can I compress an image to 20KB without losing quality?

Not literally — 20KB is a very small budget and JPEG has to discard a lot to reach it. What you can do is make the loss invisible for the kind of image it is. A signature at 20KB looks perfect because it is mostly white space. A colour photograph at 20KB will not. Crop tightly, reduce the pixel width to around 400–600 first, and use the largest figure your form actually allows.

Can I convert the compressed image to PDF?

Not in this tool — it outputs images. Once you have the file at the right size, use the JPG to PDF tool to wrap it into a PDF, or the Compress PDF tool if the form wants a PDF under a KB limit instead. Doing it in that order matters: compress the image first, then convert, because converting first and compressing afterwards gives you less control over the final figure.

Does it work for WebP images?

Yes, both ways. A WebP file can be dropped in and compressed like any other, and WebP is available as an output format if you want the smallest possible file for a website. For a government or university upload, stay with JPEG — most portals still reject WebP.

Do my images get uploaded to a server?

No. Everything happens inside your browser using the Canvas API — the file never leaves your device and nothing is stored. Many other online compressors do upload to a server and delete after a set period, which is worth knowing when the file is a passport photo, a signature or an ID document. You can confirm it by going offline and compressing anyway; it still works.

What KB size do government exam forms require?

It varies by exam and changes between cycles, so check the official notification for your exam rather than relying on a general guide. As a rough orientation, photographs are commonly asked for somewhere between 20 KB and 300 KB and signatures between 10 KB and 100 KB, but the exact range and the pixel dimensions differ from one commission to another and are sometimes revised year to year.

Can I set different KB targets for different files in the same batch?

Yes. Each file row has its own target input after compression starts — you can override the global target per image. This is useful when a form needs a photo at 50 KB and a signature at 20 KB in the same upload.

How do I compress an image to both an exact KB and exact pixel size?

Enable the pixel controls below the target box. Set max width/height, or check 'Exact dimensions' to force a specific size (with crop or letterbox). The tool will resize the image first, then compress it to the KB target. This matches many government portal requirements that specify both pixel dimensions and file size.

What happens if I choose PNG output?

PNG is lossless and cannot be tuned to a precise KB via quality. The tool will still resize to meet pixel requirements, but the file size will be whatever it ends up as. If you need a specific KB, choose JPG or WebP instead. PNG is best when you must preserve every pixel and the size limit is not strict.

How do I use WebP for better compression?

Select WebP in the output format dropdown. WebP typically gives 25-35% smaller files than JPG at the same visual quality. All modern browsers support it. The same quality search works for WebP, and the quality slider controls the compression level.

How it works

The image is drawn to an HTML canvas and exported with canvas.toBlob at varying quality levels. A binary search over quality (0.05 to 1.0, twelve iterations) finds the highest quality whose output is at or under the target, which is why the result is usually just below the limit rather than far under it. If even the lowest quality exceeds the target, the tool progressively scales the dimensions down and repeats the quality search at each step, stopping at 15% of the original size. Whatever the outcome, the size actually achieved is reported, and a warning is shown if the target was not met. Transparent pixels are composited onto white before export, since JPEG has no alpha channel.

Pixel sizing: When pixel controls are enabled, the image is resized (or cropped to exact dimensions) before compression. The resize uses canvas scaling with bicubic interpolation.

EXIF rotation: The tool reads the EXIF orientation tag (0x0112) using a DataView parser and applies the appropriate rotation/reflection before rendering. This ensures phone‑taken photos appear upright.

Everything runs client-side; no image data is transmitted. Exam specifications referenced above should be confirmed against the issuing authority's official notification.

Home / Image Tools / Compress Image to KB
Ad space