Drag & drop files here, or click to browse
PDF, images (JPEG, PNG, WebP), and any other file type
✅ Compression Complete
Drop a password-protected PDF here
Only encrypted PDF files are supported
How File Compression & PDF Unlock Works
Operation: The File Compressor processes your uploads entirely in the browser. PDFs are optimized using pdf-lib for light compression or rasterized via pdf.js at higher compression levels. Images are re-encoded through the Canvas API with configurable quality. Other file types can be gzip-compressed using the native CompressionStream API. When multiple files are compressed, you can bundle them into a single ZIP archive using JSZip — all without any server upload.
The PDF Unlock tool uses pdf.js to authenticate with your password, then rebuilds an unencrypted PDF via pdf-lib so you can download a password-free copy. Your password and files never leave your device.
Key Features
- Multi-file support: Upload and compress many files at once, with optional ZIP download.
- Compression levels: Choose from Light, Medium, High, or Maximum — or set a custom quality slider.
- PDF page ranges: Compress only specific pages (e.g. 1-5, 8, 10-12).
- PDF unlock: Remove password protection from encrypted PDFs you own.
Frequently Asked Questions
Will unlocking a PDF preserve text selection? The unlock process rasterizes pages to ensure the password is fully removed. Text will not be selectable in the output, but all visual content is preserved at high quality.
Can I compress password-protected PDFs? Use the Unlock PDF tab first to remove the password, then compress the unlocked file in the Compress tab.