PDF Compression: The Complete Guide
PDF files grow large primarily because of high-resolution embedded images, unoptimized image streams, and redundant metadata. Our free PDF compressor uses WebAssembly — running parallel workers directly in your browser — to reduce file size dramatically without touching text, fonts, or vector graphics.
By Quality Mode: Preserve Text, Compress Images
The By Quality mode scans all embedded image streams in the PDF and re-encodes them at the quality percentage you choose. Text, fonts, hyperlinks, form fields, and vector graphics are completely preserved and remain fully selectable and searchable. This is the right mode for most documents — reports, contracts, brochures, and presentations.
By Size Mode: Hit an Exact Target
The By Size mode renders every page of the PDF to a canvas image and recompresses each page image to fit within your target KB or MB budget. This achieves significantly more aggressive compression but converts the entire document to flat images — text will appear correctly but cannot be selected, copied, or searched. Use this mode for scanned documents where text was never selectable anyway, or when you need to meet a strict upload size limit.
How Encrypted PDFs Are Handled
If your PDF is password-protected, you will be prompted to enter the password. The file and password are securely sent to our server over HTTPS, where the encryption is removed in memory using industry-standard tools. The unlocked file is immediately streamed back to your browser for compression — we never write your file to disk, log its contents, or retain it after the operation. All compression then happens entirely on your device.
Tips for Best Compression Results
- For text-heavy documents with a few images, try By Quality at 60–70% first — this typically reduces size by 40–60% with no visible quality change.
- For scanned documents (where pages are already images), By Size mode is far more effective than By Quality.
- If your PDF is already heavily compressed, the gains from further compression will be minimal — the tool will indicate if the output is not significantly smaller.
- Compressing before merging multiple PDFs makes the final combined file much more manageable.