ImagePDF.Tools
Productivity

Email Attachment Limits, and How to Get a PDF Under Them

N
NikolaLast updated on September 28, 2026 · 9 min read

Summary

Gmail says 25MB but bounces at about 18MB, and the recipient's server may refuse far less. The real numbers, and how to get under the strictest one.

A table of stated email attachment limits beside what is really usable after base64 encoding | ImagePDF.Tools | ImagePDF.Tools
The limit applies to the encoded message, not to your file, and the recipient's limit is the one you cannot see.

The attachment is 23MB, Gmail's limit is 25MB, and the message bounces anyway. Or it sends, and three days later you learn the recipient never got it.

Email attachment limits are more complicated than the number your provider advertises, and the number that actually matters is usually not yours.

Here is what the real ceilings are, why the advertised figure is optimistic, and how far a PDF can sensibly be compressed to clear them.

Why 25MB Does Not Mean 25MB

Attachments are not sent as files. They are encoded into the message body as text, using a scheme called base64, because email was designed to carry text and never fully grew out of it.

Base64 represents three bytes using four characters, so an attachment grows by roughly a third on the way out. A 19MB PDF becomes about 25.3MB of message, and the 25MB limit applies to the message rather than to your file.

Stated limitRoughly usable for real filesWhy
25MBAbout 18MBBase64 adds around 33%, plus headers
20MBAbout 14MBSame encoding overhead
10MBAbout 7MBCommon on corporate mail servers
The recipient's unknown limitAssume 10MBYou cannot see it, and it wins
The usable attachment size behind a stated limit.
⚠️

The limit that applies is the smallest one along the path: yours, your employer's gateway, the recipient's gateway and their mailbox quota. A message can pass your provider and be silently dropped later, which is why some attachments simply never arrive.

Aim for 10MB and Stop Worrying

Rather than working out whose limit applies, target a size that clears essentially all of them. 10MB is the practical number: it survives a 20MB corporate gateway, a 25MB consumer provider, and most older systems.

For a text based PDF this is usually trivial. For a scanned document it takes real compression, because a scan is a stack of photographs rather than text.

Getting There

  1. 1.Check what the file actually is. Open it and try find in page. If search works it is text based and will compress easily. If not, it is scanned images and the weight is in the pixels.
  2. 2.Compress it. Open the PDF compressor and try a medium level first. Most documents lose more than half their size with no visible change.
  3. 3.If it is still too big, look at the pages. A 200 page scan may not need to be sent whole. Split out the pages the recipient asked for.
  4. 4.Check the result opens properly before you send it, particularly if you compressed heavily.
💡

Compress once, from the original. Compressing an already compressed PDF a second time costs quality and saves very little, because the expensive detail has already been discarded.

What Compression Can and Cannot Recover

It helps to know where the weight is before deciding how hard to push.

  • ●Scanned pages. Almost all the size. Big savings available, and the trade is sharpness of the text.
  • ●Embedded photographs. Usually the second largest cost, and they compress well with little visible loss.
  • ●Embedded fonts. Small, a few hundred KB at most. Not where the problem is.
  • ●Actual text and vector graphics. Tiny. A 500 page text document can be under 2MB.
  • ●Duplicated resources. A logo embedded once per page rather than once per document, which good compression consolidates.

If a text based PDF is enormous, something unusual is embedded in it. That is worth investigating before compressing, since the fix may be removing one oversized image rather than degrading the whole document. Our guide to compression levels covers what each setting gives up.

When Not to Compress at All

Some documents should be sent at full quality even if that means not sending them by email.

  • ●Anything for print. A printer needs the resolution you are about to throw away.
  • ●Signed or certified documents. Recompressing changes the bytes and invalidates a digital signature.
  • ●Legal or medical records where fine detail may matter later and you cannot know which detail.
  • ●Archival copies. Compress a copy for sending and keep the original.

For those, a link to shared storage is the better route, with the sensible caveat that the storage should be one you and the recipient both trust.

Doing It Without Uploading

The documents people struggle to email are contracts, medical scans, financial statements and legal bundles. Uploading one to a compression service to make it small enough to email is a strange trade: you have transmitted the whole document to a third party in order to avoid transmitting it to the intended recipient.

Compression in the browser sidesteps that. The file is read, re-encoded and written back on your own machine, and the only place it goes afterwards is the email you meant to send.

Target 10MB, Send Once

Advertised limits apply to the encoded message, not your file, so knock about a quarter off any number you are given. The recipient's limit is invisible and usually stricter than yours, which is why 10MB is the sensible target rather than a calculated maximum.

Check whether your PDF is text or scans before choosing a compression level, and keep the original. Open the compressor and see how far your file drops.

Frequently asked questions

What is the real Gmail attachment limit?
Gmail states 25MB, but that applies to the encoded message rather than your file. Attachments are base64 encoded, which adds roughly a third, so the practical ceiling for a single file is around 18MB. Aim lower, because the recipient's limit also applies and you cannot see it.
Why did my email bounce when the attachment was under the limit?
The smallest limit along the path wins: yours, your employer's gateway, the recipient's gateway and their mailbox quota. Base64 encoding also inflates the message by about a third. A file comfortably under your limit can still exceed someone else's.
What size should I aim for to be safe?
About 10MB. That clears consumer providers, most corporate gateways and older systems without needing to know whose limit applies. It is a target rather than a calculated maximum, which is the point.
Why is my scanned PDF so much bigger than a text one?
Because a scan is a stack of photographs rather than text. A 500 page text document can sit under 2MB, while a 20 page scan can exceed 20MB. Scanned pages are where compression finds the most to remove, and where the visible trade is sharpest.
Should I compress a PDF twice to make it smaller?
No. The second pass costs quality and saves very little, because the expensive detail was already discarded on the first. Go back to the original and compress once at a stronger setting instead.
When should I not compress a PDF?
Anything going to a printer, anything carrying a digital signature, and legal or medical records where a detail you cannot anticipate may matter later. Compress a copy for sending and keep the original untouched.

Sources & references

This article was researched and written by Nikola, drawing on the following primary sources and documentation:

Ready to try it?

All tools run entirely in your browser, no uploads, no account required.

Compress PDF