How to Compress a PDF for Email (Under 25 MB)

How to Compress a PDF for Email: Real Numbers, Real Limits, Real Solutions

How to Compress a PDF for Email: A Practical Guide for 2026

If you've ever tried to attach a PDF to an email and received a "file too large" error, you know the universal frustration. The fix is rarely "just compress it" — the right approach depends on what's making your PDF large in the first place. This guide walks through the email service size limits, the compression techniques that actually work, and a step-by-step workflow that handles the common cases from scanned contracts to image-heavy reports.

Email service size limits in 2026

Most major email providers converged on a 25 MB total message size ceiling, which includes the PDF after base64 encoding inflates it by ~33%. So a raw PDF that hits 25 MB after encoding is actually only ~19 MB on disk. The actual attachment-level limits:

  • Gmail: 25 MB total message size (≈19 MB raw PDF)
  • Outlook.com / Microsoft 365: 20 MB attachment (≈15 MB raw PDF — tightest)
  • Yahoo Mail: 25 MB attachment
  • Apple Mail (iCloud): 20 MB with iCloud Mail, 5 GB via Mail Drop (Apple's large-file workaround)
  • Proton Mail (free): 25 MB
  • Proton Mail (paid): 50 MB attachment
  • Corporate Exchange / on-prem: often 10–50 MB depending on policy

If your PDF is just over the threshold, a 2-3x compression ratio is usually achievable. If it's deeply over (say, 100 MB to fit 25 MB), you'll need a more aggressive approach — likely rasterization or segmentation.

Why PDFs are big: the three structural sources

A PDF's size comes from three layers, in roughly decreasing order:

  1. Image data — every JPEG, PNG, or raster XObject contributes its pixel data. A 100-page PDF with full-page 300 DPI images will be tens or hundreds of MB. This is the main culprit for scanned documents.
  2. Font data — every embedded font carries its complete glyph set unless subsetted. A 12-font document can carry 4–8 MB of font data even if only 1,000 characters appear on-screen.
  3. Metadata and structure — the page tree, /Info dictionary, XMP stream, outlines, form fields, JavaScript actions. Typically 100 KB to 2 MB.

A targeted compression strategy attacks the largest layer first.

The compression toolkit

Image recompression (highest impact)

Most image-heavy PDFs compressible by 3-10x use this technique. The principle: original scans may store images at lossless PNG or high-quality JPEG; recompressing to JPEG-2000 or standard JPEG at lower quality levels reduces file size dramatically.

For consistent performance, recompress each image based on its purpose:

  • Reading-quality (screen, email): 150 DPI JPEG quality 60-75 → typically 40-100 KB per page
  • Print-quality: 300 DPI JPEG quality 80-90 → 200-500 KB per page
  • Archive / PDF/A: 200 DPI JPEG-2000 lossless → 100-300 KB per page

Implementation tip: use Adobe Acrobat's PDF Optimizer, our online Compress PDF tool, or Ghostscript (gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf for ebook quality).

Font subsetting (moderate impact)

By default, many authoring tools embed full font files rather than just the glyphs used in the document. A document using 50 characters of a 4 MB font ships 4 MB of font data when 50 KB would suffice.

Most modern PDF/A tools subset fonts automatically. Adobe Acrobat Pro's Preflight can do this post-hoc. Online compressors and our Compress PDF tool also subset by default.

Object stream compression (PDF 1.5+)

PDF 1.5 introduced object streams (compressed containers for the metadata layer). Older authoring tools still generate uncompressed object streams. Recompressing objects can save 10-30% on metadata-heavy files.

Metadata stripping

XMP metadata, thumbnail images, and custom Info dictionary entries can carry 100 KB - 5 MB of "extra" data. Stripping them has no functional impact on document display and helps compression.

When to skip compression: split instead

If your 80 MB PDF is a 600-page legal deposition where every page must remain full-resolution, no compression algorithm will fit it under 25 MB without visible loss. The right answer is to split the document and email it as multiple messages.

Our Split PDF tool handles this:

  1. Upload your large PDF
  2. Choose "Every N pages" splitting (e.g., every 50 pages = 12 files)
  3. Send each file as a separate email with a clear naming convention

This preserves full quality, and recipients reassemble in seconds by reading message order.

When to skip compression: link instead

Many modern email clients support cloud attachments via provider-specific services:

  • Gmail: Google Drive integration — attach any file size as a Drive link
  • Outlook: OneDrive integration — share files up to 100 GB
  • Apple Mail: Mail Drop — Apple-hosted links for files up to 5 GB

For files that resist compression, a Drive/OneDrive/Mail Drop link is often cleaner than fighting attachment limits. Recipients get a click-to-download URL without downloading anything to email.

Step-by-step: the right workflow for a 35 MB PDF

  1. Diagnose — open the PDF in Adobe Acrobat Pro or our [metadata analyzer]. Identify: how much is image data, how much is fonts, how much is metadata?
  2. Image recompression if image-heavy: target reading quality (150 DPI, q60). Expected outcome: 8-15 MB from a 35 MB input.
  3. Font subsetting if the PDF embeds large fonts: re-export via Acrobat's Preflight. Expected outcome: another 2-5 MB savings.
  4. Metadata strip if cosmetic metadata matters: clean XMP, remove thumbnails. Expected outcome: 100 KB - 2 MB savings.
  5. Re-evaluate size — if under 25 MB, attach. If still over, decide between:
    • More aggressive compression (drop to 100 DPI JPEG q50 → 4-8 MB but visible degradation)
    • Splitting (multiple emails)
    • Cloud-link (Drive / OneDrive / Mail Drop)

Frequently Asked Questions

Will compressing a PDF reduce image quality?

Yes, in most cases. Lossless compression techniques (font subsetting, object stream compression, metadata stripping) preserve quality. Image recompression is lossy and trades quality for size. For email, the loss is usually imperceptible at screen resolution (150 DPI q60-75).

What compression ratio should I expect for a typical PDF?

For text-heavy documents with embedded fonts: 30-50% reduction. For scanned documents with images: 70-90% reduction. For image-heavy reports: 50-80% reduction. The biggest wins come from image recompression of scanned documents.

Can I compress a PDF and preserve PDF/A conformance?

Yes — use lossless techniques only: font subsetting, object stream compression, metadata optimization that doesn't strip PDF/A-required XMP entries. Image recompression to lower quality settings breaks PDF/A unless you re-validate after.

Will compression preserve my digital signature?

Generally no — recompression invalidates document signatures because the content bytes change. If your signed PDF needs compression, you must re-sign after compression.

What's the difference between "lossless" and "lossy" PDF compression?

Lossless: file bytes differ but render identically. Includes font subsetting, object streams, metadata strip. Lossy: file is permanently downgraded. Includes JPEG quality reduction, downsampling, color space conversion.

How do I know if my PDF is "losslessly compressible"?

Run pdfimages -list input.pdf to enumerate embedded images and their sizes. If images dominate, lossy compression is required and you'll trade quality. If fonts/metadata dominate, lossless compression is enough.

Should I compress before or after signing?

After. Compression invalidates signatures.

Does this affect accessibility / tagged PDFs?

Yes — image recompression that uses different /Filter entries can break screen reader navigation if /StructTreeRoot and /ParentTree aren't updated. Modern compressors handle this.

Related Guides

Related Tools

  • Compress PDF — browser-based compression
  • Merge PDFs — combine compressed PDFs
  • Split PDF — break a large PDF into email-sized chunks
  • PDF to PNG — extract images for re-compression via image editor