Resize & Compress Image to an Exact KB Size
Shrink a photo or scanned signature to an exact file size in KB for exam forms, job portals and visa applications — processed on your device, never uploaded.
| Original size | — |
|---|---|
| Original dimensions | — |
| Final dimensions | — |
| Quality used | — |
In short
To resize a photo to an exact size such as 20KB or 50KB, reduce the pixel dimensions and JPEG quality until the file fits the limit. Pakistan job portals and exam forms (PPSC, FPSC, NTS) commonly require photos under 20–50KB and signatures under 10–20KB.
Who this is for: Applicants who need a photo or signature under an exact file size for a job portal, exam form or visa application.
Why exact file size matters
Many government and job/exam portals — PPSC, FPSC, NTS, university admissions, visa applications — reject photos or signatures that are too large in file size, even if the dimensions look fine. This tool repeatedly compresses your image and checks the result until it lands at or under your target size, without you needing any software.
It works entirely in your browser: nothing is uploaded anywhere, which also means it works even on a slow connection.
See also: Compress PDF to an Exact KB Size.
Common portal requirements
- Photo: 20KB – 50KB (many Pakistani exam portals)
- Signature: 10KB – 20KB
- CNIC/passport scan: 100KB – 300KB
- General document upload: 200KB – 1MB
Assumptions
- The image is re-encoded as JPEG in your browser, reducing quality and then dimensions until it fits the target size.
- Nothing is uploaded.
- Transparency is lost when converting PNG to JPEG.
Frequently asked questions
Does this upload my photo anywhere?
No — the resizing and compression happen entirely in your browser using your device's own processing. Your photo never leaves your device.
Why is the quality lower than I expected?
To hit a very small target size (like 20KB), the tool has to reduce image quality and/or dimensions. For best results, set a target that's realistic for your image's content and starting size.
Can I resize a PNG or only JPG?
You can upload JPG, PNG or WebP — the output is always a compressed JPG, which is what most portals expect and compresses far better than PNG for photos.
What if I can't reach my exact target size?
The tool will get as close as possible by reducing both quality and dimensions. If your target is extremely small (like 5KB) for a large photo, some visible quality loss is unavoidable.
Related calculators
Found an error? Report it — tell us the inputs, the result you got, what you expected and the rule or source. Confirmed corrections are published within a week.
Ready to build your next digital solution?
Send the brief and you get a scoped response with approach, milestones and a fixed price range. Not a sales call.
A 30-minute call with the engineer who would run your project
Within 2 business daysA written scope: approach, module breakdown, milestones, fixed price range
Within 5 business daysYou decide. No retainer, no obligation, and the scope document is yours to keep either way
Your timelineSend your brief
Three fields to start. Add project details if you have them.
