JPG to KB Converter
Convert JPG, PNG, or WebP images to any exact KB size. Browser-based, private, and easy to use.
Quick Size Presets
Drop your JPG, PNG or WebP here
or click the button below
Phone camera photos are 3 MB to 8 MB. Most government portals reject anything over 50 KB or 100 KB. That gap is where applications fail. This jpg to kb converter compresses any JPG, PNG, or WebP file to your exact target, right in your browser, with no upload to any server.
Over 8% of SSC CGL 2025 applications were flagged for non-compliant photo uploads. Most of those rejections had nothing to do with preparation.
How the JPG to KB Converter Works
The tool does not use a quality slider. It runs a binary search across up to 20 quality levels and narrows the range until the output file lands within your target. You select the KB size, upload the image, and download the result.
Binary Search Quality Optimization
The engine starts between quality 0.05 and 0.97. It tests the midpoint, checks whether the output is above or below your target, then adjusts. After 20 passes, it picks the highest quality that fits. The result is typically within 2 to 3 KB of what you asked for.
No guessing. No re-uploading three times with different settings.
Automatic Format Detection
- PNG without transparency converts to JPG automatically. PNG was not built for lossy compression, and forcing it to 50 KB while staying PNG produces a worse result than JPG at the same size.
- PNG with a transparent background stays PNG. Logos, product cutouts, and signature images with transparent areas keep their alpha channel.
- WebP files compress as WebP throughout.
- HEIC from an iPhone needs genuine conversion before compressing KB. Renaming a .heic file to .jpg does not work. The portal reads the file header, not just the extension. The tool handles this by re-encoding the file as a true JPEG.
Scale Reduction as a Safety Net
If quality reduction alone cannot reach your target, the tool reduces pixel dimensions in steps: 92%, then 84%, then 76%, and further if needed.
For most passport-size photos under 5 MB, this never triggers. Quality optimization alone brings a 4 MB portrait down to 50 KB without touching the dimensions.
Why JPG Is the Right Format for Government Portals
Every major Indian recruitment portal mandates JPEG format. SSC, UPSC, IBPS, RRB, SBI, Aadhaar UIDAI, and PAN card portals all specify JPG or JPEG in their upload instructions.
The most common hidden rejection reason: a PNG file renamed to .jpg. The filename says JPG. The file header says PNG. The portal reads the header and throws an invalid format error. This is why “the file looks fine but it keeps getting rejected” is such a common problem.
WebP and HEIC are silently rejected on virtually all Indian government portals. Even if the portal does not show a clear error, the file silently fails validation.
Compressing a JPG file here re-encodes the output as a genuine JPEG. It passes file header validation on every major portal.
What KB Size Does Your Portal Actually Need?
Every portal has a different limit. Here is a full breakdown by exam and document type.
10 KB to 20 KB, Signatures and Aadhaar
- Aadhaar UIDAI online update: photo under 10 to 20 KB in JPG
- SSC CGL and CHSL signature: under 20 KB, dimensions 140×60 pixels
- IBPS PO and Clerk signature: under 20 KB
- SBI PO and Clerk signature: under 20 KB
- India Post GDS signature: under 20 KB, dimensions 300×120 pixels
- CISF and IAF signature: under 20 KB
For signatures, compress jpg to 20 kb works consistently because signature images are mostly white space with ink strokes. White background compresses far more efficiently than any photo. A 500 KB scanned signature reaches 20 KB without the handwriting becoming unreadable.
Sign on plain white A4 paper with black ink. Avoid gel pens, shadows, and lined paper. Scan at 300 DPI for the cleanest result.
50 KB, The Most Common Exam Photo Limit
This is the most searched KB target in India because it covers the largest number of exams.
- SSC CGL, CHSL, MTS, GD: photo 20 to 50 KB, JPG
- IBPS PO and Clerk: photo under 50 KB, 200×230 pixels
- SBI PO and SBI Clerk: photo under 50 KB, 200×230 pixels
- RRB NTPC, Group D, and ALP: photo under 40 to 50 KB
- India Post GDS: photo under 50 KB, 320×400 pixels
- EPFO SSA: photo under 50 KB
A 3 MB phone portrait compresses to 50 KB with clearly visible facial features. The quality at 50 KB is more than sufficient for ID verification and automated portal checks.
Select the 50 KB preset and upload. The tool handles the rest.
100 KB, University and Entrance Exams
100 KB gives more visual clarity than 50 KB and fits within every major entrance exam portal.
- JEE Main: photo 10 to 200 KB, signature 10 to 100 KB
- NEET UG and PG: photo 10 to 200 KB, signature 10 to 100 KB
- CAT: photo under 100 KB
- CUET: photo 10 to 200 KB
- CTET: photo 10 to 100 KB
- Indian Passport online application: photo under 100 KB
The safe universal strategy: compress jpg to 100 kb. This fits within every exam that allows up to 100 KB or more. The only exams where this does not apply are those with a strict 50 KB maximum, like SSC and IBPS.
200 KB to 300 KB, UPSC and Lenient Portals
- UPSC Civil Services and IAS: photo under 300 KB
- NDA and CDS: photo under 300 KB
- GATE: photo 5 to 600 KB
- State PSC exams (BPSC, MPSC, UPPSC, TNPSC, APPSC): typically under 200 KB
- Job portals like Naukri: under 200 KB
At 200 KB, a compressed portrait looks nearly identical to the original on screen. You will not see quality loss at normal viewing size.
Custom KB, When the Form Has an Unusual Limit
Some state portals and HR portals specify 35 KB, 75 KB, 120 KB, or other non-standard limits. Type the exact number in the custom field, select KB or MB, and the binary search engine targets that value.
This also covers the “convert jpg to kb” use case where someone needs a specific file size that does not match any preset.
How to Compress a JPG File to KB
- Select your target KB. Use a preset chip (20 KB, 50 KB, 100 KB, 200 KB) or type a custom value. Check the target pill to confirm.
- Upload your file. Click the upload zone or drag your JPG, PNG, or WebP file in. Paste from clipboard also works. Maximum input size is 25 MB.
- Compression runs automatically. The progress bar shows each optimization pass. No button to click after uploading. Takes 2 to 8 seconds.
- Check the before and after preview. Original size, compressed size, and pixel dimensions are shown. The side-by-side comparison shows whether quality is acceptable.
- Download. The file saves with the target size in the filename. Upload it directly to your exam portal.
All processing uses the HTML5 Canvas API and runs inside your browser. Nothing is transmitted to any server.
Common Reasons a JPG Gets Rejected at Upload
The portal error message is often vague. Here is what each rejection actually means.
File Size Over the Limit
Even 1 KB over the allowed maximum causes instant rejection on most portals. There is no rounding or tolerance. Compress the file to the portal’s maximum KB, not just close to it.
Wrong Format, PNG Renamed as JPG
This is the most common hidden reason for rejection. Renaming file.png to file.jpg does not convert the file. The portal reads the binary file header, not the filename extension. The header still identifies it as PNG, and the portal throws an invalid format error.
Using this tool re-encodes the file as a genuine JPEG. It passes header validation.
HEIC From an iPhone
iPhones shoot in HEIC format by default. No Indian government portal accepts HEIC. Renaming .heic to .jpg fails the same way as PNG renaming.
Fix: Go to iPhone Settings, then Camera, then Formats, and select Most Compatible. This makes the camera shoot in JPG from that point. Then compress to the required KB size.
Image Taken as a Selfie
Front cameras add facial distortion. Several portals including RRB explicitly flag selfie-style photos during manual review. Use the rear camera, a shelf, and a timer.
WhatsApp Forward or Screenshot
WhatsApp re-compresses images before delivery. A 3 MB photo becomes a 200 KB file with visible JPEG artifacts after WhatsApp transmission. Screenshots add metadata and compression layers.
Always use the original camera file. Not a WhatsApp forward, not a screenshot, not a photo of a photo.
Over-Compressed Image Looks Pixelated
Compressing a 5 MB photo to 10 KB causes visible blockiness around edges and faces. For recognizable face detail, 20 KB is the practical minimum for passport-size photos. Check the preview in the tool before downloading. If the quality is not acceptable, increase the target KB by 5 to 10 KB.
JPG Photo and Signature Requirements, Major Indian Exams
| Exam | Photo KB | Signature KB | Photo Dimensions |
|---|---|---|---|
| SSC CGL / CHSL / MTS | 20–50 KB | 10–20 KB | 280×340 px |
| IBPS PO / Clerk | 20–50 KB | 10–20 KB | 200×230 px |
| SBI PO / Clerk | 20–50 KB | 10–20 KB | 200×230 px |
| UPSC Civil Services | 40–300 KB | 20–300 KB | 300×350 px |
| RRB NTPC / Group D | 20–40 KB | 10–40 KB | 200×230 px |
| NDA / CDS | 20–300 KB | 20–100 KB | varies |
| JEE Main | 10–200 KB | 10–100 KB | 200×230 px |
| NEET UG | 10–200 KB | 10–100 KB | 200×230 px |
| GATE | 5–600 KB | 3–300 KB | varies |
| CUET | 10–200 KB | 10–50 KB | 200×230 px |
| Aadhaar UIDAI | 10–20 KB | not required | varies |
| PAN Card NSDL | under 300 KB | under 300 KB | 200 DPI |
| India Post GDS | 30–100 KB | 20–100 KB | 320×400 px |
| EPFO SSA | 10–200 KB | 10–200 KB | 320×400 px |
Always verify with the official exam notification PDF before submitting. Requirements update each recruitment cycle.
MB to KB, What the Difference Means for Your Photo
A modern phone shoots photos between 1.5 MB and 8 MB. Converting to exam portal requirements means reducing to 20 KB to 100 KB. That is a 95% to 99% reduction in file size.
1 MB equals 1,024 KB. 2 MB equals 2,048 KB. 5 MB equals 5,120 KB.
The quality drop is smaller than it sounds. A passport-size photo on a plain white background compresses to 50 KB with visible, accurate facial features. A complex outdoor scene at 50 KB shows more compression artifacts because there is more visual information to discard.
Plain backgrounds compress efficiently. Patterned backgrounds, outdoor scenes, and textured walls take more KB to represent, leaving less quality budget for the face.
For unit conversion between KB and MB without compressing an image, use the KB to MB converter.
Tips for Better Quality at Low KB Sizes
- Use a plain white or light blue background. It compresses more efficiently than any other color or texture.
- Face should fill 70 to 80% of the frame. More face, less background, better quality at the same KB.
- Shoot in daylight or near a window. Even lighting removes shadows that add to file size.
- Always use the original camera file. Screenshots and forwarded images have already been compressed once.
- For signatures: black ink on plain white paper, no lines, no shadows. Crop tightly to the signature before compressing.
- Scan signatures at 300 DPI. A sharper scan compresses more cleanly at 20 KB.
- Avoid beauty filters and AI enhancement apps. These alter facial features and can cause rejection during manual review.
The jpg to kb process works best when you start with the cleanest possible original. Good lighting and a plain background do more than any setting inside the tool.
Frequently Asked Questions
How do I compress a JPG to 50 KB without losing too much quality?
Select 50 KB from the preset chips and upload your photo. The tool finds the highest quality setting that keeps the file at or under 50 KB. For a passport-style photo on a white background, the output quality is acceptable for ID verification and portal submission. Check the preview before downloading.
Can I compress a JPG to 20 KB for an SSC signature?
Yes. Select 20 KB or type 20 in the custom field. Signature images are mostly white space, so they compress very efficiently. A 500 KB scanned signature typically reaches 20 KB with ink strokes intact and clearly legible.
My JPG file is already small. Can I make it larger in KB?
The tool returns files already under the target as-is. To genuinely increase file size in KB, scan at a higher DPI setting, shoot at higher resolution, or save the original at a higher quality level before reducing. Saving as PNG also produces a larger file than JPG for the same image.
Why does the portal show invalid format even though my file is .jpg?
The file is probably a renamed PNG or HEIC. Portals validate the binary file header, not the filename extension. A renamed PNG still has a PNG header. This tool re-encodes the output as a genuine JPEG, which passes header validation on all major Indian government portals.
Is it safe to compress an Aadhaar card photo or exam photo here?
Yes. All compression runs inside your browser using the HTML5 Canvas API. Your image never leaves your device. No server receives, stores, or processes the file. The compression uses your device RAM and clears when you close the tab.
What pixel dimensions does a photo need for IBPS or SBI?
IBPS PO, IBPS Clerk, SBI PO, and SBI Clerk all require 200×230 pixels. This tool handles file size in KB. Use a separate resize tool for pixel dimensions if your photo is not already the right size. File size and pixel dimensions are two separate requirements.
How do I compress a JPG between 20 KB and 50 KB for SSC?
Target 40 KB. That keeps you safely above the 20 KB minimum and below the 50 KB maximum. Type 40 in the custom field and upload. This range covers SSC CGL, CHSL, MTS, IBPS, SBI, and RRB NTPC in one go.
What KB size works across all Indian exams without checking each portal?
100 KB fits within every major Indian exam portal that accepts photos. JEE, NEET, CAT, UPSC, NDA, GATE all allow up to 100 KB or more. The only exceptions are portals with a strict 50 KB cap like SSC and IBPS. When in doubt about which KB to use, 100 KB is the safest choice.
Related Tools
- Reduce Image Size in KB, any format, any KB target
- Compress Image to 50KB, optimized for SSC, IBPS, SBI
- Compress Image to 100KB, for JEE, NEET, CAT, Passport
- Compress Image to 20KB, for signatures and Aadhaar
- Compress Image to 200KB, for UPSC and state PSC
- Compress JPEG Between 20KB and 50KB
- KB to MB Converter, instant unit conversion
- Passport Size Photo Maker, for exam-ready photos
Final Thoughts
Getting a photo rejected on submission day is a fixable problem. The jpg to kb conversion takes under 10 seconds. Select your target size, upload, and download a file that passes portal validation on the first try.
Most failures come from three things: wrong format, file size slightly over the limit, and using a WhatsApp forward instead of the original. All three are avoidable.
When in doubt, compress to 100 KB in JPG format. That single setting covers JEE, NEET, CAT, UPSC, NDA, GATE, and every portal that accepts photos. For SSC, IBPS, and SBI, use 50 KB. For signatures, use 20 KB.
