A PDF file being compressed to fit under the Gmail and Outlook email attachment size limits

How to Compress a PDF for Gmail and Outlook Attachments

A step-by-step guide to shrinking a PDF so it fits within Gmail and Outlook attachment limits, plus what to do when compression alone isn't enough.

To compress a PDF for Gmail or Outlook, upload it to an online tool like compress a PDF, let it downsample the images and strip redundant data, then download the smaller file and attach it as usual. Gmail caps attachments at 25MB and Outlook.com at 20MB, so aim well under that. Most photo-heavy PDFs shrink by half or more.

Key takeaways

  • Gmail allows attachments up to 25MB; Outlook.com caps at 20MB, and many Outlook desktop accounts sit around 20MB or lower.
  • PDFs are usually large because of high-resolution images, embedded fonts, or scans saved at full camera resolution.
  • An online compressor shrinks the file by downsampling images and removing redundant data, often with no visible quality loss.
  • Aim for 10MB or less so the email sends reliably and the recipient can open it without trouble.
  • Email encoding inflates attachments by roughly a third in transit, so a file that looks under the limit can still bounce.
  • If compression isn't enough, split the PDF or share it as a link instead of an attachment.

Why is my PDF too big to email?

A PDF is a container. Inside it sits everything needed to display the document the same way on any device: the text, the layout instructions, embedded fonts, and crucially, every image at whatever resolution it was saved. That last part is almost always the culprit.

When you scan a contract on a phone or office scanner, each page is captured as a full-resolution photo. A single scanned page at 300 or 600 DPI can weigh several megabytes on its own. Multiply that by ten pages and you are suddenly looking at a 30MB file that no email service will accept. The same thing happens when someone drops product photos, screenshots, or a large logo into a design document and exports it without any compression.

Embedded fonts add to the bulk too. To guarantee the document looks identical everywhere, a PDF can carry entire font files inside it. Add scanned signatures, background graphics, and accumulated metadata, and the size climbs fast.

The good news is that most of that weight is recoverable. Images can be downsampled to a resolution that still looks crisp on screen and in print, and a lot of the internal data is simply redundant. That is exactly what a compressor targets, which is why a bloated file often drops by half or more in a single pass.

What the attachment limits actually are

Before you compress, it helps to know the target you are shooting for.

Email serviceAttachment limitWhat happens if you exceed it
Gmail25MBOffers to upload to Google Drive and send a link
Outlook.com (web)20MBOffers to upload to OneDrive and send a link
Outlook desktop (Microsoft 365 / Exchange)Often around 20MB, set by your organizationMay simply bounce, depending on IT policy

A few notes on that table. Gmail's 25MB is generous, but Outlook.com's 20MB is the one that trips most people up, because a file that sails through Gmail can still be rejected by an Outlook recipient. Outlook desktop accounts tied to a company's Microsoft 365 or Exchange server are the wild card: the default is often around 20MB, but some IT teams set it lower, so even a 15MB file can bounce if the policy is tight.

There is a second trap worth knowing. The stated limit usually applies to the total message size after encoding, not the raw file sitting on your disk. Email attachments are wrapped in an encoding called Base64 that inflates them by roughly a third. So a 19MB PDF can become about 25MB once it is packaged for sending, which pushes it past Outlook's 20MB ceiling and sometimes past Gmail's too. This is exactly why a file that looks "under the limit" still refuses to go through.

The practical takeaway: don't aim for the edge. Target 10MB or less and you sidestep encoding overhead, stricter recipient mailboxes, and slow connections all at once. There is no downside to a smaller file as long as it still reads clearly.

How to compress a PDF for Gmail or Outlook

Here is the straightforward path that works for both services.

  1. Open an online PDF compressor. Go to a tool like compress a PDF in your browser. Nothing to install.
  2. Upload your PDF. Drag the file onto the page or click to browse for it. The file is processed on the server and isn't kept long-term.
  3. Choose a compression level if offered. Many tools let you pick between stronger compression (smaller file) and lighter compression (better image quality). For email, the medium or "recommended" setting is usually the sweet spot.
  4. Let it process. The tool downsamples oversized images, removes duplicate and unused data, and rewrites the file more efficiently.
  5. Check the new size. Confirm the result is comfortably under your target, ideally 10MB or below.
  6. Download the compressed PDF and save it somewhere you'll find it again.
  7. Attach it to your email in Gmail or Outlook as you normally would, and send.

That's the whole job for most files. If you want to hit a specific target, our guide on how to compress a PDF to under 2MB for email walks through reaching a tighter ceiling.

Attaching it once it's small

On Gmail, click the paperclip below the compose window, pick your compressed file, and Gmail shows the attachment size right there so you can confirm it's under 25MB before you hit Send. On Outlook.com, use Attach and choose to send it as a copy rather than a OneDrive link if it now fits comfortably. On a phone, attach the downloaded file from your Files or Downloads folder the same way you would any document. If you compressed the PDF on a computer but want to send it from your phone, save the smaller copy to your cloud storage first so it's easy to grab from either device.

The realistic failure mode

Compression is not magic, and it is honest to say where it stops working. The thing that "breaks" most often is scanned documents that are mostly images. Because nearly every byte in a scan is photographic data, the compressor has far less redundant filler to strip out. You can still reduce a scan, but pushing it very small means downsampling the page images, and that can make small text look soft or slightly blurry.

So there is a genuine trade-off: the smaller you force a scanned PDF, the more readable detail you risk losing. If a 40MB scan won't drop below 25MB without going fuzzy, that's the signal to stop compressing and switch strategies, which we cover next. A text-based PDF (one created digitally rather than scanned) almost never hits this wall, because its text stays razor-sharp no matter how hard you compress it.

When compression isn't enough

Sometimes the file is just too dense to fit, no matter how you squeeze it. You have two reliable fallbacks.

Split the PDF into smaller pieces. If you are sending a 60-page report, send it as two or three separate PDFs across a couple of emails. Each piece fits the limit on its own, and the recipient can open them in order with no trouble. This works especially well for documents that already have natural breaks, like chapters, appendices, or monthly statements.

Share a link instead of attaching. Both Gmail and Outlook handle this gracefully. Gmail automatically suggests a Google Drive link when you exceed 25MB. Outlook.com offers the same thing through OneDrive. The recipient clicks the link and downloads the full-quality file, with no size limit standing in the way. Our walkthrough on how to email a PDF that's too big to send covers these options in more detail.

Linking has a quiet bonus: it sidesteps the encoding overhead entirely, and the recipient always gets the original document rather than a compressed copy. The trade-off is that some recipients are wary of clicking links, and a few corporate mail filters strip or flag them, so a sensible note in the email body ("PDF is in the Drive link below") helps the message land.

Quick tips to keep PDFs small in the first place

A little prevention saves a lot of compressing later.

  • Scan at 200–300 DPI, not 600. For documents meant to be read on screen or printed normally, 300 DPI is plenty. Doubling the DPI roughly quadruples the file size for no practical benefit on most text documents.
  • Choose "smallest file size" when exporting. Most programs that create PDFs offer a quality preset. Picking the smaller option at export time often does the compression for you.
  • Crop and resize images before adding them. A 4000-pixel-wide photo dropped into a document that displays it three inches across is carrying a lot of dead weight that never shows on the page.
  • Flatten before you send. If your PDF has form fields, comments, or layers you no longer need, flattening the file collapses them and often trims the size.
  • Avoid re-saving repeatedly. Each round of edits and exports can accumulate leftover data. If a file has ballooned over time, a single compression pass usually cleans it up.

If you need to make other changes alongside shrinking the file, you can edit the PDF and tidy it up in the same session before you send it.

FAQ

Why is my PDF too big to email?

Almost always because of high-resolution images or scanned pages stored at full resolution inside the file. A single scanned page can be several megabytes, so a multi-page scan quickly exceeds Gmail's 25MB or Outlook's 20MB limit. Embedded fonts and accumulated metadata add to it. Compressing the PDF downsamples those images and strips redundant data, usually cutting the size dramatically.

What size should I compress a PDF to for Gmail?

Gmail's hard limit is 25MB, but aim for 10MB or less. Email encoding inflates attachments by about a third during sending, so a file that looks under the limit on your disk can still bounce. Staying well under the cap also helps recipients who have stricter mailbox limits or slow connections.

Will compressing a PDF reduce its quality?

For text-based PDFs, there's no noticeable change; the text stays perfectly sharp. For image-heavy or scanned documents, strong compression downsamples the images, which can make fine detail or small print look softer. Choosing a medium compression level usually shrinks the file substantially while keeping it perfectly readable.

How do I compress a PDF in Outlook directly?

Outlook doesn't have a built-in PDF compressor. Compress the file first in a separate tool, then attach the smaller version. If it still exceeds the roughly 20MB limit, Outlook will offer to upload it to OneDrive and insert a download link instead of attaching the file.

Can I reduce a PDF size for a Gmail attachment without losing the original?

Yes. Compression creates a new, smaller copy and leaves your original file untouched on your computer. Download the compressed version for emailing and keep the full-quality original safely stored. That way you always have the high-resolution file if you need to print or archive it later.

What if my scanned PDF won't compress small enough?

Scans are mostly photographic data, so there's less redundant filler to remove. If it won't fit without going blurry, split it into smaller files and send them across multiple emails, or share it as a Drive or OneDrive link. Linking preserves full quality and avoids size limits entirely.

Usama Ramzan
Written byUsama RamzanFounder, Online PDF Edits

Usama Ramzan is the founder of Online PDF Edits, a browser-based PDF editor built to change text, images, and tables in existing PDFs without breaking their fonts, spacing, or multi-page layout. He writes about practical PDF editing, document workflows, and the engineering behind layout-safe editing.

Recommended reading

View all articles →