Why PDF files get large
Most of the size of a typical PDF comes from images: scanned pages, photos taken with a phone, pictures in a presentation. A phone photo of one page can be 3 to 5 MB, so a scan of 20 pages easily reaches 50 MB or more. Other causes are fonts embedded several times, and files saved by programs that do not optimize the structure. Many email services stop at about 20 to 25 MB per message, and online forms of banks, universities and government offices often accept only 2 to 10 MB per file.
To see where the size comes from, divide the file size by the number of pages. More than 1 MB per page almost always means large images, and such files shrink a lot with strong compression. Less than 100 KB per page means the file is mostly text, and it is already small.
Two methods: strong and lossless
Strong compression rebuilds the PDF with Ghostscript, a well-known open-source PDF engine. It lowers the resolution of large images to what is needed for screen or print, stores them with efficient compression and removes duplicate resources. Files usually become 40 to 90 percent smaller. Text and vector graphics stay as they are, so text remains sharp and selectable.
Lossless compression repacks the file structure in your browser: it packs objects into compressed streams, compresses the data again more tightly and drops resources that no page uses. Images are not touched at all, so the quality is exactly the same. It saves less, often 5 to 30 percent, but the file is never uploaded.
With both methods, a result is never larger than the input. If a file cannot be made smaller, you get your original back, and the note tells you how many files were already compact.
Which level to choose
| Level | What happens to images | Use it for |
|---|---|---|
| Low | Kept at high resolution, suitable for printing | Documents you will print, files with fine detail |
| Recommended | Reduced to a resolution that looks sharp on screen | Email, sharing, most everyday files |
| Extreme | Reduced further; images get visibly softer | Strict upload limits, scans of text pages |
Start with Recommended. If the file is still too large, try Extreme and check that the pages are still easy to read. If you must not change the images at all, for example in a document with photos for print, use the lossless method.
What happens to your files
Strong compression needs Ghostscript, which does not run in a browser. For this method, your PDF is sent over an encrypted HTTPS connection to our own server, compressed there and deleted right after. The compressed file is kept for 15 minutes at most so that you can download it. Password-protected PDFs can be compressed after you enter the password; the result of strong compression has no password, so add it again with Protect PDF if needed. Lossless compression keeps the password and the permissions of the file.
Other ways to make a PDF smaller
- Remove pages you do not need with Delete Pages before you compress the PDF.
- If a file is still over a size limit, cut it into parts with the file size mode of Split PDF.
- When you create a PDF from photos, choose a lower image quality in JPG to PDF; the file is small from the start.
Note that compressing a PDF is different from resizing it: compression reduces megabytes, while Resize PDF changes the paper size.