How to Compress a PDF Without Losing Visible Quality
Most oversized PDFs are big because of photos and duplicated data, not text. Here is how to shrink them while text and vector graphics stay exactly as they were.
DocsEngine Editorial Team
Example only: photo-heavy files shrink the most; text-only files often barely change.Key Takeaways & Executive Summary
Open Compress PDF, choose a Compression Profile, and click Compress PDF. It runs in your browser, so the file never leaves your device.
Text and vector graphics are never turned into images, so they stay sharp at any zoom level. Only large photos are resampled and re-encoded.
Balanced (recommended) downsamples photos to 150 DPI at JPEG quality 70%. High quality keeps photos at 220 DPI; Maximum compression goes to 100 DPI.
With grayscale off, you get the original back if compression cannot reduce the size. If you convert color images to grayscale, the converted copy can be larger.
There is no "target size" setting: if you need a hard limit, try the next profile, or split the document first.
Table of Contents
How to compress a PDF without losing quality (quick answer)
Why is my PDF so large?
Step-by-step: compress a PDF in your browser
The three compression profiles explained
What changes and what stays exactly the same
Getting under an email or portal limit
Limitations: when a PDF will not get smaller
Is it safe to compress confidential PDFs?
Frequently Asked Questions
Sources
How to compress a PDF without losing quality (quick answer)
Why is my PDF so large?
Step-by-step: compress a PDF in your browser
The three compression profiles explained
What changes and what stays exactly the same
Getting under an email or portal limit
Limitations: when a PDF will not get smaller
Is it safe to compress confidential PDFs?
Frequently Asked Questions
Sources
How to compress a PDF without losing quality (quick answer)
Upload the file to Compress PDF, keep the default Balanced (recommended) profile and click Compress PDF. Text, line art and vector charts are left untouched, so they look exactly the same; large photos are downsampled to 150 DPI and saved as JPEG, which is usually invisible on screen.
If you need the result to look as close as possible to the original, pick High quality. If the file must squeeze under a strict upload limit, try Maximum compression and check the result before you send it.
Why is my PDF so large?
A PDF is a container of objects: page descriptions, fonts, images and metadata. In most oversized files the images are the problem. A page scanned at 300 or 600 DPI, or a phone photo placed at full camera resolution, carries far more pixels than a screen can show.
The other common cause is repeated data. A logo or background that appears on every page is sometimes stored again on every page, and files that have been edited many times can carry objects that no page uses any more.
- High-resolution photos and scans: the biggest saving comes from resampling these.
- Duplicate images and fonts: identical copies can be stored once and shared.
- Leftover data: unused objects, page thumbnails and editing data (/PieceInfo) that viewers never display.
- Text-only documents: usually small already. Text is stored as characters plus fonts, so there is little to remove.
Step-by-step: compress a PDF in your browser
The whole process takes place on your device; nothing is uploaded.

- Open Compress PDF and add your file (you can add up to 25 PDFs at once).
- Under Compression Profile, choose Maximum compression, Balanced (recommended) or High quality.
- Optional: turn on Convert images to grayscale for scans that do not need color. Text and vector graphics keep their color.
- Click Compress PDF and wait for the progress bar to finish.
- Download `yourfile_compressed.pdf`. With several files you get a ZIP, and each file can also be downloaded on its own.
- Open the result and check the pages that matter most (photos, signatures, small print) before you send it.
The three compression profiles explained
Each profile sets a target resolution and JPEG quality for photos. An image is only resampled when that removes a meaningful share of its pixels (more than 15%), and a recompressed image is only kept when it is at least 10% smaller than before. Small images (under 16 KB or under 96 px) are skipped.
Why 150 DPI is usually enough on screen
A full-width photo on an A4 or US Letter page at 150 DPI is about 1240–1275 pixels wide, which is plenty for reading on a laptop or phone. Choose High quality if the document will be printed or zoomed into.
| Profile | Photos | Line art and diagrams | XMP metadata | Good for |
|---|---|---|---|---|
| Maximum compression | 100 DPI, JPEG quality 50% | Downsampled to 150 DPI | Removed | Strict upload limits, on-screen reading |
| Balanced (recommended) | 150 DPI, JPEG quality 70% | Downsampled to 220 DPI | Removed | Email, sharing, most documents |
| High quality | 220 DPI, JPEG quality 84% | Never downsampled | Kept | Printing, photos you want to keep crisp |
What changes and what stays exactly the same
Some steps change nothing you can see: duplicate streams are stored once, unused objects and page thumbnails are dropped, and the file is repacked into compressed object streams with qpdf. The PDF format allows several ways to store the same content, and these steps simply pick a more compact one.
The only lossy step is photo recompression. Photo-like images are re-encoded as JPEG at the profile quality, while line art, transparency masks and special image types (JPEG 2000, JBIG2, CCITT fax, 16-bit, indexed and CMYK images) are left as they are. Existing JPEGs are only re-encoded when they are resized or their quality is higher than the target.
The document information (title, author) is kept. XMP metadata is removed by the Maximum and Balanced profiles.

Getting under an email or portal limit
Compress PDF has no "compress to 1 MB" box, because the result depends on what is inside the file. A 40-page scan can shrink a lot; a text report may hardly change. Work through these options in order:
- Run Balanced (recommended) and check the size.
- Still too big? Run Maximum compression on the original (not on the already compressed copy), and turn on Convert images to grayscale for black-and-white scans.
- Still too big? Split the PDF into parts and send them separately, or remove pages you do not need.
- For email, remember the attachment limit: personal Gmail accounts allow 25 MB in total, and larger files are sent as a Drive link instead.
Limitations: when a PDF will not get smaller
Files made mostly of text, vector drawings or already-compressed JPEGs often shrink only a little. Leave grayscale off if size is your only goal. The compressor keeps the original when it is already the smaller file. If you request grayscale and images change, it keeps the converted copy even when it grows.
Fonts are not subset or removed, so a file that embeds many full fonts keeps them. If the PDF requires a password, enter it when prompted and choose Unlock and continue. A newly compressed copy loses the original protection. Use Protect PDF to set a password before sharing it.
Is it safe to compress confidential PDFs?
Compress PDF runs in your browser using a background worker and qpdf compiled to WebAssembly. The file is read and written on your device and is never uploaded.
What happens to your file
Adding a file keeps it on your device. If your browser cannot finish, you can close the offer to keep it local. Choosing Use secure server uploads the file for processing. Server files are deleted as soon as processing ends, and the result right after you download it (or after 10 minutes).
Compress your PDF in your browser
Pick a profile, click Compress PDF and download a smaller file. Free, no sign-up, and the file never leaves your device.
Frequently Asked Questions
Start with Balanced (recommended). Use High quality for documents you will print or zoom into, and Maximum compression when a strict size limit matters more than photo detail.
There is no target-size setting. Try Balanced, then Maximum compression with grayscale images, and split the file if it is still too large.
It was already compact: mostly text, vector graphics or efficiently compressed images. With grayscale off, you get the original back when compression cannot reduce the size.
Yes. Add up to 25 files; each is compressed separately and you can download them as one ZIP or one by one.
Yes. Enter the opening password when prompted and choose Unlock and continue. If the tool returns the original file, its protection stays in place. A newly compressed copy needs a new password if you want to protect it.
Sources
- ISO 32000-1:2008, Document management — Portable document format — Part 1: PDF 1.7 (public copy) (Adobe / ISO)
- qpdf documentation (qpdf)
- ITU-T T.81: the JPEG standard (ITU-T / W3C)
- Gmail: attachment size limits (Google Gmail Help)
Table of Contents
How to compress a PDF without losing quality (quick answer)
Why is my PDF so large?
Step-by-step: compress a PDF in your browser
The three compression profiles explained
What changes and what stays exactly the same
Getting under an email or portal limit
Limitations: when a PDF will not get smaller
Is it safe to compress confidential PDFs?
Frequently Asked Questions
Sources
How to compress a PDF without losing quality (quick answer)
Why is my PDF so large?
Step-by-step: compress a PDF in your browser
The three compression profiles explained
What changes and what stays exactly the same
Getting under an email or portal limit
Limitations: when a PDF will not get smaller
Is it safe to compress confidential PDFs?
Frequently Asked Questions
Sources
Compress PDF
Free, no sign-up. Runs in your browser, so your files never leave your device.
Share this guide


