Processing...
PDF

How to Compress a PDF for Gmail (2026) — 25 MB Limit Fix

Gmail rejects PDFs over 25 MB. Step-by-step compression, Google Drive workaround, mobile tips, and when to split instead.

Published June 1, 2025 · 5 min read

Try it free — no signup

3 uses per day · 200 MB · TLS encrypted · auto-delete

Use free tool →

Gmail's 25 MB attachment limit — what actually counts

Google documents Gmail's attachment cap as 25 MB per message (official help article). In practice, three details trip up senders:

  • Base64 encoding overhead. Email transports attachments in encoded form, adding roughly 33% to raw file size. A 20 MB PDF can push the encoded payload close to the ceiling.
  • Total message size. Subject line, HTML body, inline images, and your signature all count toward the same message budget — not just the PDF.
  • Recipient gateway limits. Gmail may accept your send, but the recipient's corporate server can still reject delivery if their cap is 10–15 MB.

Safe target: compress PDFs to 18–20 MB before attaching in Gmail. Parent guide: compress PDF for email. Full limits table: attachment size limits (2026).

Why Gmail blocks your PDF

Gmail shows "Attachment too large" or refuses to attach when the file exceeds the limit. Common causes:

  • Phone scans at 300 dpi colour — a 15-page lease agreement can weigh 30 MB without looking "large."
  • Exported decks with full-bleed images — PowerPoint → PDF exports embed high-resolution photos per slide.
  • Multiple files in one draft — two 14 MB PDFs exceed the cap together; compress each or send separate messages.
  • Portfolio PDFs from design tools — InDesign and Canva exports prioritise print quality over email size.

Gmail has no built-in PDF compressor. You must shrink the file externally — then attach the compressed copy. Tool: Compress PDF (Ghostscript engine, three presets).

Step-by-step: compress a PDF for Gmail

  1. Check size. Right-click the file or use the PDF size checker with the Gmail preset (25 MB cap).
  2. Upload to Compress PDF. Free tier: 3 uses per day, files up to 50 MB. Drag-and-drop works on desktop and mobile browsers.
  3. Select Recommended compression. Default balance — 150 dpi images, good JPEG quality, typically 40–65% reduction on photo-heavy PDFs. Text-only exports may shrink less.
  4. Review the size report. RatPDF shows original vs compressed size and percentage saved. If still over 20 MB, retry with Extreme — then verify fine print at 100% zoom.
  5. Download and open the result. Confirm page count, bookmarks, and hyperlinks before attaching.
  6. Attach in Gmail. Desktop: paperclip icon → Upload → select compressed file. Mobile Gmail app: same flow via Attach → Insert from Drive/Files.

Benchmark context: PDF compression benchmark. Pillar: how to compress PDF online.

Choosing compression level for Gmail

LevelTypical reductionUse for Gmail when…
Less Compression10–30%Signed contracts, legal exhibits, or brand PDFs where logos must stay sharp. May not be enough alone for a 35 MB scan.
Recommended40–65%Default for proposals, invoices, HR packs, and mixed text-and-image PDFs going to Gmail.
Extreme Compression70–90%Last resort when Gmail still rejects after Recommended. Verify stamps, signatures, and footnotes before send.

Scanned PDFs compress dramatically — phone photos of receipts often drop 50–70% at Recommended. Digital PDFs from Word or Google Docs may only lose 10–25%; if still too large, the source images are high-res — try Extreme or split for email.

Google Drive workaround (when compression is not enough)

Gmail integrates with Google Drive for oversized files. When compression would blur fine print or the PDF is a non-negotiable quality archive:

  1. Upload the original PDF to Google Drive.
  2. In Gmail compose, click the Drive icon (not the paperclip).
  3. Select the file — Gmail inserts a share link instead of a raw attachment.
  4. Set link permissions: "Anyone with the link" for external clients, or restricted to specific emails for confidential docs.

When to prefer compression over Drive: recipients on locked-down corporate networks may block Drive links; legal and procurement teams often require direct attachments; ATS and portal uploads cannot accept Drive URLs. For everyday client email, a compressed attachment is usually faster and more reliable.

Cloud archive workflow: compress PDF for cloud storage.

Gmail on mobile (Android and iPhone)

Mobile Gmail uses the same 25 MB cap. You cannot compress inside the app — use Safari or Chrome:

  1. Open ratpdf.com/pdf/compress in your mobile browser.
  2. Upload from Files (iOS) or Downloads (Android).
  3. Download the compressed PDF to your device.
  4. Return to Gmail → Attach → browse to the downloaded file.

More mobile tips: compress PDF on iPhone · compress PDF on Android.

Compress vs split vs Drive — Gmail decision tree

  1. File under 2× your target (40 MB)? → Recommended compression. Works in most cases.
  2. Long scanned doc still over 20 MB after Recommended? → Try Extreme once. If text blurs, split into Part 1 / Part 2.
  3. Photo portfolio where quality is mandatory? → Drive link in email body; compress a "review copy" if you also need an attachment.
  4. Sending to a job portal, not Gmail? → Caps are often 2–5 MB. See Indeed, LinkedIn, or job application guides.

Compare: compress vs split · PDF email attachment checklist.

Common Gmail PDF scenarios

Freelancer sending a proposal

Export from Google Docs or Word as PDF. If over 5 MB (unusual for text), run Recommended. Filename: ClientName_Proposal_June2026.pdf. Hub: compress PDF for freelancers.

Accountant emailing workpapers

Multi-sheet Excel → PDF exports can exceed 25 MB. Compress with Recommended; if recipient is a Big Four firm, target 10 MB for gateway safety. Compress PDF for accountants.

Teacher sharing a worksheet pack

Scan at grayscale 200 dpi before compressing — saves more than Extreme on a colour scan. Compress PDF for teachers · LMS uploads if students submit via Canvas instead of email.

Lawyer sending discovery exhibits

Use Less compression first to preserve stamp clarity; split if still over limit. Never send unreadable exhibits — courts reject illegible filings. Compress PDF for lawyers · E-filing guide.

Troubleshooting Gmail attachment errors

  • "Attachment too large" after compression? Check total attachments in the draft — remove old forwards. Try Extreme or split.
  • Compression barely changed size? PDF may be text-only with embedded fonts. Re-export from source or try Extreme.
  • Recipient says they never got it? Your send succeeded but their gateway bounced. Re-compress to 10 MB and resend.
  • File grew after compression? Rare on RatPDF. See why compression made PDF larger.
  • Password-protected PDF? Unlock PDF before compressing.

Security when emailing PDFs via Gmail

Compression does not redact sensitive data. For financial statements, medical records, or HR files:

  • Password-protect the PDF; share the password by phone or SMS.
  • Redact third-party PII before attach.
  • RatPDF processes over HTTPS and deletes files after download — no long-term storage on free tier.

Policy hub: secure PDF workflow.

Related guides

Compress PDF free · Compress PDF hub · Compare PDF tools

Ready to try it?

3 uses per day · 200 MB · TLS encrypted · auto-delete

Use free tool →

Frequently asked questions

What is Gmail's attachment size limit?

25 MB per attachment for Gmail; use 20 MB as a safe target.

Why did Gmail block my PDF?

Gmail shows 'Attachment too large' when the file exceeds the limit — compress or use Drive link.

Will compression ruin scan quality?

Use Recommended compression for text PDFs; Low for legal scans with fine print.

Sources & references

Primary references used when researching and fact-checking this guide. See our editorial methodology.

  1. — Artifex Software
    Compression level behavior and PDF output settings.