Compress to a target size
Hit an exact file-size limit — under 100 KB, 200 KB, 1 MB, whatever the portal demands — for exam and visa forms, government uploads, or email. Works for PDFs and images, right in your browser. Your file never leaves your device.
100 KB is the number portals ask for most often, and it has a page of its own — compress a PDF to 100 KB — if that is the limit you were given.
Upload limits, read at source
The tool fills 18 caps with one tap. These are the ones we have opened the authority’s own page for, with the date we read it and the sentence it says. A file-size cap is only a fact until the portal changes it, so a figure without a date is not worth much — which is also why the other 16 are offered in the tool as a starting number and are not written up here as anybody’s rule.
| Cap | What it applies to | Authority | Read |
|---|---|---|---|
| Canada PR4 MB | Each document uploaded to the IRCC secure account or the Permanent Residence Portal“Yes. The file size limit varies depending on which online application account you use.” | Immigration, Refugees and Citizenship Canada | 2026-11-26 |
| Gmail25 MB | Files attached to a message you send from a personal Gmail account“For personal Gmail accounts, the limit is 25 MB.” | 2026-11-26 |
Two of these were unreadable to us rather than unchecked, and the distinction is worth stating: the US visa photo requirements sit behind a bot check and Discord’s help centre refuses automated requests. We do not work around either, so those rows stay out of the table until the pages can be read another way.
0 bytes of your file have left this device. Counted live in this tab, not claimed — open your browser’s Network tab and watch.
How it works
- 1
Drop your PDF or image in, or click to choose it.
- 2
Pick a target size — a round preset, one of the exam, passport or visa caps the tool fills for you, or a custom KB value.
- 3
Compress, then download a file that fits under your limit.
Frequently asked questions
How do I compress a PDF to under 100 KB?
Drop the PDF in, tap the “100 KB” preset (or type a custom value), and press Compress. We reduce the resolution and quality just enough to land under your limit, then you download it — ready to upload to the portal.
Can I compress a photo to exactly 50 KB for an exam form?
Yes. Switch to Image, choose 50 KB or type the exact cap the form asks for, and we shrink the photo to fit under that size while keeping it as sharp as the limit allows.
Is my file uploaded anywhere?
No. Everything runs inside your browser on your own device — the file never leaves your computer. You can verify in your browser’s Network tab.
What if it can’t reach my target?
If the target is smaller than the file can physically go without falling apart, we hand back the smallest version we could make and tell you — so you can pick a slightly larger target. For multi-page PDFs, splitting first often helps.
Will the PDF text stay selectable?
For small over-limits we optimize losslessly and text stays selectable. To hit very small targets we render pages as images (like every aggressive compressor does), which trades selectable text for meeting the limit.
Is there a size or daily limit?
No daily limit and no watermark. Because it runs on your device there’s no server cap — only your device’s memory, which we warn you about before very large files.
What usually comes next
The step most people take after this one — and why.
Last improved
Changes to this tool specifically, not the site.
- Improved
We were quoting eighteen upload limits and could not show you where any of them came from
Compress to size fills the target box for you: tap a preset and it puts in the cap that portal asks for, rather than you hunting for the figure first. Eighteen of those presets, covering Indian exam portals, passport and visa applications, and ordinary email. None of them had a source. Not one URL, anywhere, for any of the eighteen. The numbers were right when somebody typed them in and after that nothing in the way we work could have told us if a portal had changed one. For a figure somebody is relying on an hour before a deadline, that is not good enough. So we started reading them at the source, and the page now carries a table of the ones we have actually opened: the cap, what it applies to, which authority publishes it, the sentence their page says, and the date we read it. Two to begin with. Gmail’s twenty-five megabytes, which is a personal-account figure and not every provider’s — Workspace administrators set their own, which is why the row no longer just says “Email”. And four megabytes for a document uploaded through Canada’s immigration portal, which turns out to apply to two of their accounts and not the others, so the row says which two. The other sixteen stay in the tool as a starting number you can see and change, and they are deliberately not written up as anybody’s rule. Each one records why. Most are pending rather than blocked: the Indian commissions publish their caps inside per-exam notice PDFs rather than on a page that stays put, so each is its own hunt. Two we will not get at: the US visa photo requirements sit behind a bot check and Discord’s help centre refuses automated requests, and we do not work around either of those. The same pass turned up three places where the old figures had leaked into the writing itself — in the steps on this page, and in an answer on the passport photo page that quoted two caps as fact. Those now describe what the tool does without putting a number in your head that we cannot stand behind. A test fails the build if an unverified cap ever appears in page copy again, which is how those three were found in the first place.