Compress PDF
Drop a PDF and re;file labs compresses it. Lossless structure compression runs by default. Optionally re-encode embedded JPEG images at lower quality for maximum size reduction. No uploads, no data sent to external servers.
How it works
Lossless compression plus optional image recompression
First, empty and unreferenced streams are pruned. Next, all content streams are deflated using zlib. Finally, PDF objects are packed into compressed object streams (a PDF 1.5 feature), removing cross-reference table overhead. These three stages are fully lossless. If you choose an image quality below Full, embedded JPEG images are additionally re-encoded at that quality for extra size reduction. Everything runs in your browser via WebAssembly.
Use cases
When to compress a PDF
Email attachments
Shrink PDFs before attaching them to emails. Most providers cap attachments at 10–25 MB. Compression can make the difference.
Cloud storage
Reduce storage consumption when archiving large document collections in Google Drive, Dropbox, or OneDrive.
Mobile-friendly docs
Smaller PDFs load faster and use less data when opened on phones and tablets, especially on slow connections.
Long-term archiving
Compress PDFs before adding them to archives. Use lossless mode to preserve everything exactly, or reduce image quality for smaller archive footprints.
FAQ
Common questions
Everything you need to know about PDF compression.