Why 5MB is the Critical Email Attachment Threshold
While Gmail technically allows attachments up to 25MB, many corporate mail servers, firewall appliances, and spam filters reject or quarantine messages with attachments above 5–10MB. In practice, most enterprise mail systems block individual attachments over 5MB. Government portals, university submission systems, and healthcare provider portals nearly universally enforce a 5MB per-file limit on document uploads.
Compressing your PDF to under 5MB guarantees delivery across virtually every email system and portal without needing to resort to cloud storage links (Google Drive, Dropbox, WeTransfer) which introduce additional friction and require the recipient to have an account. A PDF under 5MB just works, everywhere.
This browser-based PDF compressor uses a binary-search JPEG quality algorithm — it re-renders each page, finds the highest possible image quality that still fits within the 5MB target, and outputs a compressed PDF that is as sharp as possible within the constraint. All processing runs in your browser tab. Your PDF is never uploaded to a server.
Key Features
- Binary-search quality targeting — The compressor automatically finds the highest JPEG quality that fits within 5MB.
- Works on any PDF — Presentations, reports, scanned documents, and mixed-content PDFs.
- Zero server upload — Compression runs entirely in your browser using pdf.js and pdf-lib.
- Also available — 1MB target, 500KB target, and email-optimized compression.