How to Compress a PDF Online for Free
Last updated: May 22, 2026
Compressing a PDF reduces its file size so it is easier to email, upload to web portals, or store in the cloud. Most online PDF compressors send your file to a remote server to process it, which creates a privacy risk. OneClickPDF works differently: the entire compression process runs inside your browser, so your PDF never leaves your device. This guide walks you through the exact steps, explains how each compression level works, and shows you which setting to use for your specific situation.
Step-by-Step Guide
Open the Compress PDF tool
Go to the Compress PDF page on OneClickPDF. No account, no login, and no sign-up is required. The tool loads directly in your browser on any device, including Mac, Windows, iPhone, and Android.
Upload your PDF file
Drag and drop your PDF onto the upload zone or click the upload button to select a file from your device. Your file stays on your device throughout the process and is never uploaded to any server.
Choose your compression level
Select Low (10-30% reduction, highest quality), Medium (20-50% reduction, balanced), or High (40-70% reduction, smallest file size). OneClickPDF uses a smart dual strategy: it tries both vector re-saving and image rasterization, then picks whichever produces the smaller file.
Download your compressed PDF
Click Download to save the compressed file. A visual comparison shows the original file size, the new file size, the number of bytes saved, and the percentage reduction. If the result is not small enough, try the next compression level.
Compress PDF
Shrink large PDFs for email, web upload, or cloud storage. Our compression preserves image clarity and text sharpness — you choose the quality level.
Why PDF Files Are Large
Understanding what makes a PDF large helps you choose the right compression level and set realistic expectations for how much you can reduce PDF file size.
- Embedded high-resolution images. The biggest contributor. PDFs with scanned pages, photos, diagrams, or screenshots store full pixel data for every image. Most creators default to print-resolution export (300 DPI), which is 3 to 9 times more data than screens display at 72-150 DPI. Compression reduces this image data typically by 60-80% per image without visible difference on screen.
- Embedded font files. PDFs embed complete font files to guarantee identical rendering across devices. Each font can add 50-200KB. Font sub-setting strips characters not used in the document and typically reduces font data from 200-400KB per font down to 10-30KB.
- Hidden metadata. Every time a PDF is opened, edited, and re-saved, it accumulates revision history, author info, creation timestamps, software version data, embedded thumbnail previews, and unused object references. Metadata removal is fully lossless - no visible content is touched.
- Embedded colour profiles. PDFs designed for professional printing embed ICC colour profiles. A typical CMYK profile adds 400KB-2MB. Compression can strip or consolidate these without affecting on-screen appearance.
- Unoptimised vector graphics. Logos, charts, and illustrations from Illustrator and similar tools accumulate redundant anchor points, duplicate paths, and unused embedded assets through repeated editing. Compression restructures vector content more efficiently.
- High-quality export settings. Microsoft Word, PowerPoint, and Google Slides default to high-quality PDF export optimised for printing. When file size matters, exporting at a lower quality preset from the source application is the most efficient first step.
- Transparency effects and layered artwork. PDFs from Adobe InDesign or Illustrator with transparency, drop shadows, blending modes, and masked layers require complex rendering instructions stored as extra data. Compression reduces or flattens this complexity.
How PDF Compression Works
PDF compression is not a single operation - it is a coordinated set of techniques, each targeting a different type of data. Understanding each helps you set the right level and predict how much your specific file will shrink.
- Image downsampling. The highest-impact technique for image-heavy PDFs. Reduces pixel density of embedded images. OneClickPDF targets only images exceeding a threshold DPI per level - Low at 150 DPI, Medium at 120 DPI, High at 96 DPI.
- Image recompression. Converts lossless formats like PNG or TIFF to JPEG. JPEG uses perceptual encoding to discard variations the human eye cannot distinguish at normal viewing distances. This is why image-heavy PDFs respond dramatically to compression while text-only PDFs show modest gains.
- Object stream compression. PDFs store text content, font references, and page dimensions in internal object streams. Applying lossless Flate/Deflate (same algorithm as ZIP) to uncompressed streams typically reduces them by 40-70% with no data loss.
- Font sub-setting. Embeds only the characters actually used in the document instead of the full typeface. Reduces font data by 90-95% per font - for a document using 3-4 fonts this alone can save 500KB-1MB.
- Redundant object removal. Cleans up editing artifacts in the internal object table. Often reduces file size by 10-30% in documents with significant editing history, with zero visible change.
- OneClickPDF's dual strategy. Unlike single-method compressors, OneClickPDF runs two independent passes on every file. Pass one applies vector re-saving (lossless). Pass two applies image rasterization where it produces a smaller output. The tool keeps whichever pass produced the smaller file.
Which Compression Level Should You Use
| Situation | Level | Expected Reduction | Best For |
|---|---|---|---|
| Emailing a doc that must stay sharp | Low | 10-30% | Portfolios, printed materials |
| Sharing a report via email | Medium | 20-50% | General business sharing |
| Web form with strict file limit | High | 40-70% | Government portals, job forms |
| Archiving for long-term storage | Medium or High | 20-70% | Google Drive, Dropbox |
| Uploading to corporate portal | High | 40-70% | Enterprise systems |
| Sharing a photo-heavy portfolio | Low | 10-30% | Design or creative PDFs |
How to Compress a PDF for Specific Use Cases
Compress a PDF for email. Gmail and Outlook allow attachments up to 25MB. Many corporate email servers cap at 5MB or 10MB. Try Medium first - it reduces size by 20-50% while keeping the document readable. If the file is still too large, switch to High for up to 70% reduction. For files still oversized after High, split the PDF into smaller parts first using the Split PDF tool, then compress each part.
Compress a PDF for web upload. Job application systems and government forms often set limits between 1MB and 5MB. Use High compression. If the file is still over the portal limit, the PDF likely contains high-resolution scanned images, which respond best to image rasterization.
Compress a PDF for cloud storage. For Google Drive, Dropbox, or OneDrive, storage space is the main concern. Medium gives a good balance between file size and quality. High is fine if you do not need the document for print use.
Tips to Get the Best Compression Results
- Start with Medium, not High. The instinct when you need a smaller PDF is to use the most aggressive setting immediately. In most cases Medium removes 20-50% of the file size with no visible quality change to text, charts, or vector content.
- Read the visual comparison report. After compression, OneClickPDF displays original size, compressed size, bytes saved, and percentage reduction. The comparison gives you the data to decide whether trying a stronger level is worth it for your specific file.
- Compress before adding password protection. Encryption wraps content in a cipher that makes data appear random, and random data does not compress efficiently. Compressing an already-encrypted PDF produces little to no reduction.
- Split very large files before compressing. PDFs above 100MB process entirely in browser memory. For best results, use the Split PDF tool to divide the document into 10-25 page sections, then compress each section separately.
- Use High for scanned documents. Scanned PDFs consist entirely of rasterised images - no font data, no object streams to optimise. Image downsampling and JPEG recompression are the only effective techniques, and High applies the most aggressive versions of both.
- Avoid re-compressing already-compressed files. Running a second pass on a file someone else compressed produces diminishing returns and can degrade quality without meaningful reduction. If you must, use Low to minimise additional quality loss.
Frequently Asked Questions
What is the fastest way to compress a PDF online for free?
How do I compress a PDF without losing quality?
Is it safe to compress PDFs online?
Can I compress a PDF to 1MB?
Can I compress a PDF to 100KB?
Why did my compressed PDF get larger?
Can I compress a password-protected PDF?
How do I compress a PDF on a Mac?
How do I compress a PDF on an iPhone or iPad?
What is the largest PDF file I can compress?
Compressing a PDF doesn't have to mean uploading sensitive documents to unknown servers. With OneClickPDF the entire compression process happens in your browser - your files are never transmitted anywhere. Try it with any PDF to see instant results.
Related Guides
How to Merge PDF Files Online for Free
Combine multiple PDF files into one document online for free. Drag to reorder, select page ranges, and merge — all in your browser, no upload needed.
Reduce PDF Size for Email Attachments
PDF too large to email? Compress it to fit under 5MB, 10MB, or 25MB email limits. Free, instant, and 100% private — no file upload required.
How to Convert a PDF to JPG Images
Convert PDF pages to high-quality JPG images online for free. Extract every page as a separate image — processed in your browser, no upload.