Fix "file too large" errors on government portals

Government portals are strict about uploads: a maximum size per file, a short list of formats, and for photos, exact pixel dimensions. Here is what those rules usually look like and how to meet them without degrading the document.

Do it now, in your browser: Compress an image to a size · Compress PDF · JPG to PDF converter

What the rules usually look like

Document uploads (ID scans, bank statements, certificates) usually have a size limit per file and accept only a few formats, typically PDF, JPG or PNG. The limit is normally shown next to the upload button or in the error message.

Photo uploads are stricter. For example, a US visa (DS-160) photo must be a JPEG of at most 240 kB, square, between 600 × 600 and 1,200 × 1,200 pixels. A UK passport photo submitted online must be at least 600 pixels wide and 750 tall, and between 50 KB and 10 MB.

Documents: shrink them in the portal with Krisox

  1. Install Krisox and open the portal's upload page.
  2. Attach your document as usual.
  3. Krisox shows the size at each level before anything is uploaded. Choose one under the portal's limit, or choose "Fit under" and type the limit (Krisox fills it in when the page states it).
  4. Click "Upload compressed".

When the portal only accepts certain formats

Formats the portal would reject are disabled in Krisox, and files are converted automatically where needed, for example a PNG screenshot to JPG, or a photo to PDF.

Photos with exact dimensions

Krisox reduces file size but doesn't crop photos to exact pixel dimensions; its smallest level keeps up to 1,600 pixels. For a photo rule like the US visa's, use the official photo tool the portal links to (the US State Department provides one), which crops and sizes the image for you.

Photo rules also forbid editing: no filters, retouching or background changes. Keep the original photo as it is.

Without Krisox

Good to know

Questions

The portal says the file is too large, but it is under the limit. Why?

Some portals count megabytes as 1,000,000 bytes, others as 1,048,576, so a file just under the limit by one count can be over by the other. Aim comfortably below the number shown.

Is it safe to compress official documents?

Compression keeps the content readable; check the result before submitting. Krisox never alters signed or encrypted PDFs.

Can Krisox make my visa photo exactly 600 × 600?

No. Krisox doesn't crop or resize to exact dimensions. Use the official photo tool linked from the application.

Sources

Krisox is a browser extension that compresses files inside upload forms, as you upload. There, compressing and converting one file at a time is free, and Krisox Pro ($15, paid once) adds several files at once. The tools on krisox.com compress and convert without installing anything.

Add to Chrome See how it works

Related guides