How to Compress a PDF to a Specific Size (Under 5MB, 1MB)
Plenty of forms and portals set a hard file-size ceiling: 5MB for a visa application, 2MB for an email attachment, 1MB for a job board that hasn't been updated since 2012. When your PDF is a few kilobytes over, you need to hit a specific number — not just "make it smaller". This guide covers how to do that reliably, what actually drives PDF size, and where the honest limits are.
First, understand what's making your PDF big
Before compressing, it helps to know where the weight sits. A PDF's size usually comes from one of three things:
- Scanned images. A document scanned at 600 DPI can be 10–20x larger than the same page at 150 DPI. This is the single biggest culprit.
- Embedded high-resolution photos. Product catalogues, portfolios and reports with full-res images balloon quickly.
- Embedded fonts and vector graphics. Usually small, but font subsetting can shave a little.
If your PDF is mostly text (say, an exported Word document), it's probably already small and there's little to gain. If it's over a few megabytes, it's almost certainly image-heavy — and that's good news, because images are where compression makes the biggest difference.
The two levers that control size
Most compression tools, whether desktop or online, work by adjusting two things:
- Image resolution (DPI). Downsampling images to 150 DPI keeps them sharp enough for screen viewing and most printing; 96–120 DPI is fine for screen-only files.
- JPEG quality. Re-encoding images at a lower quality (say 60–75%) drops size substantially with modest visible loss.
Hitting a specific target size is a matter of tuning these until the output lands under your ceiling.
Method 1: Use a compression level and check the result
Most tools offer preset levels — often labelled low/medium/high compression, or "screen/ebook/print" quality. The fastest route to a target size:
- Start with a medium setting.
- Check the output size.
- If it's still too big, step up to high (more aggressive) compression.
- If it's now well under target but looks poor, step back down.
This trial-and-error loop sounds crude, but it's often quicker than fiddling with exact DPI values, especially for a one-off file.
Method 2: Target-size compression
Some tools let you type in a target — "compress to under 5MB" or "to 300KB" — and they iterate on the settings for you. This is genuinely useful when you have a hard limit.
Using Konomic's Compress PDF tool at /compress-pdf, you can upload the file, pick a compression level and see the resulting size before downloading. Because Konomic processes files on EU-based servers in Germany and auto-deletes uploads within an hour, it's a reasonable choice when the document is a passport scan, a contract or anything you'd rather not leave sitting on a server indefinitely. No signup is needed for a single file.
Other services do the same job — Smallpdf and iLovePDF both offer preset compression, and Sejda lets you set a target size directly. They're all viable; the differences come down to where your file is processed, whether there are daily limits, and how much they push you towards an account.
Method 3: Full manual control with a desktop tool
If you need precision and don't want to upload the file at all, a desktop route works:
- Ghostscript (free, command line) gives fine control. A typical command:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdfSwap/ebookfor/screen(smaller) or/printer(larger, higher quality). For exact DPI control, add-dColorImageResolution=120. - Preview on macOS has a "Reduce File Size" Quartz filter, though it's blunt and often over-compresses.
- Adobe Acrobat Pro has a "Reduce File Size" and an "Optimize PDF" panel where you can set image downsampling per type.
Desktop tools keep the file entirely local, which matters for sensitive documents.
How to hit a precise target, step by step
Here's a repeatable approach that works with almost any tool:
- Note your ceiling (e.g. 2MB) and aim slightly under it — target 1.8MB to leave headroom.
- Compress once at medium and record the result.
- Estimate direction. If medium gives 3MB against a 2MB target, you need roughly a third more reduction, so try high.
- Adjust DPI if a preset overshoots. Dropping from 200 to 120 DPI roughly halves image size.
- Inspect the output at 100% zoom before you rely on it — text should stay crisp, images acceptable.
- Split the document if a single PDF simply won't fit. Sending pages 1–10 and 11–20 as two files is often allowed and avoids destroying quality.
Realistic limits and honest trade-offs
Compression is lossy for images, so there's a floor. Squeezing a 40-page colour scan under 500KB will produce visibly muddy pages. If you're near that edge, consider:
- Converting colour scans to greyscale if colour isn't needed — often a 30–50% saving.
- Removing unnecessary pages before compressing.
- Re-scanning at 150–200 DPI rather than re-compressing an existing 600 DPI file, if you still have the original.
A text-only PDF that's already 200KB won't shrink much no matter what you do — there's simply little redundant data to remove.
A note on privacy when using online tools
Uploading a document means it briefly leaves your device. For CVs and marketing PDFs that's rarely a concern. For medical records, IDs or signed contracts, check where the tool processes files and how long they're kept. Tools with EU-only hosting and short auto-deletion windows — Konomic deletes within an hour — reduce how long your data is exposed. If a file is genuinely sensitive and you have the software, the fully offline Ghostscript or Acrobat route removes the question entirely.
Whatever tool you pick, the workflow is the same: know what's making the file big, adjust resolution and quality, aim just under your ceiling, and check the result before you send it.
Do it now — free, in your browser, files auto-deleted in 1 hour.
Compress PDFFrequently asked questions
How do I compress a PDF to under 5MB?
Start with a medium compression level and check the output. If it's still over 5MB, switch to a high/aggressive setting or lower the image resolution to around 120–150 DPI. Aim for about 4.5MB to leave headroom. Some tools, including Konomic's Compress PDF, let you see the resulting size before downloading so you can adjust in one pass.
Why won't my PDF get smaller no matter what I try?
If the file is mostly text, there's little redundant data to remove, so compression has almost no effect. Size reductions come mainly from downsampling images. A 200KB text PDF is already close to its floor; a 10MB scanned document, by contrast, can often be cut by 70% or more.
Does compressing a PDF reduce its quality?
For image-heavy PDFs, yes — image compression is lossy, so text can soften and photos can show artefacts at aggressive settings. At moderate levels (150 DPI, 70% JPEG quality) the loss is usually invisible on screen. Always inspect the output at 100% zoom before relying on it.
Is it safe to compress sensitive PDFs online?
It depends on the service. Uploading means the file briefly leaves your device. For sensitive documents, choose a tool that processes files in a known jurisdiction and deletes them quickly — Konomic uses EU servers in Germany and auto-deletes uploads within an hour. For maximum control, an offline tool like Ghostscript or Acrobat keeps the file entirely local.