PDF Compressor

PDF Compressor

Compress PDF files online for free with five presets, from lossless to maximum compression, without your file leaving the browser.

PDF Tools

Drop PDF files here

or click to browse

Examples:

Keywords

pdf compresspdf optimizerreduce pdf sizecompress pdf onlinepdf file size

Need something else?

How to use

1

Upload a PDF file by clicking the upload area or dragging it in.

2

Choose a preset (Lossless, High Quality, Balanced, Web Optimized or Maximum Compression) and, if you like, adjust image quality with the slider.

3

Download the compressed PDF and verify the file size reduction.

Features

Multiple Compression Levels

Choose from five presets, from lossless to maximum compression, to match your quality and size requirements.

Privacy by Design

PDF files are processed locally in your browser β€” they are never uploaded to any server.

Instant Size Report

See original and compressed file sizes side by side with the percentage reduction displayed.

Why Choose This Tool?

Your PDFs Stay Completely Private

Every byte of your PDF is processed inside your browser. The file is never uploaded to a remote server, never passes through a third-party API, and never gets stored in cloud infrastructure. This is essential for legal documents, medical records, financial statements, and any file where confidentiality is non-negotiable.

Quality Presets for Every Use Case

Choose Lossless (structure only, images untouched), High Quality (300 DPI), Balanced (200 DPI), Web Optimized (150 DPI) or Maximum Compression (96 DPI). Each lossy preset sets a JPEG quality and a target resolution for embedded images, and a slider lets you adjust the quality, so you do not have to guess at compression parameters.

No Registration, No Limits, No Waiting

Compress PDFs the moment you open the page. There is no sign-up wall, no email verification step, and no daily file limit. Whether you need to shrink one document for an email attachment or batch-process a dozen files for a web portal, the tool is ready instantly every time you visit.

Transparent File Size Reporting

After compression, the tool displays the original size, compressed size, and exact percentage reduction side by side. This transparency lets you make informed decisions about whether the compression level meets your needs before downloading. If the reduction is insufficient, switch to a more aggressive preset and reprocess in seconds.

Understanding PDF Compression: A Complete Guide

PDF (Portable Document Format) is the standard for sharing documents that look the same on every device. However, PDF files can become surprisingly large β€” especially those containing high-resolution images, embedded fonts, or complex vector graphics. PDF compression reduces file size while preserving the document's visual integrity, making it easier to share, upload, and store.

How PDF Compression Works

A PDF file is essentially a container that holds multiple types of content: text streams, images, fonts, metadata, and structural data. Compression targets each element differently. Images β€” which typically account for the largest portion of file size β€” are resampled and recompressed at lower quality or resolution. Embedded font programs that were stored uncompressed are Flate-compressed, which is lossless: every glyph stays in the file. Redundant metadata and unused objects are stripped. Content streams are deflated using algorithms like Flate (zlib) compression.

Understanding Quality Presets

Lossless never touches images: it strips document metadata, merges duplicate streams, optimizes font streams and removes unused objects, so nothing visible changes. The four lossy presets also re-encode embedded images as JPEG and downsample those whose estimated resolution exceeds a target: High Quality (JPEG 85%, 300 DPI) for documents that may be printed, Balanced (75%, 200 DPI) for everyday sharing, Web Optimized (65%, 150 DPI) for uploads and on-screen reading, and Maximum Compression (50%, 96 DPI) for the smallest attachments. An image is only replaced when the new version is actually smaller, and formats the tool cannot re-encode safely (JBIG2, CCITT fax, JPEG 2000) are left as they are.

Common Sources of PDF Bloat

  • Uncompressed images: Scanned documents often embed full-resolution TIFF or BMP images. A single scanned page can exceed 10 MB.
  • Embedded full fonts: Some PDF generators embed entire font families rather than subsets, adding hundreds of kilobytes per font.
  • Redundant objects: Editing a PDF multiple times can leave orphaned objects β€” old versions of pages, deleted annotations, and unused images β€” that still contribute to file size.
  • High-resolution graphics: Illustrations and charts exported from design tools at print resolution (300+ DPI) may be unnecessary for digital distribution.
  • Metadata: Extensive XMP metadata, document history, and embedded thumbnails add size with no visible benefit to the reader.

When to Compress PDFs

Email attachments are the most common trigger β€” many email providers limit attachment size to 10–25 MB. Compressed PDFs also load faster on web pages, reduce bandwidth costs for document portals, and consume less storage in cloud services. If you distribute PDFs through a content management system or learning platform, smaller files mean faster downloads and a better user experience.

Best Practices

Always keep an original uncompressed copy of important documents. Compression is a one-way process for lossy elements like images β€” you cannot restore discarded image data. Choose the quality preset that matches your distribution channel: Web Optimized or Maximum Compression for web and email, Balanced for everyday sharing, High Quality for print, Lossless when nothing may change. After compression, open the result and check critical pages (charts, diagrams, fine print) to ensure readability meets your standards.

For recurring workflows, establish a standard preset and verify it against your most demanding document type once. This eliminates the need to check every file individually and streamlines your document preparation process.

PDF/A and Archival Considerations

PDF/A is an ISO-standardized subset of PDF designed for long-term digital archival. It requires that all fonts be fully embedded, prohibits encryption, and forbids external dependencies like linked images or JavaScript. When compressing PDF/A documents, be aware that this tool removes the document metadata, including the XMP packet that PDF/A requires, so the output may no longer validate as PDF/A β€” which is why the tool asks before compressing a file that declares PDF/A conformance. If archival conformance is critical β€” for legal records, government filings, or institutional repositories β€” verify the compressed output with a PDF/A validator before replacing the original. For general-purpose documents where archival compliance is not required, standard compression presets work without restriction.

Scanned Documents and OCR-Processed PDFs

Scanned documents are among the largest PDF files because each page is essentially a full-resolution raster image. A typical letter-size page scanned at 300 DPI produces a 25 MB uncompressed TIFF image, and a 20-page scanned document can easily exceed 100 MB. Compression is particularly effective for these files because the Web Optimized preset downsamples images to 150 DPI and Maximum Compression to 96 DPI, both comfortable for on-screen reading. PDFs that have undergone OCR (Optical Character Recognition) contain a hidden text layer beneath the scanned image. This text layer is preserved during compression since it is stored as vector data, so searchability and copy-paste functionality remain intact even after aggressive image compression. For scanned archives, processing files through this compressor before uploading to document management systems dramatically reduces storage costs and improves download speeds for end users.

When Compression Helps Less

Not every PDF shrinks dramatically. Text-heavy PDFs generated directly from Word processors, design apps, or reporting systems are often already efficient because text streams and vector drawings are compact by nature. If the document contains few embedded images, the compressor has less raw material to optimize. In those cases, a 10–25% reduction may already be a good result, and trying to force larger savings can produce visible degradation in charts, screenshots, or scanned signatures.

After compression, inspect the pages that matter most: tiny legal text, signatures, engineering diagrams, screenshots, and barcode or QR-code regions. Those are the first places where aggressive presets show trade-offs. A quick visual review is usually enough to decide whether the chosen preset is appropriate for email, portal upload, internal archiving, or print distribution.

Frequently Asked Questions

How does PDF compression reduce file size?

PDF compression targets the largest elements inside the file β€” primarily images, which are resampled to lower resolutions and recompressed. It also strips redundant metadata, removes unused objects from previous edits, merges duplicate streams, and applies lossless Flate compression to embedded fonts and content streams that were stored uncompressed. Fonts are not subset: every embedded glyph is kept.

Are my PDF files uploaded to a server?

No. All PDF processing happens locally in your browser using JavaScript and the pdf-lib library. Your documents never leave your device, are never transmitted over the internet, and are never stored on any external server. This makes the tool suitable for confidential, legal, and medical documents.

What is the difference between the five presets?

Lossless only optimizes the file structure and leaves images unchanged. High Quality re-encodes images at JPEG 85% and caps them at 300 DPI, suitable for printing. Balanced uses 75% and 200 DPI, Web Optimized 65% and 150 DPI for on-screen use, and Maximum Compression 50% and 96 DPI for the smallest files. On the lossy presets the slider overrides the JPEG quality.

How much can I reduce my PDF file size?

Reductions vary widely depending on the document content. PDFs with large embedded images (scanned documents, photo-heavy reports) usually shrink the most, especially on Web Optimized or Maximum Compression. Text-heavy PDFs with few images shrink much less, since text streams are already compact; the result panel shows the exact reduction.

Will compression affect the text quality in my PDF?

No. Text content in PDFs is stored as vector data and is not affected by image compression. Letters remain crisp and sharp at any zoom level regardless of the compression preset. Only embedded raster images (photos, scanned pages, charts saved as images) are affected by quality reduction.

Can I compress password-protected PDF files?

It depends on the password. A PDF locked only with an owner password (it opens without asking, but printing or editing is restricted) is accepted: the tool decrypts it in your browser, and the compressed copy is saved without that encryption, so its restrictions no longer apply β€” make sure you are entitled to edit the document. A PDF that needs a password to open is refused with a clear message instead of a broken output: open it with its password in a PDF reader, save an unprotected copy, and compress that.

Is there a file size limit for PDF compression?

Each file can be up to 200 MB. Above 50 MB the tool asks you to confirm before it starts, because everything runs in your browser and a very large file needs a lot of free memory. If a big file stalls, close other tabs or compress it on a computer rather than a phone.

Can I compress multiple PDFs at once?

Yes. Select or drop several PDFs together and they are compressed one after another with the same preset. Each file gets its own result card with its own download, and a Download all button packs every compressed file into a single ZIP. A file that cannot be read is skipped and named, without stopping the others.

Why is my compressed PDF still large?

If the original PDF is primarily text with few embedded images, compression has limited material to work with. Also, if the PDF was already compressed by the software that created it, further compression yields diminishing returns. Try the Maximum Compression preset for the largest reduction, but note that some documents simply have a floor below which further compression is not possible.

Should I keep the original PDF after compressing?

Yes. Always retain the original uncompressed file. Lossy image compression permanently removes image data that cannot be recovered. If you later need a high-quality version for printing or archival, the original ensures you have the full-resolution document available.

Why do scanned PDFs usually shrink more than text PDFs?

Because scanned PDFs are mostly page-sized images. Recompressing and downsampling those images can remove huge amounts of redundant pixel data, while text-heavy PDFs already store most of their content as compact vector instructions that leave much less room for savings.

Does compression preserve OCR text and searchability?

Usually yes. OCR text layers are stored separately from the page image, so reducing image resolution normally does not remove the hidden selectable text. The visual scan may become softer, but search, copy, and accessibility features often remain intact if the source PDF already had a valid OCR layer.

Can compression break PDF/A or archival compliance?

It can, depending on how strict the archival requirements are. PDF/A files have rules around embedded fonts, metadata, color profiles, and prohibited features. If regulatory or archival compliance matters, treat the compressed file as a candidate output and run it through a PDF/A validator before replacing the original.

Related Articles

How to Merge PDFs Without Uploading Them to a Server
pdf-tools

How to Merge PDFs Without Uploading Them to a Server

Merge multiple PDF files securely in your browser with no uploads, no accounts, and no data ever leaving your device β€” completely private and free.

Read more →
How to Compress a PDF Without Losing Quality
pdf-tools

How to Compress a PDF Without Losing Quality

Learn how to compress PDFs without visible quality loss by diagnosing file weight, choosing the right preset, and validating the result properly.

Read more →
Compress PDF for Email: Hit the Right File Size
pdf-tools

Compress PDF for Email: Hit the Right File Size

Learn how to compress PDFs for email attachments with practical size targets, preset choices, quick validation steps, and common mistakes to avoid.

Read more →
How PDF Compression Works: A Complete Guide
pdf-tools

How PDF Compression Works: A Complete Guide

Learn how PDF compression algorithms reduce file size while preserving quality. Understand lossy vs lossless methods and best practices.

Read more →
Best PDF Compression Settings for Every Use Case
pdf-tools

Best PDF Compression Settings for Every Use Case

Choose the right PDF compression settings for email, web, print, archival, and legal documents. Practical guide with recommended presets and quality levels.

Read more →
Learn more