Back to Blog
    Tutorial
    6 min read
    CompressNFly Team

    How to Compress a PDF for Email — Fit Gmail's 25MB Limit (and Outlook's 20MB)

    You attach your PDF, hit send, and the email bounces back: "Attachment too large." Now you're stuck — the file has to go out, but your email won't let it.

    You can fix this in under a minute. Compress your PDF right here in your browser — free, no software, and nothing gets uploaded to anyone's server. Your file stays on your device the entire time, which matters when you're emailing contracts, invoices, or ID scans. Compress your PDF now →

    What Are the Email Attachment Size Limits?

    Before you compress, it helps to know the exact number you're trying to get under. Every email provider caps attachment size, and the limits are lower than most people expect:

    Gmail: 25MB per email (total across all attachments). Go over, and Gmail quietly uploads your file to Google Drive and sends a link instead of a real attachment.

    Outlook / Microsoft 365: 20MB for the desktop app. Corporate IT departments often lower this to 10MB or even 5MB.

    Outlook.com (web): 25MB.

    Yahoo Mail: 25MB.

    Apple Mail (iCloud): 20MB via direct attachment.

    HR portals and job boards: Often just 2–5MB per document.

    The safest target is under 20MB. That keeps you clear of every major provider in one shot, instead of guessing which limit applies.

    Why Your PDF Bounces Even When It Looks Under the Limit

    Here's the frustrating one that trips almost everyone up. You check your PDF — it says 24MB on your computer, safely under Gmail's 25MB cap. You attach it. It still bounces.

    The reason: email doesn't send your file as-is. To travel over email, attachments get re-encoded into a text format called Base64, and that encoding adds roughly 30% to the file size in transit. So a 24MB PDF on disk becomes about 31MB once your email client wraps it up — and now it's over the limit.

    This is exactly why "just barely under the limit" fails. The fix is simple: aim a few megabytes below the cap. If Gmail's limit is 25MB, compress your PDF to around 18–20MB and it'll sail through with room to spare.

    Why PDFs Get Too Big in the First Place

    PDFs balloon in size for a handful of predictable reasons — and knowing which one applies tells you how much you can shrink it:

    Scanned pages

    Scanners save each page as a high-resolution image, usually at 300 DPI. For reading on a screen you only need 72–96 DPI. A 50-page scanned contract can be 50–150MB — and compress down to 5–10MB with no visible difference on screen.

    Embedded photos and graphics

    A report or brochure packed with product photos carries all that image data at full print resolution. Compressed for screen viewing, it often drops by 80–90% while looking identical on any monitor.

    Hidden bloat

    Every time a PDF is re-saved, it can accumulate old revision history, unused fonts, and metadata you never see. This invisible baggage adds size without adding anything useful — and compression strips it out.

    How to Compress a PDF for Email (Step by Step)

    This takes about 30 seconds and works on any device with a browser — desktop or phone, no app required.

    Step 1: Open the CompressNFly compressor in your browser.

    Step 2: Drag your PDF onto the page, or click to select it. Your file stays on your device — it's never uploaded to a server.

    Step 3: Choose a compression level. For email, "Balanced" or "Web Optimized" gives you the biggest size drop while keeping text sharp and readable.

    Step 4: Download your compressed PDF. Check that the new size is comfortably under your email provider's limit (aim for 18–20MB for Gmail).

    Step 5: Attach the compressed file to your email and send. It'll go through.

    What If Compression Isn't Enough?

    Sometimes a file is just too big — a 300-page scanned document, or a graphics-heavy report that's still over the limit after compression. You have two good options:

    Split the PDF into parts

    Break the document into smaller sections and send them across two or three emails. It's not elegant, but it works for any size and the recipient can view each part on its own.

    Send a link instead

    For anything above about 50MB, stop fighting email limits and upload the file to Google Drive, Dropbox, or a similar service, then paste the share link into your email. The recipient downloads it on their own time and your message never bounces.

    Ready to get your PDF under the limit?

    Compress it in seconds, right in your browser — free, private, and no sign-up. Compress your PDF now →

    Frequently Asked Questions

    How do I compress a PDF to send in Gmail?

    Open the CompressNFly compressor, drag your PDF in, pick the Balanced level, and download. Aim for under 20MB so it stays clear of Gmail's 25MB limit even after email encoding.

    Why is my PDF too large to email even though it's under 25MB?

    Email re-encodes attachments in a format that adds about 30% to the size in transit. A 24MB file can become around 31MB when sent, pushing it over the limit. Compress to a few MB below the cap to be safe.

    Will compressing my PDF ruin the quality?

    No. Compression targets screen resolution, which is far lower than print resolution. Text stays sharp and selectable, and images look identical on screen. The difference is only visible if you zoom far in or print at high quality.

    Is it safe to compress confidential documents?

    With CompressNFly, yes. Compression happens entirely in your browser — your file never leaves your device or gets uploaded to a server. That's especially important for contracts, invoices, and ID scans.

    Can I compress a PDF for email on my phone?

    Yes. CompressNFly works in any mobile browser on iOS and Android — no app to install. Compress the file and attach it straight from your phone.

    What size should I compress my PDF to for email?

    Aim for under 20MB. That keeps you safely under Gmail, Outlook, and Yahoo limits at once, with headroom for the encoding overhead that email adds in transit.