Skip to content
    PDFWix logo — free browser-based PDF toolsPDFWix
    Home / Guides / Compress PDF for Gmail
    compress

    How to Compress a PDF to Send via Gmail

    Compress PDF before emailing via Gmail. The real safe limit is 18MB not 25MB due to Base64 overhead. Browser-based, no upload to any server, no watermark.

    5 min readUpdated 7 days agoNo upload
    PPDFWix Team· Reviewed for accuracy
    Files never uploaded Runs in your browser No signup No watermark
    Compress PDF Free
    Live · in browser
    Compress your PDF using PDFWix Compress PDF before attaching to Gmail. Gmail's stated limit is 25MB, but Base64 encoding adds 33% overhead — the real safe limit is 18MB. For universal delivery including corporate recipients, keep attachments under 10MB.

    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

    1. Open PDFWix Compress PDF.
    2. Upload your PDF — processed entirely in your browser, never sent to any server.
    3. For PDFs under 50MB: use Recommended compression. This usually brings the file well under 10MB.
    4. For very large files or when you need maximum compression: use High compression.
    5. Download the compressed PDF and attach to your Gmail.

    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.

    Use the free PDFWix tool:

    Frequently asked questions

    Why does Gmail say attachment is too large when my file is under 25MB?
    Base64 encoding adds 33% to file size during transmission. A 19MB PDF transmits as ~25MB. Additionally, the 25MB limit includes the email body and headers. Always keep attachments under 18MB to avoid this issue, or under 10MB for guaranteed delivery to corporate inboxes.
    Can I compress a PDF without losing any content before emailing?
    Yes. Compression reduces embedded image resolution only. Text content, document structure, bookmarks, and hyperlinks are fully preserved. The compressed PDF contains exactly the same information as the original — only image quality is slightly reduced.
    What if my PDF is still over 25MB after compression?
    For PDFs that will not compress below 25MB (very large documents with many high-resolution photographs), use Google Drive: upload the file to Drive, right-click, Share, and set anyone with the link can view. Paste the Drive link into your Gmail body instead of attaching the file.

    Sources

    Related guides

    Compress PDF FreeOpen tool →