Skip to content
86% off$349 $48.86code BF2026

Guides

How to Compress a PDF on Mac (Keep Text, Fit Under 5 MB)

Shrink a PDF on Mac with Preview's Reduce File Size, keep text selectable, or fit under a limit like 5 MB. Exact steps, fixes, and when each method works.

GuideUpdated 8 min read

On this page

To compress a PDF on a Mac without installing anything, open it in Preview, choose File ▸ Export…, set Quartz Filter to Reduce File Size, and save it under a new name. It's free and takes a few seconds. You get no control over quality or the final size, though. Scanned pages can come out blurry, and some files get bigger instead of smaller.

If the text has to stay selectable, or the file has to fit under a limit such as 5 MB for an email or upload form, you need a tool with those options. Both routes are below.

Compress a PDF on Mac with Preview (built in)

Preview can shrink a PDF through a Quartz filter called Reduce File Size. The filter has no settings: no quality slider, no resolution choice, no target size. For a quick, one-off job on a PDF full of photos, that is often enough.

  1. Open the PDF in Preview (double-click it, or right-click it and choose Open With ▸ Preview).
  2. Choose File ▸ Export…. Don't use Export as PDF…, because only Export… has the filter option.
  3. In Export As, type a new name (for example, add "small" to the end) so the original isn't replaced.
  4. Check that Format is set to PDF.
  5. Open the Quartz Filter menu and choose Reduce File Size.
  6. Click Save.

To compare sizes, select a file in Finder and press ⌘I (Command-I) to open Get Info, or switch the Finder window to List view.

What Preview can't do:

  • Let you pick a quality level or resolution.
  • Aim for a target size such as "under 5 MB".
  • Compress several PDFs in one go. Export works on the open document, so you repeat the steps for each file.

Why Preview's result can be blurry or bigger

Reduce File Size recompresses the images inside the PDF at one fixed, aggressive setting, and you can't make it gentler. That's why photos and scanned pages can come out soft or blocky, and small print on a scan can become hard to read.

The opposite problem also happens. If a PDF is mostly text and vector graphics, or its images are already compressed efficiently, there is little for the filter to remove, and rewriting the file can make it larger. Compare the sizes before you send the new file, and keep the original until you have.

The fix for both is a tool that lets you choose how hard to compress and shrinks only the images.

Compress a PDF and keep the text selectable

Most of a PDF's size usually comes from images: photos, screenshots and scanned pages. The text itself is small. Good compression shrinks the images and leaves the text, links and bookmarks alone, so you can still search, select and copy.

Gizmojar, our file and media toolbox, does this with its PDF Compress tool in Keep Text mode. It runs entirely on your Mac, and the PDF isn't uploaded anywhere.

  1. Press ⌃⌥Space (Control-Option-Space) to open the Gizmojar command bar.
  2. Drag the PDF into the jar.
  3. Type "compress" and use ↑/↓ to select Compress.
  4. Press ⌘↵ to open Compress Options.
  5. Set Mode: to Keep Text and Quality: to Medium. These are the defaults, but Gizmojar remembers your last choice.
  6. Click Run or press ↵.
PDF Compress options with Mode Keep Text and Quality Medium

The result is saved next to the original with "(compressed)" added to its name. Your original isn't changed or overwritten. The result card shows the size before and after, and you can drag the new file straight into an email.

Keep Text downsamples the images to these settings:

QualityImage resolutionJPEG quality
High200 dpi80%
Medium150 dpi65%
Low110 dpi50%

If the result is still too big, click the Smaller chip on the result card. It runs again from the original, not from the compressed copy, so you aren't compressing an already compressed file. The new result replaces the previous one (which moves to the Trash); ⌥-click the chip to keep both.

When to flatten instead

Flatten mode turns every page into an image ("Pages become <dpi> dpi images. Smallest; text can't be selected."). It renders pages at 150 dpi (High), 110 dpi (Medium) or 72 dpi (Low). Use it for scanned PDFs, where the pages are already images. At 72 dpi, small print gets fuzzy when you zoom in or print, so start with Medium or High.

If you flatten a document but still want to search it, Gizmojar's Make Searchable tool can add an invisible OCR text layer afterward. Links and form fields aren't kept, and it's worth checking the file size again once it's done.

Fit a PDF under a size limit for email

When a form or mail server says "maximum 5 MB", guessing at quality levels wastes time. Gizmojar's Fit Size mode takes a target and works toward it: it "Tries keeping text first, then flattens if needed."

  1. Add the PDF to the command bar or the main window.
  2. Select Compress and press ⌘↵.
  3. Set Mode: to Fit Size.
  4. In Fit under:, type a size in MB or click a quick button (1, 2, 5, 10, 20). The default is 5 MB.
  5. Click Run.

Each file's row shows how the target was reached: "Kept text" or "Flattened to images". If Gizmojar can't reach the target, it shows the smallest size it managed and at what resolution ("Couldn't reach … (smallest: … at N dpi)."), so you can decide whether to remove pages or split the document.

If you already compressed a file, the Fit under… chip on the result card does the same, starting from the original.

There is also a built-in recipe, PDF under 5 MB, that runs Compress with a 5 MB target. After you add PDFs, click its token in the Recipes row to run it on all of them, or drag the token onto one file to run it on that file only.

Compress many PDFs at once

Preview handles one document at a time. In Gizmojar you can drop several PDFs, or a whole folder, and run Compress on all of them with the same settings.

  • Folders are scanned including subfolders. Results go into a mirror folder named <Folder> (Gizmojar) next to the original, with the same subfolders and file names. Files that failed or didn't get smaller are copied as-is, so the counts match.
  • Several separate files produce results in a dated folder, for example "Gizmojar 2026-11-06 14.03 – Compress".
  • All or nothing: by default, results are saved only when every file in the batch succeeds. If some fail, Gizmojar asks whether to keep the ones that worked or discard them.
  • Undo: after saving, the banner has an Undo button that moves the results to the Trash.
  • Different settings for one file: in the batch list (shown for folders and for more than 24 files), right-click a row and choose Options for This File…. These overrides last for the current session only.

To compress PDFs automatically, open File ▸ Recipes & Watch Folders… (⇧⌘R), go to the Watch Folders tab, click Add Folder… and choose the PDF under 5 MB recipe. New PDFs that land in that folder are compressed into a "Gizmojar Results" subfolder. Files already in the folder when you start watching are left alone, and Gizmojar must be running. Watch folders also don't skip digitally signed PDFs, so don't point one at a folder of signed contracts.

The PDF tools documentation and the compression documentation list every option.

Which method to use

Your goalUseWhy
Quick shrink of a photo-heavy PDF, quality doesn't matter muchPreview, Reduce File SizeFree, built in, no setup
Smaller file, text still selectable and searchableGizmojar, Keep TextShrinks images only; text, links and bookmarks stay
Shrink a scanned document as far as possibleGizmojar, FlattenPages become images at a resolution you choose
Must be under a set size (email, upload form)Gizmojar, Fit Size or the PDF under 5 MB recipeKeeps text if it can, flattens only if needed
A folder of PDFs, or new PDFs as they arriveGizmojar batch or watch folderOne run, same settings, folder structure kept
A text-only PDF that won't shrinkNeither; see belowThere are few images to compress

Gizmojar is part of MacSuite ($349 one-time as of November 2026, see pricing), and every tool works during the 7-day free trial.

What to do when a PDF won't shrink

The PDF is mostly text. Text and vector drawings take little space, so there isn't much to remove. Flattening text pages into images loses selectable text and rarely helps. If the file is still too large, remove pages you don't need (Gizmojar's Delete Pages accepts ranges like 2, 5-7) or use Split, which saves one PDF per page.

Preview made the file bigger. Delete the exported copy and keep the original. Try Keep Text or Fit Size instead.

Gizmojar says "Original kept: already small". The result wasn't at least 2% smaller than the original, so Gizmojar didn't save it. The original is probably already well compressed. Try Low quality or Flatten. To save the result anyway, open Settings ▸ General and set If a result isn't smaller: to Save Anyway.

"This PDF is password-protected. Remove the password first." Compress can't open encrypted PDFs. Run Remove Password (enter it in Current password:), compress the unlocked copy, then run Add Password on the result. Remove Password doesn't keep bookmarks. For other ways to add the password back, see how to password protect a PDF on Mac.

"Digitally signed: left unchanged". The PDF has a certificate signature, and rewriting it would invalidate that signature, so Gizmojar skips it. If you don't need the signature to stay valid (a copy for your own records, for example), click Process Anyway. Otherwise, send the original.

A scan is still huge after Keep Text. Each page of a scan is one large image. Keep Text at Low brings images down to 110 dpi. If that isn't enough, use Flatten at Medium, or Fit Size with your target.

"Not enough disk space" or "The result couldn't be written completely." Gizmojar reopens every PDF it writes to check it's complete. Free some space on the destination drive and run the tool again.

FAQ

Does compressing a PDF lower its quality?

Only the images change. Keep Text leaves text, links and bookmarks untouched and downsamples images to 110–200 dpi, depending on the quality you pick. Flatten turns whole pages into images, so text is no longer selectable.

Does Preview replace my original PDF?

Not if you use File ▸ Export… and give the export a new name, as in the steps above. If you keep the same name and folder, macOS asks before replacing the file.

Are my PDFs uploaded anywhere?

Preview and Gizmojar both work on your Mac. Gizmojar does all processing locally and has no analytics. It goes online only to check its license and look for updates.

Can I compress a PDF and then merge it with others?

Yes, in either order. See how to combine PDFs on Mac. If you need the pages as pictures instead, see how to convert a PDF to JPG on Mac.

Every app.
One purchase.