How to compress a PDF to an exact file size
Many upload portals for jobs, visas, or universities enforce strict file limits — "Max 2MB", "Under 500KB", or similar. Most PDF compressors offer generic "High / Medium / Low" presets that leave you guessing the final size and re-compressing multiple times.
The ToolShelf PDF Compressor lets you define the exact limit you need in MB or KB. It intelligently adjusts the JPEG quality in multiple passes until your file meets the requirement — all without uploading a single byte to any server.
Why process locally instead of uploading?
Unlike cloud-based PDF tools, ToolShelf processes your PDF directly in your browser using WebAssembly and PDF.js. Your file is never transmitted anywhere.
- Privacy: Sensitive documents — bank statements, ID scans, visa applications — stay on your device.
- Speed: No upload or download wait times. Processing starts immediately.
- No account needed: No sign-up, no file limits, no watermarks.
Tips for reaching very small file sizes
If the tool cannot reach your target size at the default DPI:
- Lower the DPI to 72: The Web/Low preset gives the smallest output, suitable for email attachments and web uploads where screen resolution is sufficient.
- Split the PDF first: Use our PDF Splitter to reduce the number of pages before compressing.
- Start with a smaller original: Scanned documents at 600 DPI can often be re-scanned at 300 DPI before processing.
Common file size limits by use case
- Visa applications (Schengen, UK): Usually 2MB per document
- University admission portals: Typically 1MB to 2MB
- Job application systems: Often 500KB to 1MB
- Email attachments: Most providers allow up to 10MB, but 2MB is the practical limit for mobile recipients
Frequently Asked Questions
How do I compress a PDF to under 2MB?
Upload your PDF, set the target to 2 MB, choose Standard (144 DPI) quality, and click Compress. The tool runs multiple passes to hit your exact limit automatically.
Can I compress a PDF to 500KB?
Yes. Set the target to 500 and switch the unit to KB. For very small targets, lower the DPI to 72 for the best chance of reaching the limit.
Is my PDF uploaded to a server?
No. Everything runs in your browser. Your file never leaves your device — safe for bank statements, IDs, and confidential documents.
Will text still be selectable after compression?
No. The tool converts pages to JPEG images to control file size precisely. Text will not be selectable in the output. This is the trade-off that enables exact-size targeting.
Why is my PDF still too large?
Try lowering the DPI to 72. If the file is still over the limit, the source document may have too many high-resolution images to compress further without severe quality loss. Consider splitting the PDF into smaller parts.