Compress PDF to 4MB
Upload any PDF and automatically reduce its file size to 4MB or less
Shrink any PDF to 4MB or less — just drop the file and download the smaller version. The compressor tests multiple quality and resolution levels automatically, picking the sharpest result that still fits under the size cap. And everything runs in your browser. Nothing gets uploaded.
How It Works
Each page gets rendered to a canvas, then re-encoded as a JPEG at different quality and resolution levels. The compressor starts with higher quality settings and works downward until the total file fits under 4MB. Once it finds a passing combination, it runs binary search to squeeze out the best possible quality within that limit. The whole process takes a few seconds for most documents.
Examples
Shrinking a scanned contract for email
A real estate agent has a 12-page scanned contract at 300 DPI. The client's email rejects anything over 4MB.
contract-signed.pdf
12 pages, 300 DPI scans
Size: 9.4 MB
contract-signed-4mb.pdf
12 pages, reduced resolution
Size: 3.8 MB (-60%)
Government form submission
Passport application portal has a 4MB limit. Your supporting documents PDF with photos is 7.2MB.
passport-docs.pdf
6 pages with color photos
Size: 7.2 MB
passport-docs-4mb.pdf
6 pages, optimized images
Size: 3.6 MB (-50%)
Trimming a slide deck for a job application
A designer exported a 40-slide portfolio as PDF from Keynote. It came out at 22MB with high-res images on every slide. The job portal won't accept anything above 4MB, and splitting the file isn't an option because the recruiter wants one document.
portfolio-2024.pdf
40 slides, Keynote export
Size: 22 MB
portfolio-2024-4mb.pdf
40 slides, lower resolution
Size: 3.9 MB (-82%)
Who Uses This
Compress resumes, portfolios, and reference letters to meet hiring portal upload limits.
Shrink supporting documents for visa, tax, and permit applications with strict size caps.
Fit thesis chapters, transcripts, and assignment submissions under university portal limits.
Submit claim documentation that includes scanned photos without exceeding email or portal restrictions.
Common Mistakes
This compressor converts pages to JPEG images. Small text can get blurry at aggressive compression levels. If your document is mostly typed text with no images, it probably doesn't need compression — or you should try removing embedded fonts first.
Each page is rendered individually in your browser. At 100 pages, that is a lot of rendering work for JavaScript. Split the PDF into smaller chunks first, compress each part, then merge them if needed.
The 4MB target applies to what you upload right now. If you merge additional pages into the compressed file afterward, it will grow past the limit. Combine all your pages first, then compress the final document once.
Technical Details
- Processing: 100% client-side — nothing is uploaded
- Browser Support: Chrome, Firefox, Safari, Edge
- Target Size: 4,096 KB (4 MB)
- Method: JPEG re-encoding with adaptive quality + binary search optimization
- Libraries: PDF.js for rendering, pdf-lib for rebuilding
Frequently Asked Questions
How do I compress a PDF to under 4MB?
Drop your PDF into the tool above and it handles everything automatically. The compressor tries different quality and resolution combinations, picks the one that fits under 4MB with the best visual quality, and gives you a download link. Takes about 5–30 seconds depending on page count.
Will compressing my PDF make the text unreadable?
For most documents, text stays perfectly readable. The tool prioritizes higher quality when possible — it only drops resolution further if needed to hit the size target. Scanned documents with large images compress well. Pure text PDFs that are already small usually don't need this at all.
Is there a page limit for PDF compression?
No hard limit, but be realistic. A 200-page PDF processed in the browser will take a while because every page is individually rendered and re-encoded. If you have more than about 50 pages, you'll get better results splitting the file first and compressing the parts separately.
Does this tool upload my PDF to a server?
No. Zero data leaves your browser. The entire compression runs in JavaScript on your device. There is no server involved at all — check the network tab in DevTools if you want proof. Your files are completely private.
What if my PDF can't be compressed to 4MB?
If your file has hundreds of pages or extremely complex content, it might not squeeze below 4MB without destroying readability. The tool will still give you the smallest version it can produce and warn you about the size. At that point, your best bet is splitting the PDF into two or more files and compressing each one.