Tools

Home
Image ResizerImage CompressorCrop ImageWatermark
JPG to PNGPNG to WebPImage to Base64
Merge PDFCompress PDF

Compress PDF to 5MB

Upload any PDF and automatically reduce its file size to 5MB or less

Your files never leave your browser
Drop your PDF here
PDF files — Max 50MB — 100% Private
Loading PDF...
Original size—
Compressed size—
Reduction—
Pages—

Drop a PDF that’s too big for a 5MB upload limit, and get back one that fits — with the best image quality the size allows. Each page is re-rendered as an optimized JPEG and packed into a fresh PDF, with an adaptive algorithm that maxes out quality right up to the 5MB ceiling.

And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload PDF
→
Render & Compress Pages
→
Download ≤5MB PDF

Each page gets rendered to a canvas using PDF.js, converted to a JPEG at a specific quality level, and embedded into a fresh PDF via pdf-lib. The tool tries multiple scale/quality combinations — starting generous and working down — until the total file size drops below 5MB. Once it finds a combination that works, it binary-searches upward to maximize quality within the size limit. The whole thing takes seconds for most documents.

Examples

Job Application with Scanned Documents

A candidate scanned their diploma, transcripts, and ID into one PDF for a government job portal that caps uploads at 5MB.

INPUT
scanned-documents.pdf 12 pages, 18.4 MB 300 DPI color scans
OUTPUT
scanned-documents-5mb.pdf 12 pages, 4.7 MB 73% reduction

Client Presentation Deck

Marketing team exported a 40-slide deck from PowerPoint as PDF. Full of high-res product photos. Email bounced back.

INPUT
Q4-presentation.pdf 40 pages, 32 MB
OUTPUT
Q4-presentation-5mb.pdf 40 pages, 4.9 MB 85% reduction

Insurance Claim with Photos

Someone photographed car damage from multiple angles and combined 8 photos into a PDF. The insurer’s portal won’t accept anything over 5MB.

INPUT
claim-photos.pdf 8 pages, 9.2 MB iPhone 15 full-res photos
OUTPUT
claim-photos-5mb.pdf 8 pages, 3.8 MB 59% reduction

Who Uses This

📋 Job Applicants

Shrinking scanned resumes, transcripts, and certificates for online application portals.

🏛️ Government Filers

Meeting strict upload limits on tax, visa, and permit submission forms.

📧 Office Workers

Getting presentation decks and reports under email attachment limits.

🎓 Students

Submitting assignments, theses, and application materials to university portals.

Common Mistakes

Expecting selectable text after compression

This tool converts pages to JPEG images inside a PDF. Text won’t be selectable or searchable afterward. If you need searchable text, use a lighter compression method or run OCR on the output.

Uploading a 200-page document and expecting crisp output

More pages means less space per page. A 200-page PDF squeezed into 5MB gives each page roughly 25KB — that’s blurry. Split long documents into smaller chunks first, then compress each one.

Compressing a PDF that’s already under 5MB

The tool will still re-render it as JPEG images, which can actually increase the file size or degrade quality for no reason. Check your file size first — if it is already under 5MB, you don’t need this.

Technical Details

Frequently Asked Questions

Why do email providers and portals have a 5MB limit?

Most email servers cap attachments at 20-25MB, but many government portals, job sites, and insurance forms set their own limits — often 5MB or even lower. It’s a storage and bandwidth decision on their end. You can’t change it, so the file has to shrink.

Will my compressed PDF look blurry?

It depends on page count. A 5-page PDF compressed to 5MB still looks sharp — each page gets about 1MB of image data. A 100-page document will look noticeably softer because there is less space per page. For long documents, splitting into parts before compressing gives better results.

Can I still copy text from the compressed PDF?

No. The compression turns each page into a JPEG image, so text becomes part of the picture. If you need copyable text afterward, you’d have to run OCR software on the compressed file. For most upload scenarios, this isn’t an issue since the recipient just needs to read the document.

Is there a page limit?

No hard limit. But practically, anything over 50-60 pages gets tight for a 5MB target. The tool will compress whatever you throw at it — the question is whether the output quality is acceptable. Fewer pages means better quality per page.

Does this tool upload my files anywhere?

Nope. Everything happens right in your browser tab. PDF.js renders the pages, pdf-lib builds the new file, and the download comes from a local blob URL. No server ever sees your document. Close the tab and the data is gone.

Share: