How-to guide
How to Compress a PDF File (4 Free Methods)
A 25 MB PDF that should be 2 MB is a common headache — email bounces, upload forms reject it, and sharing links take forever. The fix is straightforward: strip unnecessary data, downsample images, and re-encode what remains. Here are four ways to do it for free, starting with the fastest.
Why PDF files get so large
A PDF is a container, and the size depends on what is inside. Text and vector graphics are tiny — a page of formatted text might add 10-50 KB. The real culprits are embedded images. A single full-page photo scanned at 300 DPI can weigh 5-10 MB uncompressed, and many PDF creators embed images at much higher resolution than the document actually needs.
Other sources of bloat include embedded fonts (especially when the full font is included rather than a subset), duplicate resources across pages, metadata from the authoring tool, and edit histories left behind by PDF editors. Compression targets all of these.
Method 1: Browser-based compressor (fastest)
A client-side tool like the free PDF compressor on this site runs entirely in your browser. You drop a file in, the JavaScript engine re-encodes images and strips unused data, and you download the smaller version. Nothing is uploaded to a server, so there is no file-size limit and no privacy concern.
- Open the Compress PDF tool.
- Drag your PDF onto the drop zone or click to browse.
- Choose a compression level — "recommended" balances size and quality for most files.
- Click Compress and wait a few seconds.
- Download the result. Compare the before-and-after sizes shown on screen.
This method works on any operating system with a modern browser (Chrome, Firefox, Safari, Edge). It handles large files well because everything stays on your device — no upload timeout, no 50 MB cap.
Method 2: macOS Preview (no install needed)
If you are on a Mac, Preview has a built-in "Reduce File Size" filter. It is aggressive — image quality drops noticeably — but for internal documents or drafts it gets the job done without any third-party software.
- Open the PDF in Preview (double-click usually does it).
- Go to File → Export… (not "Save").
- In the Quartz Filter dropdown, select Reduce File Size.
- Choose a destination and click Save.
The output is often 60-80 % smaller, but images can look blurry at full zoom. Check the result before sending. If quality matters, use Method 1 or 3 instead — both give you more control over the trade-off.
Method 3: Ghostscript (command line, full control)
Ghostscript is a free, open-source PostScript/PDF engine available on Windows, macOS (via Homebrew), and Linux. It gives you fine-grained control over image resolution, compression algorithm, and compatibility level — ideal for batch processing or scripted workflows.
gs -sDEVICE=pdfwrite \
-dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/ebook \
-dNOPAUSE -dBATCH \
-sOutputFile=compressed.pdf \
input.pdfThe preset flags control the aggressiveness of the compression:
/screen— lowest quality, smallest files (~72 DPI images). Good for on-screen-only viewing./ebook— medium quality (~150 DPI). The best general-purpose preset./printer— high quality (~300 DPI). Suitable for printing./prepress— highest quality, minimal compression. For professional print workflows.
For most people, /ebook hits the sweet spot between size and readability. A 20 MB scan-heavy PDF typically drops to 2-4 MB.
Method 4: Re-export from the source application
If you still have the original file (Word, PowerPoint, InDesign, Google Docs), re-exporting to PDF with the right settings often produces a much smaller file than the first export did. This works because you can control image resolution at creation time rather than trying to shrink it after the fact.
- Microsoft Word / PowerPoint: File → Save As → PDF → Options → "Minimum size (publishing online)".
- Google Docs / Slides: File → Download → PDF. Google already compresses images on export, so the output is usually lean.
- Adobe InDesign: File → Export → Adobe PDF (Print) → choose the "Smallest File Size" preset or manually set image compression to JPEG Medium at 150 DPI.
This approach is the only one that can remove bloat at the source. If a Word doc contains a 4000 × 3000 photo pasted from a clipboard, the re-export can resample it down to 1200 pixels wide — something no post-hoc compressor can do as cleanly.
How much compression should you expect?
It depends entirely on the content. A PDF full of scanned pages at 300+ DPI can shrink by 70-90 % with medium-quality image downsampling. A text-only PDF with already-subsetted fonts might barely change — there is nothing to remove.
As a rule of thumb: if the file is disproportionately large for its page count (say, 5 MB for a 3-page letter), there are embedded images doing the damage. Compression will help a lot. If the file is large because it has 200 pages of dense text, compression will help a little — the volume is real.
Keeping quality while reducing size
"Without losing quality" is relative. Lossy image compression always discards some data — the question is whether the loss is visible. Here are practical tips:
- Match resolution to use case. A PDF meant for email viewing does not need 300 DPI images. Downsampling to 150 DPI cuts file size roughly in half with no visible change at normal zoom.
- Use JPEG compression for photos, not for text. JPEG is great for photographic content but adds visible artifacts around sharp edges and text. Good compressors handle this automatically.
- Keep the original. Always compress a copy. If the result looks wrong, you can try again with gentler settings.
- Spot-check output. Open the compressed PDF, zoom to 100 %, and scroll through a few pages. Pay attention to photos and small text — those show compression artifacts first.
Common questions
Can I compress a PDF without software?
Yes. A browser-based compressor runs client-side JavaScript — no software to install, no account to create. On macOS, Preview is built in and works without any download.
Is there a file-size limit?
Server-based tools usually cap uploads at 50-100 MB. Client-side tools like the one on this site have no hard limit because the file never leaves your device. The practical ceiling is your browser's available memory — most modern machines handle files well over 100 MB.
Will compression break links or form fields?
It shouldn't. Compression targets image data and redundant metadata, not the structural elements of the PDF. Hyperlinks, bookmarks, and form fields are preserved by well-implemented compressors. Always spot-check the output if the PDF contains interactive elements.
How do I compress a PDF on iPhone or Android?
Open the Compress PDF page in your phone's browser (Safari, Chrome). The tool works the same way on mobile — tap the drop zone, select your file, compress, and download. No app required.
Ready to shrink your PDF?
The free PDF compressor runs entirely in your browser — no upload, no signup, no file size limit. Drop your file in and download a smaller version in seconds. Need to do more with your PDF? Merge, split, or convert to PNG — all free, all in-browser.