Skip to content
Back to Blog
device-usecase-privacy

How to Compress a PDF Without Losing Quality

2026-05-17 9 min read

Why PDFs Get So Large in the First Place

To compress a PDF intelligently, you first need to know what's making it so heavy. A 50 MB PDF with just text and charts is almost always bloated. The usual suspects are non-subsetted embedded fonts, high-resolution images meant for print (300 DPI+) in a screen-only document, or a mountain of metadata and color profiles from design software like InDesign. Images are the biggest offender, by a long shot. A single full-page photograph exported at 300 DPI can easily add 8–12 MB. In a 40-page product catalog, that quickly adds up to a file that clogs email inboxes and makes downloads feel like they're happening over dial-up. Fonts are a smaller but still significant problem. Embedding a whole typeface family instead of just the characters you used can tack on 2–5 MB per font. There's a sneakier cause, too: incremental saves. Each time you edit and save a PDF without 'flattening' it, the file just bolts on new data instead of properly overwriting the old. A document revised 20 times might be carrying around 15 versions of deleted content, invisible to you but still taking up space. Figuring out which of these issues is plaguing your file is the key to choosing a compression strategy that works, rather than just making your images blurry for no good reason.

The Difference Between Lossy and Lossless PDF Compression

Most compression tools use one of two methods. Mixing them up is the fastest way to get a blurry, unusable PDF. Lossless compression is about efficiency. It reorganizes data without throwing anything away. Think of it like Flate (ZIP) compression, which re-encodes text and vector graphics to take up less space. When you open the file, every single pixel and character is identical to the original. For documents heavy on text, like contracts or reports, lossless methods can shrink the file size by 20–40% with absolutely no change in quality. Lossy compression, on the other hand, permanently deletes data to save space. The classic example is JPEG compression on images. Set the quality to 80 (out of 100), and most people won't spot the difference on a screen. Drop it to 60, and you'll start seeing ugly artifacts around sharp edges. At 40 or below, the damage is impossible to miss: text on slides looks fuzzy, product photos get weird color bands, and diagrams become a mess. So what's the right move? If your PDF is primarily text and vector art, always start with lossless compression. If you have photos, screenshots, or scans, you can apply some moderate JPEG compression—I find a quality setting of 85 is the sweet spot for looking great without sacrificing too much. The biggest mistake people make is throwing aggressive lossy compression at an already efficient file. They end up with a much worse-looking document that's barely any smaller. This is why a good tool shows you a file size preview before you commit, which is exactly how CocoConvert works.

Step-by-Step: Compressing a PDF with CocoConvert

The CocoConvert PDF compressor uses a simple upload-and-process workflow, but don't just click the first button you see. Making the right choice here matters. Head to the PDF Compress tool at cococonvert.com/compress-pdf and drop your file in the upload box (or click to browse). It can handle files up to 200 MB. Once your file is uploaded, you'll get a choice of three compression presets. "Low Compression" is lossless, keeping image quality perfect. "Medium Compression" uses a JPEG quality of about 80 and is the best bet for most files. "High Compression" drops JPEG quality to around 60, which you should only use when you absolutely need to hit a strict size limit, like a 5 MB upload cap. For a typical business report with charts and some photos, "Medium Compression" is the way to go. CocoConvert processes the file and shows you the before-and-after sizes. For instance, a 22 MB annual report usually shrinks to 6–9 MB with this setting, and you won't see any difference on screen at 100% zoom. If you're working with a scanned document, like a signed contract that's just a series of images, "High Compression" can be a great option. The original scan quality is already the limiting factor, so you're not losing much. A 15 MB scanned contract can often get down to under 2 MB, small enough for any email service (Gmail's cap is 25 MB, Outlook's is 20 MB). CocoConvert handles your files on secure servers and automatically deletes them after one hour. All transfers use HTTPS, and no account is needed. This is a crucial detail for any document containing sensitive information like NDAs or financials, and we'll dive deeper into privacy later on.

When You Need More Control: Desktop Tools and Their Settings

CocoConvert is great for most jobs, but sometimes you need more control. When you have to compress images to a specific DPI, target only certain pages, or meticulously strip metadata, it's time to turn to desktop software. These tools give you far more levers to pull. Adobe Acrobat Pro's PDF Optimizer (found under `File > Save As Other > Optimized PDF`) is the gold standard for control. In its Images tab, you can downsample color, grayscale, and monochrome images separately. A common pro workflow is downsampling color images to 150 DPI for screen viewing while keeping monochrome line art and signatures at 300 DPI to avoid jaggedness. The Fonts tab lets you unembed fonts, but tread carefully. Removing fonts can lead to bizarre display issues if the viewer's computer doesn't have them installed. If you're comfortable with the command line, Ghostscript is a fantastic free alternative that produces excellent results. The command `gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -o output.pdf input.pdf` uses the 'ebook' preset, which aims for 150 DPI image resolution—roughly equivalent to CocoConvert's Medium setting. The `/screen` preset goes down to 72 DPI (only for non-printable files), while `/printer` keeps everything at 300 DPI and barely reduces size at all. And for Mac users: avoid Preview's "Reduce File Size" filter. Please. Anyone who has been burned by it knows the pain. It's a butcher, not a surgeon, capable of turning a beautiful 10 MB file into a 500 KB blocky mess. While convenient, it's almost never the right choice for a document that needs to look professional.

Preserving Specific Elements: Fonts, Vector Graphics, and Annotations

When your PDF has more than just text and photos, compression gets tricky. Fonts, vector art, and interactive elements all react differently to being squeezed. Fonts: Subsetting is a no-brainer. This process includes only the specific characters used in your document, which is almost always safe and can shave 1–3 MB off your file size for each embedded font. You only need to embed the full font if someone else needs to edit the text later. If your PDF is read-only, subsetting is the way to go. CocoConvert handles this for you automatically. Vector graphics: The logos, charts, and illustrations you make in a tool like Illustrator are defined by math, not pixels. This means they're already resolution-independent and compress beautifully with lossless methods. Don't ever apply JPEG compression to a page that only has vector content. It's a terrible idea that rasterizes your clean lines into a blurry bitmap, ruining the quality for no real size savings. CocoConvert's engine is smart enough to detect and protect vector-only pages, but be careful with more generic tools. Annotations and form fields: In a heavily marked-up document, flattening your annotations can cut file size by 5–15%. This merges them permanently into the page. In Acrobat, you can find this tool under `Tools > Print Production > Flattener Preview > Apply`. But be warned: flattening is a one-way street. Form fields will no longer be fillable, and highlights can't be removed. Only do this to a copy of your file, never the original. Bookmarks and hyperlinks: These are just lightweight metadata. They barely add to the file size, so there's no reason to remove them. In fact, stripping them out just makes the document harder to navigate. Leave them in.

Privacy Considerations When Compressing PDFs Online

Every time you upload a document to an online service, you're making a decision about trust. You need to be clear about what that means for sensitive files. CocoConvert encrypts all file transfers with TLS 1.2 or higher, so your document is protected in transit. Files are processed in isolated environments and automatically deleted after one hour. Since there are no user accounts, CocoConvert can't build a profile of your documents. These are strong protections, but they aren't the same as keeping a file entirely on your own computer. For truly sensitive documents—legal files, medical records covered by HIPAA, or financial data under SOC 2—the only 100% safe approach is to use a local tool. Software like Ghostscript, Adobe Acrobat, or PDF Expert (on Mac) ensures the file never leaves your device. This isn't just a CocoConvert limitation; it's true for any tool that runs in a web browser. If you're in a bind and must use an online tool for a sensitive file, there is a middle ground. You could redact the sensitive data, compress the sanitized version, and then add the private information back in a secure, local environment. It’s a hassle, but it's sometimes necessary for compliance. But let's be realistic. For the vast majority of jobs—compressing a product brochure, shrinking a presentation for email, or making a portfolio smaller—online compression is perfectly fine. The risk of sending a marketing PDF is worlds away from that of a signed NDA. The key is to match your tool to your actual risk, not to follow a rigid, all-or-nothing policy.

Checking Your Results: How to Verify Quality After Compression

Your job isn't done when the progress bar finishes. A smaller file that looks terrible isn't a success; it's just a problem you've passed on to someone else. The easiest way to check your work is to open the original and compressed PDFs side-by-side. View them at 100% zoom, not 'fit to page.' In Adobe Reader, that's `View > Zoom > 100%`. Pay close attention to high-contrast areas: black text on white backgrounds, thin diagram lines, and photos with fine textures like hair or fabric. That's where JPEG artifacts love to hide. If the document is going to be printed, zoom in to 200% and look at the text. A little fuzziness at 200% on a screen is usually fine for printing, since screens and printers render things differently. But if the text looks blocky, or you see those tell-tale rectangular patches of color from over-compression, you've gone too far. Did you hit your size target? If you needed to be under 10 MB for an email and you landed at 9.8 MB, great. If the file is still 18 MB, you might have hit a wall. Some PDFs are already so well-optimized that they can't get much smaller without sacrificing quality. No tool can magically change that. One last thing: try opening the file on a different device, like your phone or a tablet. This simulates how others might see it. Mobile PDF readers can render things differently, and a file that looks perfect on your laptop might show ugly artifacts on an older phone. This five-minute check can save you from the embarrassment of sending out a document you'll later regret. It's a small price to pay for professionalism.