To reduce PDF file size, shrink the images inside it, because images are usually most of the weight. On a Mac, open the PDF in Preview and choose File > Export > Quartz Filter > Reduce File Size. Anywhere else, run Ghostscript with -dPDFSETTINGS=/ebook, or compress the pictures in the source document before you export it.
The right method depends on whether you still have the original document. This article compares the three free, local methods that have official documentation. All of them run on your own computer, so the file is never uploaded.
Which method to use
| Method | Needs the source document? | Control | Platform |
|---|---|---|---|
| Compress pictures in Word | Yes | Resolution in ppi, cropped-area removal, font embedding | Windows, Mac (Word) |
| Preview, Reduce File Size filter | No | One preset, no settings in the dialog | macOS |
Ghostscript pdfwrite | No | Five presets, plus individual image settings | Windows, macOS, Linux |
If you still have the Word file, fix it there first: you lose nothing, because the pictures are compressed before the PDF exists. If all you have is a finished PDF, use Preview or Ghostscript.
Why PDFs are large in the first place
Text is cheap. Pictures are not. A page that is a scan or a photo is stored as an image, and its size grows with the square of its resolution. Take a US Letter page (8.5 x 11 in) as a worked example:
| Resolution | Pixels on the page | Total pixels |
|---|---|---|
| 300 dpi | 2550 x 3300 | about 8.4 million |
| 150 dpi | 1275 x 1650 | about 2.1 million |
| 72 dpi | 612 x 792 | about 0.48 million |
Halving the resolution leaves a quarter of the pixels. That is why dropping a scan from 300 dpi to 150 dpi shrinks it so much, and why it also blurs small text. The exact file size also depends on the compression format used, so treat the pixel counts as a guide, not a prediction of megabytes.
Method 1: Compress the pictures in Word before exporting
This follows Microsoft's documented steps for Word:
- Select a picture. The Picture Format tab appears.
- In the Adjust group, choose Compress Pictures.
- Under Compression options, leave Apply only to this picture unselected so the change applies to every picture in the document.
- Optionally select Delete cropped areas of pictures. Microsoft warns that the cropped data cannot be recovered afterward.
- Under Resolution, choose Use default resolution. That default is set under File > Options > Advanced.
To set the default, go to File > Options > Advanced and find Image Size and Quality. Select Discard editing data, make sure Do not compress images in file is unselected, and pick 150 ppi or lower in Default resolution. Microsoft notes that most documents do not need higher. Discarding editing data means pictures cannot be restored to their pre-edit state, so keep a copy of the document.
Fonts
Embedded fonts add size. Under File > Options > Save, in the section Preserve fidelity when saving this document, leaving Embed fonts in the file unselected reduces size the most. If you must embed, select Embed only the characters used in the document and Do not embed common system fonts. Note that this setting is about the Word file. Whether it carries into a PDF export depends on the export path, which Microsoft's article does not cover, so check the result.
Method 2: Reduce File Size in Preview (macOS)
Apple documents this for any PDF you can open in Preview:
- Open the PDF in Preview.
- Choose File > Export.
- In the Quartz Filter pop-up menu, choose Reduce File Size.
- Click Save. If Preview asks to replace the existing file, cancel and enter a new name in the Export As field instead.
Give the output a new name so the original stays intact. Apple's own warning: "When compressed, the PDF may be of lower quality than the original." The built-in filter has no settings, so you cannot choose a target resolution. Users on the Apple Support Community report that results vary, and that some files grow. If that happens, keep the original, or use Ghostscript.
Method 3: Compress with Ghostscript
Ghostscript rewrites the PDF through its pdfwrite device. The one-line form, with the preset in -dPDFSETTINGS, is:
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -sOutputFile=out.pdf in.pdf
Replace in.pdf with your file. The output goes to out.pdf, so the original is untouched. The name of the executable differs by platform (on Windows it is not gs in every install), so check what your Ghostscript installation provides.
The Ghostscript documentation defines these presets:
| PDFSETTINGS | Intent | Colour and grey images | Mono images |
|---|---|---|---|
/screen | Low resolution, modelled on Acrobat Distiller's "Screen Optimized" | 72 dpi | 300 dpi |
/ebook | Medium resolution, modelled on "eBook" | 150 dpi | 300 dpi |
/printer | Modelled on "Print Optimized" | 300 dpi | 1200 dpi |
/prepress | Modelled on "Prepress Optimized" | 300 dpi | 1200 dpi |
/default | General purpose, possibly at the cost of a larger file | 72 dpi | 300 dpi |
For reading on a screen, /ebook is the usual middle ground: 150 dpi matches Microsoft's own guidance for Word. Try /screen when you need the smallest file and the PDF is only for viewing. Per the documentation, leaving -dPDFSETTINGS unset, or using /default, gives output closest to the input, so do not expect a big reduction from those. The documentation also says /prepress does not give the highest quality, so it is not a "best" setting just because of its name.
Example output size check on Windows PowerShell (the numbers are made up for illustration):
Get-Item in.pdf, out.pdf | Select-Object Name, Length
Compare the Length values in bytes. If out.pdf is not clearly smaller, delete it and keep the original.
Check the result before you send it
- Zoom into small text and thin lines. Low-resolution downsampling blurs scanned text first.
- Compare file sizes. A "compressed" copy that is larger than the original is a failed attempt, not a result.
- Keep the original. Every method above is lossy for images, and none can restore detail afterward.
- Test form fields and links if the PDF has them. Rewriting a PDF can change interactive features, and the documentation reviewed here does not promise they survive. Open the output and try them.
If the file is still too big
Work out where the weight is. A PDF made from a 40-page phone-camera scan is mostly photographs, so only lower resolution helps. A PDF made from a slide deck with full-bleed photos is the same case. If it is mostly text and still large, embedded fonts are the likely cause, and re-exporting from the source with font embedding limited (Word's options above) is the fix. As a last resort, split the PDF into parts and send each separately. The goal is a file that meets the limit and stays readable, not the smallest possible file.
Frequently asked questions
- Why did my PDF get bigger after compressing it?
- Compression tools re-encode the file, and if the images were already small or already compressed, re-encoding can add overhead instead of removing it. Apple Community users report that some PDFs grow after Preview's Reduce File Size filter. Keep the original, compare the two sizes, and use whichever is smaller.
- Can I reduce PDF file size without losing quality?
- Only partly. Removing unused data, such as cropped image areas or embedded fonts, changes nothing visible. Lowering image resolution or increasing image compression always discards detail. Whether you notice depends on how the PDF will be used: 72 to 150 dpi is fine on a screen, but small text in scanned pages blurs quickly.
- What resolution should images in a PDF have?
- For on-screen reading, Microsoft's guidance for Word is 150 ppi or lower, since most documents do not need more. Ghostscript's /ebook preset downsamples colour and grey images to 150 dpi, and /screen to 72 dpi. Use 300 dpi only if the PDF will be printed.
- Is it safe to compress a confidential PDF with an online tool?
- An online compressor uploads your file to someone else's server, so for contracts, medical or financial documents use a local method: Preview, Word's own export, or Ghostscript. All three run on your machine.