Gmail's 25MB limit is not the real limit
Gmail advertises a 25MB attachment limit, but this does not account for how email attachments actually work. When you attach a file to an email, your email client encodes it using Base64 encoding to convert binary data into text that email protocols can transmit. Base64 encoding increases file size by 33–37%. A 19MB PDF attached to a Gmail effectively transmits as approximately 25MB. This means you will hit Gmail's limit with a PDF around 18–19MB, not 25MB.
Additionally, even if Gmail accepts your attachment, the recipient's email server may have a lower limit. Corporate Exchange and Microsoft 365 servers are often configured at 10–20MB by IT administrators. A 20MB PDF sent from Gmail may arrive, or may be silently rejected by the recipient's corporate server.
The safe thresholds for Gmail attachments
- Under 10MB: Safe for all email providers and corporate servers universally.
- Under 18MB: Safe for Gmail to Gmail and Gmail to personal email accounts (Yahoo, Outlook.com).
- 18–25MB: Risk zone — Gmail may redirect to Google Drive link automatically, or corporate recipient server may reject.
- Above 25MB: Gmail automatically converts to Google Drive link, not an attachment.
How to compress PDF for Gmail
- Open PDFWix Compress PDF.
- Upload your PDF — processed entirely in your browser, never sent to any server.
- For PDFs under 50MB: use Recommended compression. This usually brings the file well under 10MB.
- For very large files or when you need maximum compression: use High compression.
- Download the compressed PDF and attach to your Gmail.
When Gmail converts your attachment to a Drive link
If you attach a file over 25MB to Gmail, it automatically uploads the file to your Google Drive and inserts a Drive link into the email body instead of attaching the file directly. This happens without warning. The recipient receives a link, not an attachment — which may not work as expected if they need to download the file in a specific way. Compress to under 18MB to prevent this automatic conversion. See also compressing PDFs for Outlook.