"File exceeds the maximum size" is one of the most common messages people meet when submitting documents online. Job portals, government forms and many email providers set a size limit, and a scanned contract or a brochure full of photos can easily go over it.
The fix is compression, but "compress PDF" can mean very different things depending on the tool. This guide explains where PDF size comes from, the trade-offs each compression method makes, how to shrink a file with our browser tool, and when a different approach will give you a better result.
Where PDF file size comes from
A PDF's size is mostly the sum of what is embedded in it:
- Images. By far the biggest factor. A scanned page is a full-page picture; a phone photo placed in a document may be 12 megapixels even if it is printed at postage-stamp size.
- Fonts. Each font used is usually embedded, sometimes in full. A text-only report with several fonts may still be a few hundred kilobytes.
- Vector graphics. Charts, maps and CAD drawings are stored as shapes. Complex drawings can be large, but they scale perfectly.
- Extras. Attachments, form scripts, thumbnails and duplicated resources from careless merging.
This explains a common puzzle: a 40-page text document can be smaller than a single scanned page, because text is stored as characters, not pixels.
Two families of compression
| Method | What it does | Keeps selectable text? | Best for |
|---|---|---|---|
| Optimising | Re-compresses embedded images, removes duplicates and unused data | Yes | Mixed documents from office software |
| Rasterising | Redraws every page as one image at a chosen resolution | No | Scans and image-heavy files that must get small |
Rasterising is blunt but predictable. Once each page is a JPEG at a set resolution, the file size depends mainly on page count and quality level, no matter how messy the original was.
Resolution and quality in plain terms
Resolution is measured in DPI (dots per inch). Around 72 DPI is enough to read on a screen at normal zoom; around 150 DPI looks clean on screen and acceptable when printed; 300 DPI is typical for high-quality print. JPEG quality is a separate dial: lower quality means stronger compression and more visible blur around sharp edges.
Compress a PDF in your browser
Our Compress PDF tool uses the rasterising method and runs on your device, which suits scans, photo reports and other image-heavy documents.
- Open Compress PDF and drop your file (up to 200 MB).
- Under Compression level, pick one of three settings:
- Low quality: smallest file, about 72 DPI at JPEG 50%.
- Medium quality: the recommended balance, about 108 DPI at JPEG 70%.
- High quality: sharper, about 144 DPI at JPEG 85%.
- Read the notice: each page becomes a JPEG image, so text can no longer be selected or searched, and links and form fields stop working.
- Click Compress PDF and watch the progress bar.
- Compare the Before, After and Saved figures, then click Download compressed PDF.
If the compressed version would be larger than your original, which happens with lean text-only files, the tool says so and offers Download original instead of handing you a worse file.
Other ways to reduce PDF size
Re-export from the source
If you created the PDF from Word, PowerPoint or a design program, the cleanest fix is often to export again with a smaller setting. Office apps typically offer a "minimum size" or "optimise for online" option when saving as PDF, and they keep the text real. Compressing an already-exported PDF is always second best to exporting it well.
Ghostscript on the command line
The free Ghostscript suite can rewrite a PDF with lower-resolution images while keeping text as text:
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -dQUIET \
-sOutputFile=smaller.pdf original.pdf
/screen is smaller and rougher, /ebook is a common middle ground and /printer keeps more detail. Results vary with the input, so check the output visually. For office documents that must stay searchable, this optimising approach is usually better than rasterising.
Mac Preview
Preview's export dialog offers a "Reduce File Size" Quartz filter. It is quick, but it can be aggressive with images, so compare the result before sending it.
Tips and troubleshooting
Fix the biggest inputs first
When you are assembling a document from photos, shrink the photos with Image Compressor before making the PDF. It is easier to control quality on each image than on the finished file.
Colour you don't need
A scanned black-and-white form saved in colour wastes space. Converting it with Grayscale PDF can help, especially before compressing.
Split instead of squeeze
If a portal has a 5 MB limit and your document is 25 MB of necessary scans, heavy compression may make it unreadable. Check whether the portal allows several uploads, and use Split PDF to send it in parts at a readable quality.
Keep the original
Rasterised compression is one-way: you cannot recover selectable text from the compressed copy. Always keep the source file, and send the compressed version only where size matters.
Text looks fuzzy after compression
Choose a higher level. Small print and thin lines suffer first at low resolution. If the document is mostly text, rasterising is the wrong method; re-export from the source or use an optimising tool.
Frequently asked questions
Why did my compressed PDF get bigger?
Text-only PDFs are already compact, and turning pages into images can add size. Our tool detects this and lets you keep the original instead.
Will compression make my PDF unreadable?
Not at medium or high levels for normal documents. Low quality is fine for reading on screen but may blur small print; always check the result before sending.
Can I compress a PDF and keep the text searchable?
Yes, with an optimising method such as re-exporting from the source app or using Ghostscript. Our browser tool rasterises pages, so it does not keep searchable text.
How small can a PDF get?
It depends on page count, page size and how busy each page is. With rasterising, every page becomes one image, so size grows roughly in line with the number of pages; try the Low level and check whether the result is still legible.
Is it safe to compress confidential documents online?
It depends on the tool. Ours processes the file in your browser without uploading it, which is a sensible choice for payslips, IDs and contracts.