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.
Visit pdfsnap.github.io and choose "Image Compress" from the image tools. This is the tool that lets you target a specific output size.
Select your JPG or PNG photo. The tool shows your current file size immediately so you can see exactly how much compression is needed.
Type the maximum KB you need (e.g., 50 for 50KB, or 200 for 200KB). The slider adjusts automatically to hit your target.
See a side-by-side preview of before and after quality. If it looks acceptable, click "Download" to save the compressed image.
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.
Many people confuse file size (KB/MB) with image dimensions (pixels). They are separate things:
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.
If the compression tool alone can't reach your target without ruining quality, use this two-step approach:
This two-step method achieves much better visual quality at small file sizes than compressing a large image directly.
Passport and visa portals are notoriously strict. Common requirements include:
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.
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.
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.
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.
Passport photos Β· Visa forms Β· Government portals
No signup Β· No server upload Β· Works on mobile
The frustrating specificity of upload requirements (under 50KB, between 20KB and 200KB) exists for technical reasons. Government portals and institutional systems often have database field size limits, server upload constraints inherited from legacy systems, or requirements designed to standardise file handling across thousands of submissions. The limits are real and enforced β if your file is 51KB when the limit is 50KB, the upload will fail without exception.
India: JPEG format, 200Γ200 pixels minimum, file size 10KBβ1MB. White background, face occupying 70β80% of the frame. United States: JPEG, minimum 600Γ600 pixels (recommended 1200Γ1200), under 240KB. White or off-white background, recent photo. UK: JPEG, 600Γ750 pixels, 50KBβ10MB. Light grey or cream background. Schengen/EU visa: JPEG, 413Γ531 pixels (35Γ45mm at 300 DPI), under 500KB. Light grey background. PDFSnap's image resize tool lets you enter exact pixel dimensions so your photo meets the specification before you adjust file size through compression.
Compressing to an exact file size target is rarely achieved on the first attempt. Start at quality 70 and check the resulting size. If above target, drop to 60. If below target (and there is a minimum), increase to 65. Most portals that specify a maximum do not specify a minimum, so erring smaller is safe. PDFSnap shows the output file size before you download, making iteration fast without repeated downloads.
Understanding the limits of different email providers helps you set the right compression target before sending.
Gmail: 25 MB maximum attachment per email. Files larger than 25 MB can be sent as Google Drive links, which Gmail inserts automatically when you try to attach an oversized file.
Outlook.com and Office 365: 20 MB for most accounts, though enterprise Microsoft 365 accounts may have limits set by the organisation's administrator (commonly 35 MB or 50 MB).
Yahoo Mail: 25 MB per email.
Corporate email servers: Often limited to 10 MB β sometimes lower β by the organisation's IT policy. When emailing to corporate addresses, err toward 10 MB as your safe maximum unless you know the recipient's specific limit.
Indian government email (NIC): Typically 10 MB limit, with individual department servers sometimes enforcing limits as low as 5 MB. For official correspondence, compress aggressively and consider splitting multi-page documents if needed.
When uncertain about the recipient's limit, compressing to under 5 MB as a default is safe across virtually all email systems and is a professional habit that prevents delivery failures.
π Related ArticlesMohammad specialises in document workflows and image processing tools. He has tested hundreds of free online utilities so you don't have to, and writes practical, no-fluff guides to help you get things done faster.