“The attachment exceeds the allowed size” — or worse, silence: the message leaves, then bounces back twenty minutes later with a “delivery failed”. Attachment size limits are where email shows its age: the protocol dates from a time when 5 MB was a luxury, and every provider has since stacked its own cap on top. This guide maps the real limits, then shows how to get a PDF under the bar — in your browser, without handing the document to a third party.
The real limits, and the base64 trap
The figures advertised by mail providers tell only part of the story:
- Gmail: ~25 MB when sending (50 MB when receiving). Beyond that, Gmail silently switches to a Google Drive link — convenient, unless the recipient requires an actual file or your account is not a Google one.
- Outlook.com / Exchange: roughly 20 to 34 MB depending on configuration — the exact cap is set by the server, and corporate mailboxes often impose their own, sometimes 10 or 15 MB.
- Yahoo Mail: ~25 MB.
- Government and administrative portals: no single rule — these upload forms often cap attachments between 2 and 10 MB each, sometimes less. The form’s own instruction always overrides any general figure.
Two traps to know. First, base64 encoding: an attachment does not travel as-is but is encoded as text, adding roughly a third to its weight — a 20 MB file represents ~27 MB on the wire. A “25 MB” limit is therefore consumed faster than the size shown in your file manager suggests. Second, the full chain: your send can pass on your side and fail on the recipient’s, whose server applies its own cap — the strictest link decides.
Practical reflex: target ~19 MB of actual file for a mainstream mailbox, which covers the base64 overhead and most intermediate caps. That is exactly the target the Compress a PDF for email page pre-fills.
Getting the PDF under the cap
The method, in order of what costs the least quality:
1. Trim the pages. A heavy attachment often contains pages the recipient will never read — a cover page, an annex, a scanned blank back. Delete pages removes that weight at zero quality cost: the first move, before any compression.
2. Compress to a target size. On the dedicated email page, the “target size” field is pre-filled at ~19 MB — adjust it to the real cap if you know it (10 MB for a cautious corporate mailbox, 4 MB for a strict administrative portal). The tool then recompresses in steps — from 150 dpi / 0.85 quality down to a floor of 48 dpi / 0.30 — stopping as soon as the file fits under the target. If the cap remains unreachable, it honestly shows the best result achieved rather than an unreadable file pretending to comply.
3. Restart from the original if needed. An output landing just above the cap should not be recompressed as-is — every JPEG generation degrades the previous one. Re-run the source file at a lower target instead.
4. Grayscale, the frank trade-off. For a colour scan meant to be read or printed, converting to grayscale lightens noticeably — but the tool rasterizes every page: no selectable text, form fields lost. Reserve it for read-only documents.
Samsung T7 Shield — 1 TB portable SSDFast, shock-resistant SSD; sized for a complete digitized archive.affiliate
When compression is not enough
Some attachments will never fit in a single send — a hundred-page colour scan, a 40 MB graphic report. The honest exits:
- Several sends. Split by size cuts the document at page boundaries so each segment fits under your cap, delivered as a ZIP archive. Two 12 MB emails succeed where one 24 MB email fails — just tell the recipient the rest is coming.
- A download link. When the recipient does not strictly need an attached file — internal sharing, informal sending — a link to your cloud storage (Drive, OneDrive, WeTransfer) passes any volume. The catch: the recipient must trust the link, and some formal contexts demand the file itself.
- Ask the recipient. For an administrative dossier or a tender submission, ask about the preferred channel: many services accept a multi-part submission or a higher cap on simple request.
Why process the file locally
A heavy email attachment is often a personal document: a signed contract, a medical file, an ID, an invoice. Online compressors require uploading that document to their servers — an unnecessary round trip when everything can happen inside the tab. Here, compression runs in the browser’s memory: no account, no upload, and the Network tab of your developer tools confirms zero bytes left the device. Real limits: 50 MB and 1,000 pages per file in free use — an optional pass (€5, one week) lifts these caps for heavy dossiers.
Going further
- Reduce a PDF below 1 MB: target-size compression explained, step by step.
- Compress a PDF to 500 KB: for the portals demanding the toughest thresholds.
- Clean a PDF before sharing it: metadata and hidden elements to remove before sending.
Samsung T7 Shield — 1 TB portable SSDFast, shock-resistant SSD; sized for a complete digitized archive.affiliate
Seagate Expansion — 2 TB external HDDTwo terabytes on a budget: mass archiving without a subscription.affiliate

