Why Your PDF Is Bigger Than It Needs To Be

Most PDFs are bloated because they carry around embedded fonts at full resolution, images saved as uncompressed bitmaps, and redundant metadata that most readers will never use. The average document-heavy PDF can shrink by 60 to 80 percent without any visible quality loss if you know which parts to touch first. The most reliable method I use is Ghostscript with its built-in PDF/A prepress presets. You run it from the command line, point it at your source file, and it recompiles the PDF with optimized compression. Here's the command that has worked for me across thousands of files: ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

The /ebook preset downsamples images to 150 DPI and applies JPEG compression at roughly 75 percent quality. That's the sweet spot for most screen viewing. If you need print quality, switch to /prepress, which keeps images at 300 DPI but still strips out unnecessary streams. There's also /screen for 72 DPI output, which is aggressive and sometimes destroys text clarity on dense documents, so use that one sparingly. I once had a 400-page technical manual that came in at 2.3 GB. Every page had a high-resolution scan of engineering diagrams embedded as lossless images. Running Ghostscript with /ebook cut it down to about 180 MB. The diagrams were still perfectly readable on screen. The original file had zero compression because the person who created it exported it directly from a scanner application that defaults to TIFF embedding.

Other Approaches That Actually Work

Browsers can also compress PDFs. If you open a PDF in Chrome or Edge, go to Print, and select Save as PDF, the browser rebuilds the document with its own compression settings. This usually trims 20 to 40 percent off the file size. It's not as aggressive as Ghostscript but requires no installation and handles corrupted or problematic PDFs that other tools choke on. I keep this in my back pocket for files that Ghostscript refuses to process without throwing errors. Adobe Acrobat's Optimize PDF tool gives you more granular control. You can set image downsampling thresholds per color, grayscale, and monochrome channels, choose between JPEG and JPEG2000 compression, and even remove embedded fonts that aren't actually needed. The catch is that you need a paid Creative Cloud subscription to access it. Free alternatives like PDFsam Basic or online tools like ILovePDF and SmallPDF exist, but the online ones upload your file to a third-party server, which is a privacy risk if the document contains sensitive information. I avoid those for anything that isn't completely public.

Get the Full Details

How To Shrink the Size of a PDF File [A Few Free Options] - Tech Junkie
How To Shrink the Size of a PDF File [A Few Free Options] - Tech Junkie

Things That Surprisingly Don't Help Much

Converting a PDF to images and then back to PDF is one of the most common suggestions you'll find online. It usually makes the file larger, not smaller. You lose the text layer entirely, and the recompression adds overhead. The only time this approach is justified is when your PDF is fundamentally broken—corrupted cross-reference tables, missing streams, or objects that won't render—and you need a last resort to salvage the content. Even then, keep a copy of the original before you try anything. Another mistake people make is compressing the entire file when the problem is just a single embedded font. Some PDFs embed full font subsets because the author didn't subset properly. You can check this by running pdfinfo or using the Adobe Acrobat Preflight tool. If a single font is taking up 50 MB, there's no point in running heavy image compression. Replace the font subset or use a tool like pdfcpu to remove the embedded font and let the reader substitute a system font instead. This alone can drop a bloated PDF by half.

Known Limitations and When Compression Fails

Ghostscript will not shrink a PDF that's already mostly text with lightweight images. If your file is under 5 MB and consists of scanned pages at 200 DPI or lower, running it through any compressor might change nothing or even increase the size slightly due to overhead. In those cases, the file is already near optimal, and further compression is pointless. JPEG compression introduces artifacts. Text edges can get jagged, and fine lines in diagrams may develop halos. If your PDF contains architectural blueprints, circuit diagrams, or any content where precision matters more than file size, stick with /prepress or lossless compression modes. /ebook and /screen will degrade those files noticeably. Some PDFs are encrypted or secured with permissions. Ghostscript and most free tools cannot process password-protected files without the owner password. You'll need Adobe Acrobat Pro or a dedicated decryption step first, and even then, removing encryption and then recompressing may violate licensing terms depending on where the PDF came from.

Finally, if your PDF contains video or audio embedded as inline objects, standard compression tools ignore those streams. The file size stays the same regardless of what preset you choose. In that scenario, the only real fix is to extract the media, compress it separately with a proper encoder like FFmpeg, and then reattach the compressed version, or replace the inline media with a linked reference. That's a separate workflow entirely and usually worth doing outside of any PDF tool.

How to Reduce PDF File Size on Mac [3 Best Methods]
How to Reduce PDF File Size on Mac [3 Best Methods]