In short
Embedded photos, usually stored as lossy DCT-based JPEG, take up most of the space in a heavy PDF, so pd00 compresses a PDF by re-encoding them and leaves text, fonts and vector drawings untouched. The default Balanced level limits each photo to 1,700 px on its long edge at JPEG quality 68, and the file you get back is never larger than your original.
How to use Compress PDF
- Add one or more PDFsDrop PDFs onto the tool or click to choose them. A run can hold up to 500 files, and they are compressed one after another.
- Choose a compression levelUnder Compression, pick Light, Balanced or Strong; Balanced is selected to begin with. Click Compress PDF and a progress line counts through the images in each file.
- Compare sizes and downloadEach file shows its size before and after. Save it on its own, where report.pdf comes back as report-compressed.pdf, or collect several with Download all (ZIP).
A worked example
A phone scanning app saved a 30-page application as application.pdf, each page a 3024 × 4032 JPEG photo. With Balanced, every photo is scaled so its long edge is 1,700 px (3024 × 1700 ÷ 4032 = 1275), giving 1275 × 1700 at quality 68, and the new version replaces the old one only when it is more than 10% smaller.
You download application-compressed.pdf, still 30 pages, and the result line shows the size before and after plus how many of the 30 photos were recompressed. Strong would give 900 × 1200 at quality 55; Light, 1800 × 2400 at quality 80.
What it covers, and its limits
- Only standard JPEG photos are re-encoded; text, fonts, vectors and other image types, like fax-style scans, stay as they are.
- JPEGs under 40 KB, CMYK photos and re-encodes that save 10% or less are left untouched.
- There’s no target-size option. Personal Gmail accounts allow 25 MB of attachments per message; if Strong still misses that, use Split PDF.
- Up to 500 PDFs per run; password-protected ones must go through Unlock PDF first.
Sources
- JPEG Image Encoding Family Library of Congress
- Send attachments with your Gmail message Gmail Help
- @cantoo/pdf-lib, a maintained fork of pdf-lib Cantoo on GitHub
Links checked on October 10, 2026.
About Compress PDF
A PDF stores each kind of content in its own way. Text is kept as characters plus the fonts needed to draw them, charts and logos are often vector instructions, and photos and scanned pages are embedded as images, usually JPEG. Text and vectors are compact; the images are almost always what makes a file heavy.
So this compressor goes after the photos. It finds each standard JPEG image in the file, scales it down if it is larger than the chosen preset allows, and re-encodes it at a lower JPEG quality. A re-encoded photo replaces the original only when it comes out noticeably smaller. Fonts, text and vector graphics are not touched, so text stays sharp at any zoom and remains searchable, and the pages keep their order. Finally the document is saved again with its internal structure packed more tightly.
One rule always holds: you never get back a file larger than the one you put in. If re-saving wouldn’t help, your original is returned unchanged and the result line reports that it is already compact.
When people use it
A scanned application over an email limit
A phone scanning app produced a 30-page PDF that is too big to attach. Balanced brings each page photo down to 1,700 px, which reads comfortably on screen and prints fine on an office printer.
A photo-heavy listing or brochure
Property listings and product brochures often embed camera-sized photos. Light trims them to 2,400 px at quality 80, cutting excess resolution while keeping the pages suitable for print.
An upload portal with a strict cap
Job, school and government portals sometimes accept only a few megabytes. Strong goes to 1,200 px at quality 55, and if that still falls short, splitting the document is the next move.
Light, Balanced and Strong compared
| Preset | Photos limited to (long edge) | JPEG quality | Good for |
|---|---|---|---|
| Light | 2,400 px | 80 | Documents you may print; a modest saving with little visible change |
| Balanced (default) | 1,700 px | 68 | Email, upload forms and reading on screen |
| Strong | 1,200 px | 55 | Squeezing under a strict size limit |
To picture those numbers, imagine a photo filling a letter-size page, 11 inches on its long side. At 2,400 px it has about 218 pixels per inch, at 1,700 px about 155, and at 1,200 px about 109. Roughly 150 is comfortable for on-screen reading and ordinary printing; fine photographic prints need more. Photos already below the limit are not enlarged, only re-encoded. The quality figures use the browser’s 0–100 JPEG scale, and at 55 fine textures and small print in scans can look slightly soft or blocky.
Which PDFs shrink a lot, and which barely change
- Big savings: scans saved as JPEG pages by a copier or phone app, PDFs built from phone photos, and image-rich brochures, listings and reports.
- Little or no saving: text-only documents exported from a word processor, files that were already optimized, and PDFs whose images aren’t standard JPEG.
Only standard JPEG photos are recompressed; other image types inside a PDF are left as they are. Black-and-white scans, for instance, are often stored in fax-style formats rather than JPEG, so they may hardly change. When a file does shrink, the result line also says how many of its photos were recompressed.
Getting under an email attachment limit
Email services commonly cap attachments at around 20–25 MB, and some count the encoded size, which runs about a third larger than the file on disk, so leave headroom. If Balanced isn’t enough, try Strong first. Next, send fewer pages: Split PDF divides a document across two emails, and Delete PDF pages drops pages the recipient doesn’t need. If the PDF was built from photos you still have, rebuild it with JPG to PDF and a smaller max size such as 1280 px. There is no “compress to exactly 1 MB” setting; you pick a level and read the before and after sizes.
Trade-offs and times to leave a PDF alone
- Photo detail is reduced. That is where the savings come from, so keep the original if you might print photos at high quality later.
- Official originals. When a lender, agency or court asks for the original file, send the original rather than a compressed copy.
- Password-protected PDFs. Unlock them first with Unlock PDF; you need the password to do so.
- Very large files on phones. The whole document is held in memory, so files of several hundred megabytes are better compressed on a computer.
Compression runs inside this browser tab and the PDF never leaves your device; the privacy page shows how to check with your browser’s Network panel.