How to Compress a PDF on Mac: 5 Methods Compared

By FileConvertLab

A large 25 MB PDF file (red, too big for email) transforming via a compression arrow into a small 3.2 MB PDF (green, email-ready). Five method cards: 1. Online compressor (recommended, 87% reduction, quality slider), 2. Preview Reduce File Size (built-in, 77% reduction, no controls), 3. ColorSync Utility (custom Quartz filters, control DPI limits), 4. Ghostscript via Homebrew (Terminal, 3 preset levels, batch-capable). Bottom table shows real results: online 3.2 MB excellent quality, Preview 5.8 MB acceptable, Ghostscript /ebook 4.5 MB good, ColorSync custom 6.2 MB varies.
PDF compression on Mac: a red 25 MB PDF shrinks via a green compression arrow to a green 3.2 MB PDF. Five methods: 1. Online compressor (green, best — 87% reduction, quality control slider, no install), 2. Preview (blue, built-in — File → Export → Quartz Filter → Reduce File Size, 77% reduction but unpredictable quality), 3. ColorSync Utility (purple, buried in /Applications/Utilities — custom Quartz filters, DPI control), 4. Ghostscript via Homebrew (amber, Terminal — gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook, 3 presets, batch-capable). Results table comparing 25 MB PDF compression: online 3.2 MB (excellent), Preview 5.8 MB (acceptable), Ghostscript /ebook 4.5 MB (good), ColorSync custom 6.2 MB (varies). Notes: online at quality 85 hits ~2.1 MB for email, Preview is unpredictable with image DPI, online tools show estimated size before committing.

You have a PDF that is 25 MB, 50 MB, or more. You need to email it, upload it to a portal with a 10 MB limit, or just stop it eating your cloud storage. Your Mac has everything you need to compress it — some tools are hidden in Utilities, some are one command in Terminal, and some are online and require nothing but a browser. Here are five methods, with real file size measurements so you can pick the right one.

For the quickest result with quality control, use the PDF compressor — drag your file, set the quality slider, and download a compressed PDF in seconds. Works on any Mac, any browser.

Method 1: Online PDF Compressor (Best Quality/Size Ratio)

An online compressor is the best all-around option. It handles the file on a server with a dedicated compression engine — more sophisticated than macOS Quartz filters — and gives you a quality slider to control the trade-off.

  1. Open the PDF compressor in your browser.
  2. Drag your PDF onto the upload area (or click to browse).
  3. Adjust the quality slider: 90 for minimal loss, 75 for aggressive compression, 85 as the sweet spot.
  4. Click Compress. The file uploads, processes on the server, and downloads automatically. In testing with a 25 MB document-heavy PDF (text, embedded images, charts, no scans), the online compressor at quality 85 produced a 3.2 MB file — 87% smaller — with images slightly softened but still crisp on screen and acceptable when printed. At quality 95, the file was 6.8 MB with near-identical visual quality.

Method 2: Preview (Built-In, Instant, Unpredictable)

Preview is on every Mac. Its compression is one click — but you have zero control over the result.

  1. Open the PDF in Preview (the default — double-click the file).
  2. Go to File → Export (not Export as PDF — that does not compress).
  3. In the Quartz Filter dropdown, select Reduce File Size.
  4. Click Save. Preview overwrites or creates a new file depending on your choice. On the same 25 MB test file, Preview's Reduce File Size produced a 5.8 MB file — 77% smaller. The text remained sharp, but images were noticeably softer. The problem with Preview is unpredictability: the same filter might reduce images to 150 DPI on one PDF and 72 DPI on another, with no indication of what it chose. Always check the result before discarding the original.

Method 3: ColorSync Utility (Preview's Engine, Your Rules)

ColorSync Utility lives in /Applications/Utilities. It applies the same Quartz filters as Preview, but you can create custom filters with specific image DPI limits and JPEG quality levels — solving Preview's unpredictability problem.

To create a custom filter: open ColorSync Utility, click the Filters tab, click the + button. Add Image Compression with JPEG quality 0.8 (80%) and a maximum image size of 200 DPI. Name it "PDF Compress 200 DPI". Now open your PDF in ColorSync (File → Open), select your custom filter, click Apply, and save. This gives you Preview's speed with control over the output.

Method 4: Ghostscript via Homebrew (Terminal, Batch, Powerful)

Ghostscript is the professional-grade PDF processor. It parses the entire PDF, removes redundancies, recompresses images with your chosen settings, and writes a clean output file. It is command-line only but handles batch processing, automation, and edge cases that Preview chokes on.

Install:

brew install ghostscript Basic compression (ebook quality, best for documents):

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=compressed.pdf input.pdf The -dPDFSETTINGS flag is the key control: /screen = 72 DPI, smallest files, screen viewing only. /ebook = 150 DPI, good balance, documents look fine printed. /printer = 300 DPI, high quality, large files. /prepress = 300 DPI with colour preservation, for professional printing. On the 25 MB test file, /ebook produced 4.5 MB (-82%) with image quality between online compressor and Preview.

Method 5: Automator (Batch Compression App)

Automator is macOS's built-in automation tool. You can create a mini-application that compresses any PDF dropped on it — useful for recurring batch tasks.

  1. Open Automator (in /Applications). Choose Application as the document type.
  2. From the Actions library (left panel), drag Get Specified Finder Items into the workflow. Leave the list empty — files will be provided when you drop them on the app.
  3. Drag Apply Quartz Filter to PDF Documents into the workflow. Select Reduce File Size (or your custom ColorSync filter).
  4. Save the application as "Compress PDF.app" to your Desktop or Dock.
  5. Now drag any PDF file onto the app icon — it compresses automatically. Automator uses the same Quartz engine as Preview, so quality is identical. The advantage is workflow speed: drop 20 PDFs on the icon and walk away.

Real Results: 25 MB Test PDF Compressed

MethodOutput sizeReductionImage qualityText quality
Online (quality 85)3.2 MB-87%Good — slightly softenedPerfect — vector preserved
Online (quality 95)6.8 MB-73%Excellent — near-identicalPerfect — vector preserved
Preview Reduce File Size5.8 MB-77%Acceptable — noticeably softerPerfect — vector preserved
Ghostscript /ebook4.5 MB-82%Good — 150 DPIPerfect — vector preserved
Ghostscript /screen2.1 MB-92%Poor — 72 DPI, screen onlyPerfect — vector preserved

Related Tools

After compressing, you might need to further process the PDF. Use the Merge PDF tool to combine multiple compressed PDFs into one document. To extract specific pages before compressing (reduce size by removing unnecessary pages), use Split PDF . For making scanned PDFs searchable before or after compression, the OCR PDF tool adds a text layer without affecting file size significantly.

Quick Summary

  • Online compressor is the best overall choice — quality slider, 87% reduction on test file, text stays perfectly sharp.
  • Preview is instant but unpredictable — good for quick one-offs where exact quality does not matter.
  • ColorSync Utility for custom Quartz filters — set your own DPI limits and JPEG quality, then reuse the filter.
  • Ghostscript for batch processing and automation — four presets from /screen (smallest) to /prepress (print-ready).
  • Automator for a one-click compression app — drop PDFs on the icon and walk away.
  • Text in PDFs is not affected by compression. Only embedded images are recompressed. If your PDF is text-only, it is already as small as it gets.

Frequently Asked Questions

How do I compress a PDF on Mac for free?

The fastest free method is Preview, built into every Mac. Open the PDF in Preview, go to File → Export, and in the Quartz Filter dropdown choose Reduce File Size. It applies JPEG compression and downsamples images, typically achieving 50-70% size reduction with no additional software. For better results with quality control, use an online PDF compressor — drag and drop, adjust the quality slider, and download. This is also free and gives you more control over the output quality.

Does Preview's Reduce File Size reduce quality?

Yes, and unpredictably. Quartz's Reduce File Size filter compresses images and downsamples them — but you cannot control how much. Sometimes it reduces images to 150 DPI (acceptable), sometimes to 72 DPI (screen only, looks bad printed). There is no preview, no slider, no settings. The result varies by PDF content. For critical documents, always verify the output before deleting the original. If quality matters, use an online compressor with a quality slider or the ColorSync Utility to create a custom filter with specific DPI limits.

How do I compress a PDF to under 25 MB for email on Mac?

Gmail and most email providers cap attachments at 25 MB. For a PDF that is 40-100 MB: use an online compressor with a quality slider (set to 80-85%), which typically achieves 85-95% reduction while keeping text sharp and images acceptable. Alternatively, in Preview, use File → Export → Quartz Filter → Reduce File Size — this usually brings a 50 MB file to 15-20 MB. For large batches, Ghostscript with the /ebook preset downsamples images to 150 DPI and typically produces files under 10 MB. If the file is still too large, split it into smaller PDFs or use a file sharing link instead of email attachment.

Can I compress a PDF on Mac without losing text quality?

Yes. Text in a PDF is stored as vector data (or embedded fonts), not as images. Compression tools that only target images leave text untouched. Preview's Reduce File Size, ColorSync Quartz filters, Ghostscript with /printer or /prepress presets, and online compressors at quality 90+ all preserve text as perfectly sharp vectors. The risk is with scanned PDFs — if your PDF is a scan (image of text, not actual text), compression will soften the text. For scanned documents, use OCR first to add a searchable text layer, then compress — or use a higher quality setting.

How do I use Ghostscript to compress PDF on Mac?

First install Ghostscript via Homebrew: open Terminal and run 'brew install ghostscript'. Once installed, the command is: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=compressed.pdf input.pdf. The /dPDFSETTINGS flag controls compression: /screen = 72 DPI images (smallest, lowest quality), /ebook = 150 DPI images (good balance, best for documents), /printer = 300 DPI images (high quality, large files), /prepress = 300 DPI with colour preservation (largest, for professional printing). Ghostscript also removes unused objects, duplicate fonts, and metadata bloat.

What is the ColorSync Utility and how does it compress PDFs?

ColorSync Utility is a macOS system tool in /Applications/Utilities. It applies Quartz filters to PDFs — similar to Preview, but with the ability to create custom filters. Open ColorSync, go to File → Open, select your PDF. Click the Filter dropdown — you will see Reduce File Size and other built-in filters. To create a custom filter: go to the Filters tab, click +, and configure image compression settings (JPEG quality, maximum DPI). This gives you Preview-level convenience with Ghostscript-level control — the best middle ground on Mac.

Which PDF compression method is fastest on Mac?

Preview's Reduce File Size is instant for most files (1-5 seconds). It processes in memory and saves directly — no upload, no server round-trip. ColorSync is equally fast since it uses the same Quartz engine. Ghostscript is slower (10-30 seconds for a 50 MB file) because it parses and rewrites the entire PDF structure. Online compressors depend on your internet speed — uploading a 50 MB file over a typical home connection takes 10-30 seconds, processing takes 5-15 seconds, and download takes another 5-10 seconds. Total: 20-60 seconds. For a single PDF under time pressure, Preview wins. For quality control, the extra 30 seconds for an online compressor is worth it.

Can I batch compress multiple PDFs at once on Mac?

Yes. Three approaches: 1. Online compressor — drag multiple files at once, they compress sequentially and download as individual files or a zip. 2. Automator — create a workflow: Files & Folders → Get Specified Finder Items, then PDFs → Apply Quartz Filter to PDF Documents. Save as an application. Drop PDFs on it and it batch compresses them. 3. Ghostscript in Terminal — create a loop: for f in *.pdf; do gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile="compressed_$f" "$f"; done. For most users, the online compressor is simplest — no configuration, just drag and wait.

How to Compress a PDF on Mac: 5 Methods Compared (2026)