PDF files can grow to enormous sizes — especially when they contain high-resolution scans, photographs, or complex vector graphics. A 50 MB PDF that was created from scanned paper, for example, can be painful to send by email, slow to upload to cloud storage, and frustrating to open on a mobile device. Fortunately, compressing a PDF is straightforward when you understand the techniques involved.
In this guide we'll explain exactly how PDF compression works, when lossless compression is the right choice, and when re-rendering pages produces significantly smaller files. We'll also walk you through how to compress any PDF for free using PDFForge — entirely in your browser, with no upload required.
Why Are PDFs So Large?
A PDF file is essentially a container. It can hold vector graphics, raster images, fonts, metadata, form fields, annotations, and much more. The size of a PDF file depends almost entirely on what's inside it:
- High-resolution images and photographs are the most common culprits. A 300 dpi scan of a single A4 page can be several megabytes on its own.
- Embedded fonts add some size but are usually a minor factor compared to images.
- Redundant data from PDF creation tools — some applications embed objects multiple times, include large metadata blocks, or don't use PDF's built-in object stream compression.
- Uncompressed or lightly-compressed images — PDFs created from PNG screenshots or TIFF scans often contain images that could be much smaller as JPEG.
Lossless vs Lossy Compression: What's the Difference?
There are two fundamentally different approaches to making a PDF smaller.
Lossless Compression
Lossless compression reorganises the internal structure of the PDF without changing any visible content. It removes redundant objects, repacks content into more efficient object streams, and applies ZIP-like compression to data blocks. The key advantage is that the output is bit-for-bit identical in appearance to the original. No text becomes blurry, no image loses sharpness, no colour shifts.
The downside is that lossless compression has a ceiling — typically a 5–25% size reduction depending on how the PDF was originally created. If the images inside the PDF are already highly compressed (most JPEG-heavy PDFs fall into this category), lossless repacking will barely reduce the file size at all.
Lossy Compression (Re-rendering)
Lossy compression re-renders each page of the PDF as a JPEG image and rebuilds the document from those images. This can achieve 60–85% size reductions for PDFs that contain high-resolution scans or photographs. The trade-off is a slight reduction in sharpness, particularly for small text and fine lines.
For most office documents, legal contracts, and general correspondence, a medium-quality lossy compression (around 70–80% JPEG quality) produces a result that is visually indistinguishable from the original when read on screen or printed at normal sizes. The difference only becomes noticeable if you zoom in very closely, or if the document contains very fine technical drawings.
Which Compression Level Should You Use?
Here's a simple guide to help you choose:
- Lossless — Use this when quality is critical and the file was created from a word processor or vector design tool. Typical saving: 5–20%. Zero quality loss.
- Medium (recommended) — Best all-round choice for office documents, contracts, reports, and PDFs with mixed text and images. Typical saving: 40–70%. Quality loss is minimal and acceptable for most uses.
- Strong — Use this when file size is the top priority — for example, uploading to a platform with strict size limits, or sharing over a slow connection. Typical saving: 60–85%. Text may appear slightly soft at high zoom levels.
How to Compress a PDF for Free with PDFForge
PDFForge's compress tool runs entirely inside your web browser using JavaScript. No file is ever uploaded to a server. Here's how to use it:
- Open PDFForge Compress PDF in your browser — on any device, including mobile.
- Drop your PDF file into the drop zone, or click it to browse and select the file.
- Choose a compression level from the dropdown: Lossless, Medium, or Strong.
- Click Compress PDF. Processing happens locally on your device.
- The tool shows you the before and after file size and the percentage saved. The compressed PDF downloads automatically.
- On mobile, if the automatic download doesn't trigger, tap the green "Tap here to save" button that appears.
Tips for Getting the Best Compression Results
1. Try Lossless First
Start with the Lossless setting. If the resulting file is still too large, switch to Medium. Only use Strong if Medium doesn't reduce the file enough for your needs. This approach minimises the quality impact.
2. Remove Unnecessary Pages Before Compressing
Use PDFForge's Remove Pages tool to delete blank pages, cover pages, or other pages you don't need before compressing. Fewer pages means a smaller output, and compression can then focus on the pages that matter.
3. Split Large PDFs Before Compressing
Very large PDFs (hundreds of pages) can be split into sections using the Split PDF tool. Processing smaller sections may be faster on low-powered devices and also lets you compress each section with different settings.
4. Know When Not to Compress
If your PDF contains technical drawings, architectural plans, or any content where fine details are important — such as land registry documents or medical imaging reports — avoid lossy compression entirely. Stick to Lossless mode only.
Why Browser-Based Compression is Private and Safe
Many online PDF compressors work by uploading your file to a server, running compression there, and sending the compressed file back. This means your document — which may contain sensitive business information, personal details, or confidential contracts — passes through a third-party server.
PDFForge takes a completely different approach. All compression happens inside your browser using JavaScript. Your PDF never leaves your device. PDFForge uses PDF-Lib (for lossless mode) and PDF.js (for re-rendering modes) — both open-source libraries that run entirely client-side. There is nothing to worry about in terms of data privacy.
Troubleshooting: Why Isn't My PDF Getting Smaller?
If you try compressing a PDF and it doesn't get meaningfully smaller, there are a few common reasons:
- The PDF already contains heavily-compressed JPEG images. Re-encoding them again as JPEG can actually increase the file size slightly.
- The file is primarily made up of vector graphics (like line art or CAD drawings). JPEG compression doesn't benefit vector content.
- The PDF was already processed by another compression tool before you got it.
In any of these cases, the best approach is the Lossless mode, which at minimum will clean up redundant internal structure without making the file larger.
Summary
PDF compression is a powerful way to reduce file size for email, sharing and storage. For most documents, Medium compression with PDFForge delivers excellent results — a substantially smaller file that still looks perfect in any PDF viewer. The entire process is free, instant, and completely private since nothing is uploaded to any server.
Compress Your PDF Now — It's Free
No signup, no upload, no file size limit. Works on iPhone, Android, desktop and laptop.
Open Compress PDF Tool