Skip to content

Cookie settings

Optional analytics help us understand which pages and tools are useful. If you allow them, we use Google Analytics. Your files are never included, and every tool works the same if you decline. Cookie policy

How to Compress a PDF for Email Without Losing Quality

Attachment limits for Gmail, Outlook, iCloud Mail and Yahoo, why some PDFs are huge, what compression actually changes, which setting to pick, and what to do when a file still won't fit.

By Julian Mercer9 min read

A PDF that bounces back with "attachment too large" is usually only a few megabytes over the line. Getting it under the limit without turning a contract into a blurry mess takes a little understanding of where the size comes from. This guide covers the real limits for the main email providers, why some PDFs are huge, what compression changes inside the file, and how to pick a setting.

Email attachment size limits by provider

These are the limits each provider publishes on its own help pages. They change from time to time, so check the linked page if you are close to the line.

ProviderPublished limitWhat happens above it
Gmail (personal)25 MBGmail replaces the attachment with a Google Drive link
Outlook.com20–25 MB (see note)Share through OneDrive instead (up to 2 GB)
Outlook with a work (Exchange) account10 MB by defaultSet by your organization
iCloud Mail20 MB per messageUp to 5 GB with Mail Drop turned on
Yahoo Mail25 MB for all attachments combinedSplit the files or share a link

Sources: Gmail attachment limits, Outlook.com sending limits, Reduce attachment size in Outlook, iCloud Mail limits, Yahoo Mail message size limits.

A few details matter more than the headline numbers:

  • Microsoft publishes two figures. Its Outlook.com sending-limits page says 25 MB, while its Outlook desktop article says 20 MB for Outlook.com and internet accounts and 10 MB by default for Exchange accounts. If you use Outlook, aim for 20 MB or less.
  • Work and school accounts are set by an administrator. Google says Workspace admins set their own limits, and Exchange limits vary by organization. The 10 MB Exchange default is common, so a file that passes at home can fail at the office.
  • The recipient's limit counts too. A 22 MB PDF can leave Gmail and still be rejected by a server that accepts only 20 MB.
  • Attachments grow in transit. Email carries attachments as text using Base64 encoding, which turns every 3 bytes into 4 characters (RFC 2045). That is roughly a third larger on the wire. Providers don't always say whether their limit is measured before or after encoding, so leave headroom.

A practical target: keep the PDF under about 15 MB if you don't know what the recipient uses, and under about 7 MB for anyone on a corporate mail system.

What makes a PDF big

A PDF is a container. Text is cheap: a 50-page report written in a word processor and exported to PDF is often well under 1 MB. The weight almost always comes from something else.

Images and scans

A scanned page is a photograph of the page. An A4 sheet scanned in color at 300 dpi is about 2,480 × 3,508 pixels, roughly 8.7 million pixels per page. Even saved as JPEG, that can be anywhere from a few hundred kilobytes to a couple of megabytes per page, depending on the content and the scanner settings, so a 20-page color scan can easily pass 20 MB. Photos pasted into a slide deck behave the same way: a 12-megapixel phone photo shown at postcard size still carries all 12 megapixels.

Fonts and everything else

PDFs embed fonts so the document looks the same everywhere. Most exporters include only the characters actually used (a "subset"), but a file that embeds complete fonts, especially large CJK fonts, can carry megabytes of font data. Attached files, embedded media and leftovers from repeated edits add weight too.

How to tell which one you have

Open the PDF and try to select a word of text.

  • You can't select anything: it's a scan, and nearly all the weight is images. Compression will help a lot.
  • Text selects but the pages have photos, charts exported as images, or screenshots: images are still the weight. Compression will help.
  • Text selects and the pages are mostly words: compression will barely move it. Look at fonts, attachments or the source document instead.

What PDF compression actually does

"Compress" can mean several different operations:

  1. Downsampling images. Reducing the pixel dimensions of each image. Halving the width and height removes three quarters of the pixels. This is where most of the savings come from.
  2. Recompressing images. Re-encoding images as JPEG at a chosen quality. Lower quality means smaller files and more visible artifacts around sharp edges such as letters.
  3. Packing the file structure. Modern PDFs can store their internal objects together in compressed "object streams" instead of as loose plain-text entries. This trims overhead without touching what you see, typically a modest gain.
  4. Font subsetting and cleanup. Some desktop tools also subset fonts, remove unused objects or strip attachments.

Text and vector graphics (lines, charts drawn as shapes, vector logos) aren't affected by image compression, which is why a document can shrink heavily and keep perfectly sharp text.

How the ToolsVerse compressor works

The Compress PDF tool does steps 1–3, in your browser, so the file isn't uploaded. Specifically:

  • Three levels. Keep more detail caps each image's longest side at about 3,200 pixels and uses high JPEG quality. Balanced caps it at about 2,200 pixels with medium quality. Smallest file caps it at about 1,400 pixels with stronger compression.
  • Only images are touched. Text, vector graphics, form fields and links aren't rasterized or changed.
  • Some images are left alone on purpose. Images with transparency masks, images stored in anything other than plain RGB or grayscale (for example CMYK, indexed color or an embedded color profile), and 1-bit black-and-white scans are kept exactly as they were, because re-encoding them as JPEG could change how they look. An image is also kept if the new version wouldn't be smaller.
  • No size gain, no change. If the result isn't smaller, you get the original back.
  • Digitally signed PDFs are refused, because any rewrite would invalidate the signature. Password-protected PDFs need their password first.
  • Browser limits apply: up to 25 MB and 1,000 pages per file.

It doesn't subset fonts or remove attachments, so a PDF that is large because of fonts won't shrink much.

Choosing a setting

The useful way to think about image settings is effective resolution: how many pixels end up across the printed page. For an A4 page (11.7 inches tall), a full-page image capped at:

LevelLongest sideEffective resolution on A4Good for
Keep more detail~3,200 px~270 dpiDocuments that may be printed, fine print, detailed drawings
Balanced~2,200 px~190 dpiMost email: contracts, forms, reports with photos
Smallest file~1,400 px~120 dpiOn-screen reading only, photo-heavy decks, getting under a hard cap

What that means in practice:

  • Normal body text in a scan usually stays readable at around 150 dpi and above. Balanced is comfortably above that.
  • At around 120 dpi, small print starts to suffer. Footnotes, small table text and handwriting soften first, so be careful with Smallest file on scans with small type.
  • Screens show fewer pixels than print. A laptop showing a whole A4 page often uses only about 1,000–1,400 pixels of height, so Smallest file can look fine on screen and only show its limits when zoomed or printed.

A sensible routine: start with Balanced. If it's still too big, try Smallest file. If Balanced already brings you well under your target, try Keep more detail and see whether it also fits.

A worked example

Say you have a 30-page color scan at 300 dpi that comes to 38 MB, and you need it under 20 MB for Outlook.

  • Each page image is about 2,480 × 3,508 pixels. Balanced scales it so the long side is 2,200 pixels, about 1,555 × 2,200. That's roughly 39% of the original pixel count, before the JPEG re-encoding saves more.
  • Exact savings depend on the content, but cutting pixels by more than half and re-encoding usually gets a scan like this well under target. Smallest file goes further, to about 16% of the original pixels.
  • The compressor's browser limit is 25 MB per file, so split a 38 MB file first (see below), then compress each part.

Check the quality before you send

Compression is permanent for the output file, so keep the original and check the copy:

  1. Zoom to 100% on the smallest text. Page numbers, footnotes, fine print in tables. If you have to squint, use a gentler level.
  2. Look at signatures, stamps and handwriting. These lose detail before printed text does.
  3. Print one page if the recipient will print it. Screens hide softness that paper shows.
  4. Confirm the size with headroom. A file at 24.8 MB is not "under 25 MB" once it's encoded for email.

Common mistakes:

  • Compressing a file twice. Each JPEG re-encode loses detail again. Go back to the original and use a stronger level instead.
  • Compressing a signed contract. Any change breaks a digital signature. Send the signed original through a link instead.

Alternatives when compression isn't enough

Split the PDF

If the document is long, send it in parts. The Split PDF tool breaks a file into separate documents by page range, for example pages 1–15 and 16–30, which you can compress individually and send as "Part 1 of 2" and "Part 2 of 2". It's also the way to get a file over 25 MB into the compressor.

Fix the images before they go into the PDF

If you're building the PDF from photos or screenshots, shrink the images first. An image compressor can turn a multi-megabyte phone photo into a few hundred kilobytes before it's inserted, and around 2,000 pixels on the long side is usually plenty for a full-page image in an emailed document.

Every major provider offers a link option: Google Drive in Gmail, OneDrive in Outlook, Mail Drop in iCloud Mail (up to 5 GB, downloadable for 30 days). A link avoids the size problem and keeps full quality, which suits signed documents and print-ready files. The trade-offs: the recipient has to click through, the link's sharing settings decide who else can open it, and some corporate networks block file-sharing sites.

Key takeaways

  • Gmail and Yahoo allow 25 MB, iCloud Mail 20 MB, Outlook 20–25 MB depending on Microsoft's page, and many work accounts 10 MB. Aim well below the limit because attachments grow about a third when encoded.
  • Images and scans make PDFs big. Text almost never does, so test by trying to select text.
  • Compression mostly works by downsampling and re-encoding images. Text and vector graphics stay sharp.
  • Start with a balanced setting, check small print and signatures at 100% zoom, and keep the original.
  • If it still won't fit, split the PDF or share a link instead of crushing the quality.

When you're ready, open Compress PDF, choose a level, and compare the new size with the original before you attach it. The file stays on your device the whole time.

Tools for this