How to compress a PDF to a specific size
- 1.
Open your PDF
Drop the document on the box above or choose it from your device. If the file is password-protected, enter the password. It is used only on your device.
- 2.
Set the limit
Click 200 KB, 500 KB, 1 MB, 2 MB, 5 MB or 10 MB, or type your own value and pick KB or MB. The default is 1 MB.
- 3.
Check the estimate
The tool shows how much room each page gets. If it is very little, it warns you that text may blur or that the limit may be out of reach.
- 4.
Click “Shrink PDF to the limit”
The tool runs several attempts with different DPI and JPEG quality. The progress bar shows the current attempt and page, and you can cancel at any time.
- 5.
Check the result and download
You see the size before and after, the DPI and the JPEG quality that were chosen. If the limit cannot be reached, you get the smallest possible result with a message.
How the tool picks the DPI and quality
Every page is drawn at a chosen resolution (DPI), saved as a JPEG image and put into a new PDF with the same page dimensions. The tool looks for settings where the file fits the limit and the pages keep as much detail as possible. The size of each attempt is the real size of the saved file, not an estimate.
- It first tries the lowest settings: 72 DPI and JPEG quality 30%. If the file does not fit even then, the limit is out of reach and you get that smallest result with a message.
- Then it uses a binary search to find the highest DPI from the list 72, 84, 96, 110, 130, 150 and 200 at which the file fits with quality 75%.
- Finally it tunes the JPEG quality in 5-point steps: up to 95% at the chosen DPI, or down to 30% when even 72 DPI at 75% is too big.
A typical run takes between a few and eight attempts. Each one renders every page, and attempts that already go over the limit stop early. A long document can take a few minutes. Very large pages are capped at about 16 megapixels so the browser does not run out of memory.
What the document loses
Pages become images, so text can no longer be selected, copied or searched, and links, bookmarks and form fields stop working. Page dimensions (for example A4) stay the same. The result is a new file, so it is not password-protected and does not carry the original metadata.
Do not use this method for documents you still need to edit, search or fill in. Keep the original and send the smaller copy only where a size limit forces you to.
Is the limit realistic: room per page
The size of the result depends mostly on the number of pages, so it helps to work out how much room each page gets. The table shows the limit divided by the number of pages, in KB per page.
| Limit | 5 pages | 10 pages | 20 pages | 50 pages |
|---|---|---|---|---|
| 200 KB | 40 | 20 | 10 | 4 |
| 500 KB | 100 | 50 | 25 | 10 |
| 1 MB | 200 | 100 | 50 | 20 |
| 2 MB | 400 | 200 | 100 | 40 |
| 5 MB | 1000 | 500 | 250 | 100 |
| 10 MB | 2000 | 1000 | 500 | 200 |
The tool warns you when a page gets less than 100 KB (resolution and quality will be low and small text may blur), and more strongly when it gets less than 40 KB (the limit may be out of reach). This is only a rough estimate. In our tests an A4 page saved at the lowest settings (72 DPI, quality 30%) weighed from about 40 KB (text with a photo) to about 95 KB (densely set text), and a page with a plain background weighs much less.
When to start with plain compression
If you do not need an exact size, use Compress PDF. It has three ready-made levels and shows the result right away, so for a file that is only slightly too big “Recommended” is often enough. That tool also turns pages into images, so it has the same limitations as this one.
A document built from photos shrinks better if you shrink the photos before you assemble the PDF. Do that in compress image to target size, then put the pages together in JPG to PDF. You can also split a long document and send the parts separately.
KB or KiB
The tool counts 1 KB as 1000 bytes and 1 MB as 1,000,000 bytes. Some forms count 1 KB as 1024 bytes. A result that fits a limit counted the first way also fits there, with room to spare. If a form rejects a file right at the limit, set the limit a few KB lower.
Frequently asked questions
Can I still select text after shrinking the PDF?
+
Will every PDF fit the limit I choose?
+
Why is the result smaller than the limit?
+
How is this different from Compress PDF?
+
How do I get a PDF made of photos under a size limit?
+
Is my PDF uploaded to a server?
+
Can I shrink a password-protected PDF?
+
How long does it take?
+
Updated: