Compress PDF
Reduce PDF file size with adjustable browser-based compression.
Compress image-heavy PDF files with adjustable lossy compression.
The selected PDF is processed in your browser after the tool loads. Results depend on the source PDF and your quality setting.
Compression Quality
Drop PDF files here
or click to browse
0/20 files added
How PDF Compression Works
PDF compression sounds simple, but the technique behind meaningful file-size reduction is more nuanced than most people realise. This tool uses a render-and-reassemble pipeline.
Here's what happens step by step: the tool loads your PDF using pdf.js (Mozilla's open-source PDF renderer), then draws every page onto an invisible HTML Canvas element at your chosen resolution. Each canvas is exported as a JPEG image at the quality level you selected. Finally, these JPEG images are stitched back together into a brand-new PDF using pdf-lib.
This is a lossy compression method. Unlike lossless techniques, which reorganise internal PDF structures without touching pixel data, this approach recompresses the visual content of each page. The trade-off is that selectable text becomes rasterised (turned into an image), but image-heavy files can become much smaller.
Why image-heavy PDFs shrink more: A scanned document is often a collection of large image pages wrapped in a PDF container. When the tool re-renders these pages as optimised JPEGs, the savings can be large. Conversely, a text-heavy PDF with vector graphics is already very efficient, so there is less pixel data to reduce.
Quality Settings Explained
Choosing the right quality preset is the single most important decision when compressing a PDF. Here's what each setting actually does under the hood:
| Preset | JPEG Quality | Render Scale | Typical Reduction | Good For |
|---|---|---|---|---|
| Web (40%) | ~0.49 | 1.3× | 60 to 80% | Email attachments, quick sharing, web uploads |
| Print (70%) | ~0.72 | 1.7× | 40 to 60% | Reports, presentations, general documents |
| Maximum (95%) | ~0.88 | 1.9× | 15 to 35% | High-quality prints, portfolios, photography |
The custom slider lets you fine-tune beyond presets. A setting of 50 to 60% often balances visible quality and file size. Below 30%, text may become noticeably blurry. Above 90%, files usually stay larger because the tool keeps more visual detail.
Practical tip: Start with the Print preset. If the result looks good enough, try Web next time. If you need more detail, step up to Maximum. Keep the original file so you can try again with a different setting.
Expected Compression Ratios by Document Type
Compression results vary significantly depending on what's inside your PDF. Here are realistic expectations based on thousands of real-world tests:
| Document Type | Typical Reduction | Why |
|---|---|---|
| Scanned documents | 60 to 80% | Raw scans contain uncompressed image data, huge savings when re-encoded as JPEG |
| Photo-heavy PDFs | 40 to 70% | Photos can be re-encoded at lower quality with minimal visible difference |
| Presentations & slides | 30 to 60% | Mix of images, gradients, and text; images compress well, text less so |
| Office documents (Word, Excel) | 20 to 50% | Mostly vector text and simple graphics; less pixel data to optimise |
| Already-compressed PDFs | 5 to 15% | Images are already optimised; re-compression yields diminishing returns |
If your PDF contains a mix of content types, expect results somewhere in the middle. The most dramatic improvements come from scanned documents and exported PowerPoint presentations with embedded photos.
Common Use Cases & File Size Limits
Most people compress PDFs because they've hit a file-size wall. Here are the specific limits you're probably dealing with:
- Gmail: 25 MB attachment limit. Image-heavy PDFs may fit under this threshold after compression, but results depend on the source file.
- Outlook: 20 MB limit (10 MB for some enterprise accounts). Use the Web preset for maximum reduction.
- Job portals (LinkedIn, Indeed, Workday): Typically 2 to 5 MB for resume uploads. Compress your portfolio PDF from 15 MB to under 3 MB.
- University submissions (Turnitin, Blackboard): Often 10 to 20 MB limits. Particularly relevant for research papers with embedded figures and charts.
- Cloud storage optimisation: Compressing archived PDFs can reclaim 40 to 60% of your Google Drive, Dropbox, or OneDrive storage quota.
- Website downloads: Smaller PDFs load faster for visitors. A 10 MB product brochure compressed to 3 MB improves page speed scores and reduces bandwidth costs.
PDF Compression: Browser Tool vs Alternatives
| Feature | iForge Apps (This Tool) | Adobe Acrobat | Online Upload Tools |
|---|---|---|---|
| Cost | Free, up to 20 files per batch | Paid desktop app | Free tiers and paid plans vary |
| Privacy | Browser-side compression after page load | Local (desktop app) | Files uploaded to servers |
| File size limit | Limited by browser and device memory | Depends on device and storage | Varies by provider and plan |
| Batch processing | Up to 20 files | Yes (Action Wizard) | Usually 1 to 5 files (free tier) |
| Preserves text | No (rasterises pages) | Yes | Varies |
| Installation | None, works in browser | Desktop app required | None, but requires upload |
For everyday compression needs, emailing reports, shrinking scanned documents, and meeting upload limits, a browser-based tool can be a practical option. A desktop PDF editor remains the appropriate choice for workflows requiring selectable text preservation, accessibility tags, form fields, or complex PDF editing.
Privacy and Security: Browser-Side Compression
Many online PDF compressors upload your file to a remote server for processing. That may be acceptable for low-risk documents, but it is worth thinking carefully before sending tax returns, medical records, contracts, or financial statements to an upload service.
This tool works differently. The selected PDF is processed in your browser after the page assets have loaded:
- pdf.js (Mozilla's open-source renderer) reads your PDF locally
- Canvas API renders each page into a pixel buffer in memory
- JPEG encoding happens natively in your browser engine
- pdf-lib assembles the final PDF entirely in browser memory
The compression step does not need an upload request for the selected PDF. This reduces exposure compared with upload-based tools, but it is not a substitute for your organisation's rules on confidential, legal, medical, or financial documents.
Batch Compression Tips
This tool supports compressing up to 20 PDFs at once. Here is how to get the most out of batch mode:
- Group by quality need: If some files need high quality (portfolios) and others don't (email attachments), compress them in separate batches with different presets.
- Use ZIP for 2+ files: When you compress multiple files, the download button automatically creates a ZIP archive, which is easier than downloading files one by one.
- Check individual results: After compression, review each file's size reduction. If one file barely shrank, it was likely already compressed, no action needed.
- Re-compress with different settings: Not satisfied? Click "Compress Again" to try a different quality level without choosing the files again.
- Mind your RAM: Each page is rendered as a canvas. Very large PDFs (200+ pages) may use significant memory. If your browser becomes sluggish, process large files individually.
Troubleshooting Common Issues
"My file got bigger after compression"
This happens when the original PDF is already well-compressed or uses efficient vector graphics. Re-rendering as JPEG images can actually increase file size for text-heavy, already-optimised documents. Solution: try the Web preset, or accept that the file is already as small as it can get with this method.
"Compression is slow on my large file"
Each page is rendered individually using your device's CPU and GPU. A 100-page document means 100 render-and-encode cycles. This is normal, the progress bar shows exactly which page is being processed. Expect roughly 0.5 to 2 seconds per page depending on your device.
"The quality is too low"
Move the slider towards Maximum (95%). At Print quality (70%), some fine detail may be softened. If you need pixel-perfect output, set the slider to 90%+, you'll still see meaningful compression on image-heavy files.
"My text is no longer selectable"
This is expected. The compression method rasterises each page (converts it to an image). If you need selectable text, consider using a PDF-aware compressor that can reduce file size without rasterising. For many sharing and archive copies, rasterised PDFs are usable.
When You Should NOT Compress a PDF
Honesty builds trust. Here are situations where PDF compression isn't the right choice:
- Legal or notarised documents: Courts and notaries may require exact digital formatting. Rasterising a legal PDF could invalidate digital signatures or make it inadmissible.
- Fillable PDF forms: Compression removes form fields, checkboxes, and interactive elements. The form becomes a flat image.
- PDFs with accessibility features: Screen readers rely on tagged text structure. Rasterisation removes these tags, making the document inaccessible.
- Already-tiny PDFs: A 200 KB text document won't shrink meaningfully. Compression adds processing time for negligible benefit.
- PDFs you need to edit later: Once rasterised, you can't easily edit the text. Keep the original and compress a copy for sharing.
For these scenarios, consider using Organize PDF to remove unnecessary pages, or PDF to Word to extract editable content before compressing.
Related PDF Tools
Organize PDF
Reorder, delete, or rearrange pages to reduce file size by removing unnecessary content.
PDF to Word
Convert PDFs to editable Word documents, extract text before compressing.
Sign PDF
Add signatures to your compressed PDFs, draw, type, or upload your signature.
Image Compressor
Compress standalone images before embedding them in PDFs to reduce the source assets first.
How to use this tool
Upload one or more PDF files
Choose your compression quality level
Click Compress and download your smaller files
Common uses
- Emailing large PDF reports that exceed attachment limits
- Uploading resumes and portfolios to size-restricted job portals
- Shrinking scanned documents for cloud storage
- Reducing PDF size for faster website loading
- Compressing invoices before archiving
Share this tool
Frequently Asked Questions
How does PDF compression work?
Will compression affect the quality of my PDF?
What compression ratio can I expect?
Is it safe to compress PDFs online?
Why did my PDF get larger after compression?
Can I compress password-protected PDFs?
What's the maximum file size I can compress?
Does compression remove metadata from my PDF?
Can I compress PDFs on my phone or tablet?
How is this different from Adobe Acrobat's compression?
Results are for general informational purposes only and should be checked before use. They are not professional advice. See our Disclaimer and Terms of Service.