Companion page: PDF file too large? How to fix it explains why PDFs get big and how to shrink them. This post is about reading the error an upload portal gives you.
You have filled in the form, attached the evidence and pressed submit, and the portal says no. The message might say the file is too large, or just that the upload failed. Here is how to read it.
What the common messages mean
| Message | What it usually means | Try |
|---|---|---|
| "File exceeds the maximum size" or similar, straight away | The page checked the file size in your browser before sending it | Compress below the stated limit |
| "413", "Request Entity Too Large" or "Content Too Large" | The server refused the whole upload as too big. Often several files counted together | Upload one file at a time, or make each smaller |
| "Upload failed" after a long wait | The connection timed out, often on mobile data | Use Wi-Fi, or make the file smaller so it sends faster |
| "File type not allowed" for a file you think is a PDF | The file is really a photo (HEIC, JPG) with a PDF name, or the portal wants a different type | Convert it properly with HEIC to PDF or JPG to PDF |
| "Invalid file name" | Characters such as #, %, & or a very long name | Rename to letters, numbers and hyphens |
Why a file under the limit can still fail
A megabyte is not always the same size. Windows File Explorer counts 1 MB as 1,048,576 bytes; a Mac's Finder counts it as 1,000,000. A file that is 5,000,000 bytes shows as 5 MB on a Mac and about 4.77 MB on Windows. A portal written either way may treat a "5 MB" limit differently from your computer. Aiming about 10% under the stated figure avoids the question.
The limit may also be for the whole application rather than each file. If you are attaching five documents to one form, they may need to fit together.
Compressing more than one PDF? Free compresses one file at a time, up to 50MB. Pro compresses a whole batch to the same target and downloads it as a ZIP: Pro passes start at £1.49 for 24 hours. See Pro options → One-off payment, no subscription, and your files still stay on your device.
The fixes, in order
- Find the real limit. It is usually next to the upload button or in the portal's help. If it is not shown, ask; do not rely on a figure from another site.
- Remove pages you do not need. Blank pages, cover sheets and duplicate copies go first with Delete Pages. Every page removed is size you do not have to compress away.
- Compress to a target. In Compress PDF, pick the limit or a custom size about 10% under it. The tool tries up to seven quality passes and stops at the first one under the target.
- Check it is still readable. Zoom into reference numbers, dates, signatures and stamps.
- If it will not go small enough, split it. Split the file into parts and upload them separately, if the portal allows more than one file.
On a phone
If the file lives in iCloud Drive or Google Drive, make sure it has fully downloaded to the phone before you pick it, or the upload can stall. Uploading on Wi-Fi rather than a weak mobile signal avoids most "failed" messages that are really timeouts.