โ Back to Blog
๐
๐ผ๏ธ Image Tools ยท Complete Guide
How to Resize Image to Specific KB or MB for Free in 2026
๐
May 7, 2026
โฑ๏ธ 5 min read
๐ค PDFSnap Team
๐ Updated 2026
Government portals, university applications, job boards, and visa forms all have one thing that drives people crazy: exact image file size limits. "Maximum 50KB." "Photo must be between 20KB and 200KB." "File size cannot exceed 100KB." If you've ever had your photo rejected for being 52KB instead of 50KB, this guide is for you.
PDFSnap lets you compress any image to hit a specific KB target โ entirely free, without installing any software, and it works on your phone.
Common File Size Limits by Portal
๐ชช
Passport / Visa
20 KB โ 200 KB
๐๏ธ
Govt. Portals
Under 50 KB
๐
University Forms
Under 100 KB
๐ผ
Job Applications
Under 500 KB
๐ฅ
Medical Portals
Under 1 MB
๐ง
Email Attachments
Under 1โ2 MB
How to Reduce Image to an Exact KB Size
1
Open the Image Compressor
Visit pdfsnap.github.io and choose "Image Compress" from the image tools. This is the tool that lets you target a specific output size.
2
Upload Your Image
Select your JPG or PNG photo. The tool shows your current file size immediately so you can see exactly how much compression is needed.
3
Enter Your Target File Size
Type the maximum KB you need (e.g., 50 for 50KB, or 200 for 200KB). The slider adjusts automatically to hit your target.
4
Preview and Download
See a side-by-side preview of before and after quality. If it looks acceptable, click "Download" to save the compressed image.
๐ก Pro Tip: Always Stay 5โ10% Under the Limit
File size calculations can differ slightly between tools. If the limit is 50KB, compress to 45โ47KB to guarantee the portal accepts it, since different systems may measure file size slightly differently.
Understanding File Size vs. Image Dimensions
Many people confuse file size (KB/MB) with image dimensions (pixels). They are separate things:
- Dimensions = width ร height in pixels (e.g., 1920ร1080). This affects how large the image appears on screen or in print.
- File size = how much storage the image uses (e.g., 45KB). This is controlled by compression quality and format.
You can have a 4000ร3000 pixel image that's only 40KB (heavily compressed) or a 400ร300 pixel image that's 800KB (uncompressed PNG). To hit a KB target, adjust compression quality โ not just dimensions. However, reducing dimensions also helps reduce file size, so combining both is the most effective strategy.
The Two-Step Method for Difficult Targets
If the compression tool alone can't reach your target without ruining quality, use this two-step approach:
- First, resize the image dimensions (e.g., reduce from 3000px wide to 800px wide) using PDFSnap's Resize tool.
- Then, compress the resized image to hit the exact KB target.
This two-step method achieves much better visual quality at small file sizes than compressing a large image directly.
Special Case: Passport and Visa Photos
Passport and visa portals are notoriously strict. Common requirements include:
- India e-Passport / Visa: JPG, 10KBโ200KB, min 350ร350 pixels, max 1000ร1000 pixels
- US Visa (DS-160): JPG, under 240KB, square format (600ร600 recommended)
- UK Visa: JPG, under 10MB for print, but online portals vary โ typically under 1MB
- Schengen Visa: 35mmร45mm photo standard; digital portals typically accept JPG under 500KB
โ ๏ธ Always Check Official Requirements
File size limits change frequently on government portals. Always verify the exact requirements on the official portal before submitting. The values above are approximate guidelines and may be outdated.
Pro Tips for Hitting Exact File Size Targets
Use JPG, Not PNG, for Photos
PNG is a lossless format โ it resists compression. A passport photo saved as PNG may be 400KB while the same image as JPG is 35KB. Always use JPG when a small file size is required for photos.
Crop to Required Dimensions First
Passport photos require a specific crop ratio. Use PDFSnap's crop tool to get the right aspect ratio first, then compress. A properly cropped photo has fewer pixels to start with, making it easier to hit small KB targets.
Check the Actual File Size After Download
After downloading, right-click the file on your computer or long-press on mobile to check Properties/Info. Confirm the actual KB size before uploading to any portal, as browser-reported sizes can occasionally differ slightly from saved file sizes.
Frequently Asked Questions
โ Can I compress a JPG to exactly 20KB?
Yes, for most photos. However, very small targets like 20KB will require significant compression, which may make the image look noticeably softer. This is usually fine for ID photos since portal reviewers are checking identity, not image quality. The face must remain clearly recognisable.
โ Why does my compressed image come out slightly larger than my target?
JPEG compression is not perfectly precise โ it compresses in 8ร8 pixel blocks, so the final size can be a few KB above or below the target. Always leave a 5โ10% buffer below the maximum limit to ensure acceptance.
โ What's the minimum file size a JPG can be compressed to?
At maximum compression, a typical 600ร600 passport photo JPG can be reduced to approximately 8โ15KB while still being recognisable. Below that, image quality degrades severely. 20KB is a safe minimum target for facial recognition purposes.
โ Does compressing affect the image dimensions?
No โ compression changes quality (and therefore file size) but does not change the pixel dimensions. A 600ร600 image remains 600ร600 after compression. To change dimensions, use the separate Resize tool.
๐ Compress Image to Exact KB Free
Passport photos ยท Visa forms ยท Government portals
No signup ยท No server upload ยท Works on mobile
๐ Compress Image to KB Free โ