How to Compress a PDF Without Losing Quality
Learn how to compress PDF files while keeping text sharp, images clear, and layouts intact. This guide explains why PDFs become large, which settings matter most, how online and desktop tools compare, and when to use Acrobat, Preview, Ghostscript, or export settings to reduce PDF size safely for sharing, uploading, archiving, and publishing.
Table of Contents
PDFs are designed to preserve layout, fonts, images, links, forms, and page geometry across devices. That reliability is why PDFs are used for contracts, reports, scans, manuals, invoices, brochures, and long-form documents. It is also why they can become surprisingly large. A single scanned report can exceed an email attachment limit, while a design-heavy proposal can be too slow to upload to a portal.
The goal of PDF compression is simple: reduce PDF size while keeping the document usable, readable, and visually faithful. In practice, the best way to compress PDF files depends on what is inside the PDF. A native document exported from Word behaves differently from a scanned image-only PDF. A file full of product photos needs different treatment from a text-heavy legal agreement. A PDF/A archive has stricter requirements than a draft brochure.
This guide explains how to compress PDF without losing quality, what settings matter, and which methods are safest for different workflows. If you need a quick conversion workflow, ConvertFiles offers document tools such as PDF to PDF, DOCX to PDF, PDF to DOCX, PDF to JPG, JPG to PDF, and PNG to PDF.
Why PDFs Get Large
Most large PDFs are large for one of five reasons: high-resolution images, scanned pages, embedded fonts, hidden objects, or extra document data.
Images are usually the biggest factor. A PDF that contains 300 DPI or 600 DPI photographs, screenshots, or page scans stores a large amount of pixel data. If those images are uncompressed, lightly compressed, or saved at a higher resolution than needed, the file size grows quickly.
Scanned PDFs are often large because every page is stored as an image. A 40-page scan is not 40 pages of text; it is 40 full-page pictures. Unless optical character recognition is applied, the words are not selectable text. For more detail, see OCR Explained.
Fonts also add size. PDF files can embed entire fonts so that the file looks correct on any computer. Font embedding is useful, but embedding full font families instead of only the characters used in the document can add unnecessary weight. This is where font subsetting helps.
PDFs may also contain metadata, thumbnails, old editing data, comments, form data, attachments, JavaScript, layers, bookmarks, and unused objects. These elements can be important in some workflows, but they can also make PDF compression less effective if they are not removed or optimized.
Finally, documents exported from design tools often contain complex vectors, transparency, duplicate images, and print-production data. These are valuable for professional printing, but they are often excessive for email, web upload, or internal review.
Scanned PDFs vs Native PDFs
Before you try to make PDF smaller, identify whether the document is scanned or native.
A native PDF contains real text, vector shapes, embedded fonts, and placed images. You can usually select text with your cursor. Native PDFs often compress well without visible loss because the compressor can optimize images, subset fonts, remove unused objects, and compress internal streams.
A scanned PDF is image based. Each page is essentially a photograph of paper. You may not be able to select text unless OCR has been applied. Compression usually depends on image downsampling, image quality settings, color mode, and OCR cleanup. Heavy compression can make scanned text blurry, introduce speckles, or create blocky artifacts around letters.
If your document began as a Word file, spreadsheet, slide deck, or layout file, the best result often comes from exporting it again with better settings instead of compressing the already-created PDF. If you are preparing a Word document, read Convert Word to PDF Without Losing Formatting. If your goal is data extraction rather than shrinking the file, How to Convert PDF Tables to Excel may be more relevant.
Lossy vs Lossless PDF Compression
PDF compression can be lossless or lossy.
Lossless PDF compression reduces file size without removing visible information. It can compress internal data streams, remove duplicate objects, discard unused metadata, subset fonts, and optimize structure. The document should look the same after compression.
Lossy compression reduces file size by removing or simplifying information, most commonly in images. JPEG compression, color reduction, and image downsampling are lossy techniques. Done carefully, they can make PDF smaller with little visible difference. Done aggressively, they can damage quality.
A practical rule is to use lossless optimization first, then apply controlled lossy image compression only when needed. For a deeper overview, see Lossy vs Lossless Compression.
PDF Compression Methods Compared
| Method | Best for | Quality control | Batch support | Cost | Risk |
|---|---|---|---|---|---|
| Online converter | Quick uploads, sharing, simple reduce PDF size tasks | Usually preset-based, sometimes low/medium/high | Limited or tool-dependent | Often free or freemium | Uploading sensitive files to a third party |
| Adobe Acrobat | Professional workflows, prepress, detailed optimization | Excellent, with image, font, object, and audit controls | Good with actions | Paid | Misconfigured settings can remove needed features |
| Preview on Mac | Fast one-off compression on macOS | Limited, mostly Quartz filter based | Weak by default | Free with macOS | Default filter may over-compress images |
| Ghostscript CLI | Developers, automation, repeatable batch compression | Strong if you understand settings | Excellent | Free/open source | Wrong presets can reduce image quality too much |
| PDF24 / desktop tools | Offline compression without command line | Moderate, depending on tool | Good in many desktop apps | Often free | Varies by tool and configuration |
| Image re-export | Scanned PDFs and image-only documents | Good if DPI and JPEG quality are controlled | Moderate with scripts/tools | Free to paid | Can destroy text sharpness if overdone |
| OCR/searchable PDF | Scanned documents that need search and smaller size | Good with OCR and image cleanup settings | Good in dedicated OCR tools | Free to paid | OCR errors and layout changes |
No single method is best for every document. The safest approach is to start with the least destructive method, inspect the output, and only increase compression if the file is still too large.
Method 1: Compress PDF Online
An online PDF compression tool is the fastest option when the document is not highly sensitive and you need a quick result. It is useful for forms, resumes, reports, class notes, and files that need to fit into upload limits.
A typical workflow is:
- Upload the PDF.
- Choose a compression level such as low, medium, or high.
- Download the compressed PDF.
- Open the result and check text, images, links, and page count.
- Compare file size against the original.
Use a low or balanced setting if you want to compress PDF without losing quality. High compression is better reserved for files where small size matters more than perfect image fidelity.
Online compression is convenient, but privacy matters. Do not upload confidential contracts, medical records, financial documents, legal discovery files, unpublished manuscripts, or files containing passwords unless you trust the provider and understand its retention policy. For broader guidance, read File Conversion Security.
Method 2: Compress PDF in Adobe Acrobat
Adobe Acrobat gives the most complete controls for PDF compression. It can audit space usage, downsample images, subset fonts, remove embedded thumbnails, discard hidden data, clean up structure, and preserve compatibility targets.
A practical Acrobat workflow:
- Open the PDF in Acrobat Pro.
- Choose the optimization or compression tool.
- Start with a reduced size or optimized PDF preset.
- Review image settings.
- Set color and grayscale images to 150 DPI for screen viewing or 300 DPI for print.
- Use medium to high JPEG quality rather than minimum quality.
- Enable font subsetting instead of removing needed fonts.
- Remove metadata, thumbnails, unused objects, and attachments only if they are not required.
- Save as a new file, not over the original.
- Compare output quality page by page.
Acrobat is especially useful when you need controlled PDF compression for business documents, print files, or archives. Use its audit feature to see what consumes the most space before changing settings. If images account for 90 percent of the file, focus on image downsampling. If fonts or embedded files dominate, changing image settings will not help much.
Method 3: Compress PDF with Preview on Mac
Preview on Mac can reduce PDF size quickly, but the default compression filter can be aggressive. It may make images blurry or text in scanned documents harder to read.
Basic Preview steps:
- Open the PDF in Preview.
- Choose File > Export.
- Select PDF as the format.
- Choose a Quartz Filter such as Reduce File Size.
- Save a copy with a new name.
- Open the result and inspect important pages.
Preview is best for quick, non-critical files. If the result looks too soft, use a custom Quartz filter through ColorSync Utility or choose another tool with better control. For scanned PDFs, pay close attention to small text, signatures, stamps, and diagrams.
Method 4: Compress PDF with Ghostscript
Ghostscript is a command-line tool that is useful for repeatable compression and batch processing. It is popular with developers, operations teams, and anyone who needs to compress many PDFs consistently.
A common command is:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH \
-sOutputFile=compressed.pdf input.pdf
The -dPDFSETTINGS option controls the preset:
# Smallest files, lower quality
-dPDFSETTINGS=/screen
# Balanced for on-screen reading
-dPDFSETTINGS=/ebook
# Better quality, larger files
-dPDFSETTINGS=/printer
# High quality for prepress workflows
-dPDFSETTINGS=/prepress
For many business documents, /ebook is a good starting point. Use /printer when image quality matters. Avoid /screen unless you have checked the output carefully.
To batch compress PDFs in a folder on macOS or Linux:
mkdir -p compressed
for file in *.pdf; do
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH \
-sOutputFile="compressed/$file" "$file"
done
Ghostscript is powerful, but test before using it on important archives. Some advanced PDF features, forms, annotations, transparency, or metadata may change depending on settings and input files.
Method 5: Use Better Export Settings
The cleanest way to reduce PDF size is often to go back to the source document and export a better PDF.
For Word, Google Docs, Pages, InDesign, Illustrator, PowerPoint, or similar tools, check these settings:
- Use "standard" or "publishing" only when print quality is required.
- Use "minimum size" only for email or web sharing.
- Downsample images to 150 DPI for screen use or 300 DPI for print.
- Crop and resize images before placing them in the document.
- Avoid pasting huge screenshots directly into the file.
- Use JPEG for photos and PNG only where transparency or sharp UI graphics are needed.
- Embed only required fonts.
- Subset fonts when possible.
- Disable unnecessary editing data, comments, and hidden slides.
- Remove unused master pages, layers, and alternate images.
If you are converting source documents, tools like DOCX to PDF, JPG to PDF, and PNG to PDF are often better starting points than compressing a poorly exported PDF afterward.
Image Compression and Downsampling DPI
Downsampling DPI is one of the most important PDF compression settings.
DPI means dots per inch. Higher DPI stores more detail, but also increases file size. For normal screen reading, 100 to 150 DPI is often enough. For office printing, 200 to 300 DPI is usually appropriate. For professional print production, keep 300 DPI or higher depending on printer requirements.
Common guidelines:
- 72 to 96 DPI: smallest files, acceptable for thumbnails or casual screen viewing.
- 150 DPI: good for screen reading and email.
- 200 DPI: good compromise for mixed screen and print use.
- 300 DPI: safer for printing, forms, and detailed images.
- 600 DPI: useful for specialized scans, line art, or archival work, but large.
Compression can hurt quality when you downsample too far. Scanned text may become fuzzy. Fine lines in diagrams can disappear. Product images may show blocky JPEG artifacts. Screenshots can become smeared. Always inspect the most detailed pages, not just the first page.
Font Embedding and Subsetting
Fonts affect both appearance and file size. If a PDF does not embed fonts, it may render differently on another computer. If it embeds entire font families, it may become larger than necessary.
Font subsetting is the preferred balance. It embeds only the characters used in the document. For example, if a report uses a custom font but only needs basic Latin characters, subsetting avoids embedding thousands of unused glyphs.
Avoid removing fonts unless you are sure the PDF will still display correctly. For professional documents, contracts, resumes, and brand materials, preserving font appearance is usually more important than saving a few kilobytes.
PDF/A Considerations
PDF/A is an archival format designed for long-term preservation. It requires certain information, such as embedded fonts and color profiles, so that the document can be reproduced reliably in the future.
If a file must remain PDF/A compliant, do not use aggressive compression that removes embedded fonts, metadata, output intents, or required structure. Some optimizers can preserve PDF/A, but others may silently break compliance.
For archives, legal records, invoices, and regulated documents, keep an original copy and validate the compressed output. In many cases, a slightly larger PDF/A file is preferable to a smaller file that no longer meets retention requirements.
Removing Metadata, Attachments, and Hidden Data
Some PDFs contain data that is not visible on the page. This can include:
- Author and application metadata.
- Embedded file attachments.
- Page thumbnails.
- Comments and review markup.
- Hidden layers.
- Form calculation scripts.
- Duplicate images.
- Old incremental save data.
- Bookmarks and structure tags.
Removing unused data can reduce PDF size without visible quality loss. It can also improve privacy by stripping author names, file paths, editing history, or application details.
Be careful with accessibility tags, bookmarks, form fields, and comments. They may be important for navigation, screen readers, workflows, or review history. When in doubt, save a copy and compare functionality before distributing the compressed version.
Batch Compression
Batch compression is useful when you have many reports, scans, invoices, statements, or generated PDFs.
Desktop tools and Acrobat actions are good for non-technical users. Ghostscript or scripted workflows are better when you need repeatable settings. For example, a team might compress all monthly reports with the same DPI, quality, and compatibility level so that outputs are predictable.
For batch jobs, define a policy:
- Keep originals in a separate folder.
- Use a consistent naming convention.
- Log original and compressed sizes.
- Spot-check a sample of files.
- Check failed or unusually small outputs.
- Avoid overwriting files automatically.
- Use stronger privacy controls for sensitive documents.
Batch compression saves time, but it can also multiply mistakes. Test with representative files before processing hundreds of PDFs.
Privacy and Security
PDF compression often involves uploading, rewriting, or re-exporting documents. That makes privacy and security part of the workflow.
For public brochures, school handouts, or non-sensitive materials, online compression is usually fine. For confidential files, use an offline desktop tool, a trusted enterprise service, or an internal workflow. Confirm whether the tool stores files, deletes them automatically, encrypts transfer, and limits employee access.
Also consider what compression removes. Stripping metadata can protect privacy, but removing signatures, form fields, accessibility tags, or audit information can damage business value. If a PDF is signed, certified, encrypted, or legally controlled, compression may invalidate signatures or alter evidence. Keep the original.
When Compression Hurts Quality
Compression is not always worth it. It can hurt quality when:
- The PDF contains detailed scans, maps, engineering drawings, or medical images.
- Text is stored as images and becomes blurry after downsampling.
- Screenshots need sharp UI labels.
- Photos need accurate color and detail.
- The file is intended for professional printing.
- The document must remain PDF/A compliant.
- Digital signatures must remain valid.
- Accessibility tags and bookmarks are required.
The best compression is the smallest file that still serves its purpose. A 4 MB PDF that is clear and reliable is better than a 700 KB PDF that looks damaged.
Practical Quality Checklist
After compression, open the compressed PDF and check:
- Page count matches the original.
- Text is sharp at 100 percent and 150 percent zoom.
- Images do not show obvious blockiness.
- Small type, signatures, and stamps are readable.
- Links and bookmarks still work.
- Forms still work if required.
- OCR text remains searchable.
- File size meets the upload or sharing requirement.
- Accessibility and PDF/A requirements are still satisfied if needed.
If the result fails, use a less aggressive setting, increase DPI, raise JPEG quality, or return to the source file and export again.
Frequently Asked Questions
How do I compress PDF without losing quality?
Start with lossless optimization, remove unused data, subset fonts, and only downsample images as much as needed. Use low or medium compression first, then inspect the output before increasing compression.
What is the best DPI for reducing PDF size?
For screen use, 150 DPI is often a good balance. For printing, 300 DPI is safer. For very small email attachments, lower DPI may be acceptable, but scanned text and fine details can suffer.
Why is my scanned PDF so large?
A scanned PDF stores each page as an image. High scan resolution, color mode, and low compression settings can create large files. OCR, grayscale conversion, and careful downsampling can reduce PDF size.
Can I compress a PDF with digital signatures?
Be careful. Compression can invalidate digital signatures because it changes the file structure. Keep the signed original and only compress a copy if the signature does not need to remain valid.
Is online PDF compression safe?
It depends on the provider and the sensitivity of the document. Use reputable services with secure upload and deletion policies. For confidential files, offline compression is usually safer.
Does converting PDF to JPG make it smaller?
Sometimes, but it can also reduce quality and remove selectable text. PDF to JPG is useful for image workflows, but it is not always the best way to make PDF smaller.
Should I use PDF/A for compressed files?
Use PDF/A when long-term preservation or compliance matters. Do not remove required fonts, metadata, or color information if the file must remain PDF/A compliant.
What should I do if compression makes text blurry?
Use a higher DPI, reduce JPEG compression, avoid aggressive presets, or rerun OCR from a cleaner scan. For native PDFs, export again from the source document with better image settings instead of compressing heavily.
Ready to Convert Your Files?
Use ConvertFiles to convert between document formats instantly. Free, no registration required.
Browse Document ConvertersPopular Document Conversions
ConvertFiles Team
File-format research, converter testing, and practical troubleshooting from the ConvertFiles editorial team.
Reviewed for format accuracy and updated as tools, browser support, and conversion workflows change.
Continue Reading
How to Convert Images for Shopify, Etsy, Amazon, and eBay
Product photos are rarely ready for every marketplace the moment they leave a camera or design tool. Shopify, Etsy, Amazon, eBay, and WooCommerce each have different expectations for file type, dimensions, background, compression, and zoom quality. This guide explains how to convert product images cleanly, choose the right ecommerce formats, preserve detail, and prepare reliable batches for faster listings.
OtherCSV vs XLSX: Which Spreadsheet Format Should You Use?
CSV and XLSX both move spreadsheet data, but they solve different problems. CSV is small, plain text, and ideal for databases, APIs, automation, and clean tabular exchange. XLSX is richer, supporting formulas, multiple sheets, charts, styles, validation, and business-ready workbooks. This guide compares spreadsheet formats, explains conversion workflows, and helps you choose the right format for data sharing, analysis, and long-term use.
DocumentPDF to JPG vs PNG: Which Image Output Should You Choose?
Choosing between JPG and PNG for PDF page exports affects image quality, file size, readability, transparency, printing, and web performance. This guide explains when each format works best, how WebP and TIFF compare, and what to watch for when converting multi-page PDFs, scanned pages, screenshots, charts, and text-heavy documents into images.