How to Resize an Image to 20KB Without Losing Clarity
Do it now — free, in your browser, files auto-deleted in 1 hour.
Open the toolA surprising number of online forms cap uploads at an exact figure like 20KB — exam boards, government portals, university admissions, and passport or visa applications are the usual culprits. Getting a photo under that limit while keeping it sharp enough to pass review is a specific technical job, not just "make the file smaller and hope." Here's how to do it properly, and where people usually go wrong.
Why 20KB Limits Exist and What They Actually Control
These limits exist for storage and bandwidth reasons on the receiving end, not because 20KB is some magic quality threshold. What matters to you is that file size in kilobytes is driven by two separate things: pixel dimensions (how many pixels wide and tall the image is) and compression quality (how much detail is thrown away when saving). To hit a small target reliably, you need to control both, not just one.
Step 1: Set the Right Pixel Dimensions First
Before touching a quality slider, check what the form actually asks for. Passport-style photos are commonly specified as something like 200x230px or 3.5cm x 4.5cm at 200 DPI; signature uploads are often much smaller, like 140x60px. Resize to those dimensions first. Pixel count is the single biggest driver of file size — a 4000x3000 phone photo compressed at 10% quality will still often be bigger than a properly resized 400x500 photo compressed at 70% quality, and it'll look worse too.
Step 2: Choose JPEG Over PNG for Photos
JPEG uses lossy compression built for photographic tone and gradients, so it shrinks photos far more efficiently than PNG, which is lossless and better suited to flat graphics, text, or line art. If your form insists on PNG, expect to need smaller dimensions to hit 20KB. For photographic ID pictures, save as JPEG unless told otherwise.
Step 3: Compress Iteratively, Not by Guesswork
Don't crank the quality slider straight to the lowest setting. That produces blocky compression artefacts and smudged facial features, which some exam portals will flag or reject on review. Instead work down in steps: try 70% quality, check the resulting file size, then 60%, then 50%, and so on, stopping as soon as you're comfortably under 20KB with the image still looking clean at normal zoom.
Manual Method
On Windows, Paint handles this adequately: Image > Resize to set dimensions, then Save As JPEG and check the file size in Explorer. On a Mac, Preview does the same job — Tools > Adjust Size for dimensions, then File > Export with a quality slider. GIMP is free and gives more control: Image > Scale Image for dimensions, then File > Export As, where the JPEG dialogue shows an estimated file size live as you move the quality slider, which saves a lot of trial and error.
Faster Route: A Browser-Based Resizer
If you'd rather not repeat the resize-export-check cycle five times per photo, a dedicated online resize tool that lets you set target width and height alongside quality in one pass is quicker, and some show the resulting file size before you download. Konomic's image resizer (at konomic.io) works this way and is worth a look if you're doing this for a few files rather than one — no account needed, and nothing sits in a queue waiting for you to remember to delete it.
That last point matters more than people assume for this particular task, because a lot of 20KB-limit uploads are passport photos or signatures tied to identity documents. It's worth knowing what happens to the file after you upload it to any compressor. Konomic runs on EU-based servers in Germany and deletes uploaded files automatically within an hour, which is a reasonable baseline if you're processing anything ID-related. iLovePDF and Smallpdf are both capable tools too, and it's fair to check their published server locations and retention policies if that's relevant to your situation — most reputable services now state this clearly.
A Practical Workflow to Get Under 20KB
- Crop and resize to the exact dimensions the form specifies.
- Export as JPEG at 60% quality.
- Check the file size.
- If still above 20KB, drop to 50%, then 40%, rechecking each time.
- If quality below roughly 30% starts introducing visible blur, reduce the pixel dimensions slightly instead of compressing further — a marginally smaller photo looks better than a heavily artefacted one.
- Rename the file exactly as the form requests before uploading; some portals validate the filename pattern, not just the size.
Common Mistakes That Get Photos Rejected
Renaming a .png file to .jpg without re-exporting doesn't compress anything — it just corrupts the format tag. Screenshotting a resized preview instead of properly exporting adds an extra layer of compression and unwanted metadata. Ignoring the aspect ratio lock during resizing stretches or squashes faces in ways reviewers notice immediately. And the most common one: not actually checking the final file size before submitting, then finding out it's 23KB after the form has already rejected the upload.
Rough Numbers to Expect
For a typical 4MB, 3000x4000 phone photo: resizing to around 400x520px and exporting at 65-70% JPEG quality usually lands somewhere between 15KB and 25KB, needing one more round of quality adjustment to land reliably under 20KB. Signatures scanned at high DPI are often oversized purely because of resolution — converting to a smaller JPEG or PNG at modest dimensions typically drops them under 10KB with quality to spare.
Getting a photo to an exact size target isn't difficult once you separate the two variables — dimensions and quality — and adjust them in that order rather than fighting a single slider. Whichever tool you use, check the result against the form's stated limit before you submit, since "close to 20KB" and "under 20KB" are treated very differently by automated upload validators.
Do it now — free, in your browser, files auto-deleted in 1 hour.
Open the toolFrequently asked questions
What's the fastest way to resize an image to exactly under 20KB?
Resize the pixel dimensions to whatever the form specifies first, then export as JPEG starting around 60-70% quality. Check the resulting file size and reduce quality in 10% steps until you're comfortably under 20KB.
Should I use JPEG or PNG to get under 20KB?
JPEG is almost always better for photographic images because its lossy compression shrinks tonal detail far more efficiently than PNG. PNG is fine for flat graphics or simple signatures, but for a face photo, JPEG will get you smaller with less visible quality loss.
Why doesn't lowering the quality slider make my file small enough?
Pixel dimensions usually matter more than quality settings. A large image at very low quality can still be bigger than a properly resized smaller image at moderate quality, so reduce the width and height first.
Is it safe to upload a passport photo to an online image compressor?
Check the tool's server location and retention policy before uploading anything ID-related. Tools that don't require an account and delete files automatically within a short window, such as Konomic's EU-hosted resizer, are a reasonable choice for sensitive photos.