Quick Answer: How to Fix “File Too Large” on Any Portal
- Find the exact limit on the upload page — for example “max 200 KB”, “up to 256 KB” or “1 MB” — and the accepted formats (usually JPG/JPEG).
- Compress to slightly under it — about 5–10% below the limit, such as 190 KB for a 200 KB limit — and choose JPEG.
- Upload the downloaded file directly, without opening and re-saving it in another app.
This works the same for government, job, university and school portals, visa forms and exam applications. Everything runs locally in your browser, so your documents never leave your device.
Why Do Government Portals Have Such Strict File Size Limits?
If you have ever tried to upload a photo or scanned document to a government job portal, immigration system, or university application and seen the error “File size too large” or “File exceeds maximum allowed size”, you are not alone. These limits are baked into systems that were often designed a decade or more ago.
Government portals typically run on infrastructure that was built when average internet speeds were much slower and server storage was expensive. The file size limits were set to ensure the system could handle thousands of simultaneous uploads without degrading performance. Those limits were never updated even as smartphone cameras went from 2 megapixels to 50 megapixels.
The result is a mismatch: a modern iPhone photo is 4–8 MB, but the portal only accepts 100 KB. That is a 40–80 times size difference that you have to bridge yourself.
How to Reduce Document Image Size for Upload
The most common files that need compression for portal uploads are:
- Passport-size photographs (typically required under 50 KB or 100 KB)
- Scanned certificates and mark sheets saved as JPEG (typically required under 200 KB or 500 KB)
- Signature images (typically required under 20 KB or 30 KB)
- Identity document scans (typically required under 200 KB)
The process is the same regardless of what the image contains — select your file, choose a target size, and the tool finds the highest quality that fits. Everything runs in your browser. Nothing is uploaded to any server. If the document image is already on a webpage, the FitPhotoKB browser extension lets you right-click and load it directly — no saving to your device needed.
Here is how to compress any image for a portal upload:
- Check the portal's exact requirement before you start. Note both the file size limit and any dimension requirements.
- Open FitPhotoKB and select your image.
- Click a preset just under your portal's limit, or use Custom to enter your target.
- Select JPEG as the output format unless the portal specifically accepts other formats.
- If the file still cannot reach the target, open Advanced Options and enable Resize image if needed.
- Download and upload to the portal.
What Size Limits Do Portals Use?
Most portals accept JPEG (JPG) only. If your image is PNG, WebP or HEIC, convert it to JPEG while compressing — it is the most widely accepted format.
Limits vary by country and portal, so always read the instructions next to the upload button. Some common examples:
- Indian exam, job and state portals (SSC, banking and state recruitment sites) commonly ask for a photo of 20–50 KB and a signature of 10–20 KB.
- US visa applications (DS-160) accept a photo of up to 240 KB, between 600×600 and 1200×1200 pixels.
- Driving licence (DMV) sites, federal job sites, college applications such as Common App, and school or university portals each set their own limits for photos and scanned documents.
- Government recruitment portals in other countries, such as Nigeria’s, often set small photo limits too.
Some portals also set a minimum size, for example “between 10 KB and 50 KB”. FitPhotoKB compresses to a maximum, so pick a target between the two numbers — 40 KB in that example.
Use FitPhotoKB’s Custom option to enter a target slightly under the portal’s maximum, as explained below.
Portal Image Compression: What the Error Messages Actually Mean
Different portals phrase their errors differently, but they all mean the same thing. Here is a translation guide:
“File size too large” — Your image exceeds the portal's maximum KB limit. Compress it using FitPhotoKB with the correct preset.
“Only PNG, JPG or JPEG files up to 256 KB are allowed” — The file must be one of those formats and no bigger than 256 KB. Choose JPEG and a target of about 240 KB.
“Maximum file size is 1 MB (1024 KB)” — This portal counts 1 KB as 1,024 bytes, so its limit is 1,048,576 bytes. FitPhotoKB’s 1 MB preset produces at most 1,000,000 bytes, which fits with room to spare.
“File size is too small” or “minimum 10 KB” — You compressed below the portal’s minimum. Choose a larger target between the minimum and the maximum.
“Image is overly compressed. Please use a compression ratio less than 20:1” — Seen on US visa photo uploads: the file is too small for its pixel dimensions. Increase the target size or reduce the dimensions. See how to compress a passport photo.
“Invalid file format” — The portal only accepts JPEG but you uploaded a PNG, WebP, or HEIC file. Use FitPhotoKB to convert to JPEG while compressing.
“Image resolution too high” — Your image has too many pixels. Enable Resize image in Advanced Options to reduce dimensions along with file size.
“Image resolution too low” — Your image has too few pixels after compression. This means you compressed too aggressively. Increase the target size or start with a higher resolution source image.
“Upload failed” with no explanation — Usually a file size issue. Try a target 10–20% below the stated limit, since some portals measure file size differently, and check that the format is accepted.
How to Batch Compress Multiple Documents at Once
Many application portals require multiple documents — a photo, a signature, a certificate, and an identity document — all under different size limits. Compressing them one at a time is slow.
FitPhotoKB supports batch compression of up to 20 files at once. All files are compressed with the same target size setting. If your documents have different limits, compress them in groups by target size — for example, compress all 100 KB items together, then switch to 50 KB for the next group.
Each file in the batch gets its own Download button, so you can download them individually and name them correctly before uploading to the portal.
Does “Maximum 200 KB” Mean the File Must Be Under 200 KB?
Yes. A limit of 200 KB means your file must be 200 KB or smaller — a 201 KB file is rejected even though it looks almost the same. Some portals even reject a file that is exactly at the limit.
The confusing part is that “KB” is counted in two ways. FitPhotoKB and macOS count 1 KB as 1,000 bytes. Windows File Explorer and many portals count 1 KB as 1,024 bytes. So a 200 KB limit can mean 200,000 or 204,800 bytes, and the same file can show slightly different sizes on different screens.
The safe fix: compress about 5–10% below the limit. A target of 190 KB passes a 200 KB limit whichever way the portal counts, and 45 KB is safe for a 50 KB limit. For very small limits such as 20 KB, leave a little more room — 18 KB works well.
Here is a real example of how this plays out.
Ravi is applying for an SSC CGL exam. The portal requires a photo under 50 KB and a signature under 20 KB, both in JPEG. His phone photo is 3.8 MB and his signature scan is 180 KB.
Here is what he does:
- Opens FitPhotoKB and selects his photo.
- Clicks Custom and types 45 — not 50, to stay safely under the limit.
- Selects JPEG, clicks Compress, downloads the photo.
- Selects his signature scan, clicks Custom and types 18.
- Selects JPEG, clicks Compress, downloads the signature.
- Both files upload to the portal without any error.
The whole process takes under two minutes.
Other Reasons a Portal Rejects Your File
Portals check more than just file size. If your compressed image is still being rejected, check these additional requirements:
Aspect ratio — Passport photos are often required to be square, but some portals require a portrait ratio (such as 35mm×45mm). Signature images vary by portal. Check your portal's specific requirements for the correct dimensions and aspect ratio.
Colour mode — Some portals require colour photos and reject greyscale. Others require greyscale for signatures. FitPhotoKB preserves the colour mode of your original image.
Background colour — Passport photos typically require a plain white or off-white background. This is a content requirement that cannot be fixed by compression — it must be correct in the original photo.
File naming — Some portals reject files with spaces, special characters, or non-English characters in the filename. FitPhotoKB automatically generates a clean filename like photo-under-100kb.jpg that avoids common filename rejection issues.
FitPhotoKB is 100% local and private. Every document you compress stays on your device. Nothing is sent to any server, logged, or stored anywhere outside your browser.
All compression runs 100% locally in your browser — your images never leave your device. Free, no account required.
Try FitPhotoKB Free →