SwitchPDF

Compress PDF

Reduce your PDF file size while maintaining the best possible quality.

Compress PDF reduces the file size of a PDF while keeping it readable and high quality. Useful for emailing large reports, uploading files to size-capped portals, or saving cloud storage. We use Ghostscript when available and fall back to pure-JavaScript optimization, so it works on any document.

How Compress PDF works

Most of a PDF's size lives in its images. A 50 MB report is usually 48 MB of pictures and 2 MB of text. Compressing a PDF effectively means recompressing the images at a lower bit-depth, downsampling their resolution, or — at maximum settings — converting them to a more space-efficient format.

SwitchPDF uses Ghostscript's PDF/Distiller pipeline when it is available on our server, which is the industry-standard tool for PDF optimization. Ghostscript walks every page, finds the embedded images, downsamples each one to the target resolution (72 DPI for high compression, 150 DPI for medium, 300 DPI for low), and replaces them in the output. It also subsets embedded fonts, drops unused objects, and rebuilds the cross-reference table for a leaner file.

If Ghostscript is not available we fall back to pdf-lib-based optimization — slower image processing but still effective for documents that are primarily text. Both paths produce a valid, fully compatible PDF that opens in Adobe Reader, Apple Preview, Chrome, Firefox, and every other standard viewer.

Realistic expectations: PDFs that are heavy on photos compress 60–80% on high settings. Text-heavy reports compress 10–30%. Already-optimized PDFs (e.g. from "Save as PDF" with downsampling on) may only compress a few percent more. The tool tells you exactly how much smaller the output is so you know before you download.

How to use Compress PDF

1

Upload your PDF

Select the PDF file you want to compress. Files up to 100 MB are supported.

2

Choose a compression level

Low compression keeps near-original quality. Medium is balanced. High aggressively downsamples images for maximum size savings.

3

Download the compressed PDF

Click "Compress" and download your smaller PDF file. You will see the size reduction percentage before downloading.

Frequently Asked Questions

How much can I reduce my PDF file size?
+
Depends on content. Image-heavy PDFs can shrink by 60–80%. Text-only documents typically compress 10–30%. Already-optimized PDFs may only drop a few percent.
Will compression affect my PDF quality?
+
Low compression maintains near-original quality. Medium reduces image resolution to 150 DPI (good for screen viewing). High goes to 72 DPI — great for email, visibly soft for print.
Is there a file size limit?
+
Up to 100 MB per file. If you need to compress something larger, split it first using our Split PDF tool.
Will text remain searchable after compression?
+
Yes. We never touch the text streams. Only embedded images are recompressed. Searchable text remains fully searchable.
Can I compress a password-protected PDF?
+
Unlock it first using our Unlock PDF tool, then compress the unlocked copy.
Why is my PDF the same size after compression?
+
It was probably already optimized. PDFs exported with downsampling enabled (e.g. Adobe's "Smallest File Size" preset) leave little room for further reduction.
Will the compressed PDF still work in Adobe Reader?
+
Yes. The output is a fully standard PDF compatible with every modern viewer including Adobe Reader, Preview, Chrome, and Firefox.
Are my files private?
+
Yes. HTTPS upload, isolated server-side processing, automatic deletion after 15 minutes. We do not read, share, or train on your file contents.

Related tools