Government portals publish hard size caps
Upload pages for passport photos, identity systems, tax portals, visa applications, and licensing sites often state a maximum file size in kilobytes and sometimes a pixel range too. The upload control rejects the file before submission if either rule fails.
Those caps are usually much tighter than social apps. A photo that posts fine online can be several times too heavy for a form that asks for 100 KB.
The same photo can pass one portal and fail another. Treat each institution's numbers as its own spec rather than assuming a file that worked elsewhere will work here.
Read every requirement before you compress
Filekind compresses to a size limit and can resize pixel dimensions in a separate step. It does not crop, so handle framing and background rules in your own editor or camera app first.
- Maximum file size in KB or MB.
- Allowed formats. Many portals want JPEG; some also accept PNG.
- Required pixel width and height, if stated.
- Photo rules such as background, framing, and face coverage.
Making the file under the cap in your browser
The tool searches for a JPEG at or under your maximum and verifies the final file. It does not promise an exact byte count, so always check the number shown before uploading. Your document never leaves the device.
If the portal shows a thumbnail preview after upload, look at it. A preview that appears washed out or blocky usually means the compression was too aggressive for the subject.
- Open the compress image tool.
- Select the JPEG or PNG photo or scan.
- Enter the exact KB limit the portal states, or use the 200 KB preset when the form allows that much.
- Generate the compressed JPEG and confirm the reported size is at or below the limit.
- Download the file and run the portal's own validator if it offers one.
When the portal rejects the file anyway
Rejections often come from dimension rules or photo composition, not size alone. If the portal asks for a specific pixel size, resize with the aspect ratio locked, then compress again to hit the KB cap.
Scans of paper documents compress differently from photos. Text needs enough resolution to stay sharp, so avoid the smallest possible KB target. If letters look soft in the preview, use a higher limit or reduce dimensions less aggressively.
HEIC files from iPhones are not accepted by this tool. Export or shoot in JPEG first, then compress.
Keep a small folder of test uploads: the compressed file, the settings you used, and the portal name. The next application goes faster when you are not repeating the same experiment.
- Keep the original file; you may need to redo the upload with different settings.
- Test the upload before a deadline; portal validators vary.
- For several documents, compress each file separately; batch compression is not supported.