Skip to content

Compress PDF

Work on your PDF locally. Nothing is uploaded, nothing is stored.

PDF ToolsFreeRuns in your browser
Interactive compress pdfRuns in your browser, nothing uploadedFree, no account
Overview

What is the Compress PDF?

Compress PDF shrinks a PDF file using one of two honestly different strategies, and it does not promise a compression ratio it cannot deliver. "Clean" mode is lossless — it strips metadata (title, author, producer, keywords) and re-saves the file with optimized internal object streams, keeping text fully selectable, but the size reduction is usually modest. "Rasterize" mode renders every page to a JPEG at a DPI and quality you choose, then rebuilds the PDF from those images — this can shrink large scanned or image-heavy files a lot, but it makes the entire document a picture: text is no longer selectable, searchable or accessible to a screen reader. Everything runs in your browser, so a confidential file is never uploaded anywhere.

The two modes exist because there is no single "safe" way to compress every PDF. A contract full of body text needs its selectable text preserved even if the file barely shrinks. A stack of scanned receipts is already just images, so rasterizing it at a lower resolution can cut its size dramatically with no meaningful loss. This tool lets you pick the trade-off instead of hiding it behind an "optimize" button.

Benefits

Why use a free compress pdf?

No invented compression numbers

The tool never claims a fixed "reduces PDFs by X%" figure, because the achievable reduction depends entirely on what is already inside a given file — a claim like that would be false for most PDFs most of the time.

A genuinely lossless option

Clean mode keeps every character, font and image byte-for-byte intact — it only removes metadata and rebuilds the file's internal structure more efficiently.

Real size reduction when you need it

Rasterize mode gives you direct control over resolution (72–220 DPI) and JPEG quality (30–95%), so you can trade visual fidelity for file size deliberately, on image-heavy or scanned documents where it matters.

Runs entirely in your browser

Your PDF is read, processed and rebuilt on your own device. It is never uploaded to a server, which matters for anything confidential.

Shows the real before/after size

The result panel reports the exact original and compressed file sizes and the actual percentage saved — or, honestly, if the file grew instead of shrinking, tells you that too.

Guide

How do you use the Compress PDF?

  1. 1

    Drop in your PDF

    The file loads and its current size is shown.

  2. 2

    Choose a strategy

    Pick "Clean (lossless)" to strip metadata and optimize file structure without touching content, or "Rasterize images" to shrink the file by converting every page to a compressed JPEG.

  3. 3

    Adjust settings if you chose rasterize

    Set the resolution (DPI) and JPEG quality. Lower values produce smaller files but blurrier pages and, at low quality, visible JPEG artifacts.

  4. 4

    Compress and review the result

    The result panel shows the original size, the new size, and the real percentage difference — including if the file did not shrink.

  5. 5

    Download

    Save the compressed PDF directly to your device.

Examples

What does it look like in practice?

A 12-page report with photos

Input

8 MB PDF, mix of body text and embedded photos

Result

About 5.4 MB in lossless mode, or about 1.1 MB rasterized at 120 DPI / 72% quality

pdf-lib cannot re-encode the embedded photos in lossless mode, so most of the saving there comes from removed metadata and more efficient object streams. Rasterizing achieves the bigger reduction because it re-encodes every page — including the photos — as a fresh, lower-resolution JPEG, but the report's body text is no longer selectable afterward.

A 3-page text-only NDA

Input

340 KB PDF, pure text with an embedded font, no images

Result

About 318 KB in lossless mode (roughly 6% smaller)

A short text document has very little metadata or structural overhead to remove, so lossless compression only shaves off a small amount. Rasterizing this file would shrink it further, but doing so to a legal document you need to keep text-selectable would be counterproductive.

Accuracy

How accurate is it?

Neither mode is a general-purpose "shrink any PDF by X%" tool, and this page will not claim otherwise. Clean mode is lossless: pdf-lib, the library behind it, cannot decode and re-encode images that are already embedded in a PDF, so it can only remove metadata and rebuild the file with more efficient internal object streams — real, but usually a small percentage. Rasterize mode achieves much larger, genuinely measurable reductions on image-heavy or scanned PDFs, because it discards the original page content entirely and replaces every page with a freshly compressed JPEG at the DPI and quality you set.

  • Clean mode never touches page content — text, fonts, vector graphics and images are preserved exactly. It only removes document metadata and re-serializes the file structure.
  • Rasterize mode makes every page a picture. Text becomes permanently non-selectable, non-searchable and inaccessible to screen readers — do not use it on documents where those things matter.
  • A PDF that is already mostly image data and was previously saved at high resolution will shrink a lot when rasterized at a lower DPI. A PDF that is mostly clean vector text will barely shrink under either mode, because there is little redundant data to remove.
  • It is possible for a file to come out larger after rasterizing, if the original images were already smaller or more efficiently compressed than the resulting JPEGs — the tool reports this honestly instead of hiding it.
Details

What should you know before using it?

The two compression strategies compared directly:

Clean (lossless)Rasterize images
What it doesStrips metadata, re-saves with optimized object streams — vs. — Renders every page to a JPEG at your chosen DPI/quality and rebuilds the PDF from those images
Text after compressionFully selectable and searchable — vs. — Not selectable or searchable; it is now part of a picture
Typical size reductionSmall to modest — vs. — Can be large on scanned or photo-heavy PDFs
Best forContracts, forms, anything you need to keep text-accessible — vs. — Scanned documents and photo-heavy files you only need to view
ControlsNone — vs. — Resolution (72–220 DPI) and JPEG quality (30–95%)
Applications

When should you use a compress pdf?

Because the compress pdf runs entirely in your browser, it suits work you would not want to hand to a third-party server — client files, unpublished drafts, anything under an NDA. These are the situations people reach for it in most often.

Fitting an email attachment size limit

Shrink a PDF that is too large to send as an email attachment, choosing lossless first if the recipient needs to select or search the text.

Reducing scanned document storage

Rasterize a batch of scanned forms or receipts at a lower DPI to save significant storage space, since they are already just images.

Meeting an upload portal's size cap

Get a report or application PDF under a government or job-portal upload limit without needing separate desktop software.

Archiving without bloated metadata

Strip unnecessary title/author/producer metadata from PDFs before archiving them, using clean mode to keep every page exactly as it was.

FAQs

Frequently asked questions

How much smaller will my PDF get?
It depends entirely on what is already inside the file. Lossless (clean) mode typically saves a small to modest amount by removing metadata and optimizing file structure. Rasterize mode can shrink image-heavy or scanned PDFs substantially, because it re-encodes every page as a lower-resolution JPEG — but the result is text-only in appearance, not in substance: nothing is selectable anymore.
Will compressing my PDF make the text unselectable?
Only if you choose rasterize mode. Clean (lossless) mode never touches the page content — text stays exactly as selectable and searchable as it was in the original. Rasterize mode renders every page to an image, so all text on every page becomes a picture of text after that.
Why did clean mode barely shrink my file?
Clean mode cannot re-encode images that are already embedded in the PDF — that is a limitation of the underlying library, not a bug. It only removes metadata and rebuilds the file's internal object structure more efficiently. If a PDF was already saved cleanly with little metadata, there is very little left to remove.
Why did my file get bigger after compressing?
This can happen in rasterize mode if the original embedded images were already smaller or more efficiently compressed than the JPEGs the tool re-encodes them as. The result panel reports this honestly — if the output is larger than the input, it tells you so and suggests trying clean mode or a lower resolution instead.
What DPI and quality should I use for rasterizing?
For documents you only need to view on screen, 100–120 DPI at 60–75% JPEG quality is usually a reasonable balance. For anything you might print or zoom into, use a higher DPI (160–220) at higher quality, accepting a smaller size reduction.
Is my PDF uploaded to your servers to be compressed?
No. Both compression modes run entirely in your browser using JavaScript. Your file is never transmitted anywhere — the compressed PDF is built locally and offered to you as a direct download.
Can I compress a password-protected PDF?
Not directly. Encrypted PDFs cannot be opened in the browser. Remove the password in a PDF reader first (or use "Print to PDF" / "Save a copy" to create an unlocked version), then upload that file instead.
Security

Is the compress pdf safe to use?

This tool runs entirely inside your browser. Your text, files and settings are processed on your own device and are never uploaded to our servers — there is nothing for us to store, log or leak. You can confirm it yourself: open your browser DevTools, switch to the Network tab, and use the tool. You will not see an upload request. It also means the tool keeps working if your connection drops mid-task.

No account required No file storage HTTPS everywhere
Sources

Where do these figures come from?

Every method, threshold and standard this page relies on, with a link to the document that defines it. Check them — a tool that will not show its sources is asking you to take its word for it.

  1. 1
    Document management — Portable document format — Part 2: PDF 2.0

    ISO 32000-2 · 2020

    Supports: The description of PDF internal object streams and metadata that clean mode removes and re-serializes.

  2. 2
    Information technology — Digital compression and coding of continuous-tone still images: Requirements and guidelines

    ITU-T Recommendation T.81 / ISO/IEC 10918-1 · 1992

    Supports: The lossy JPEG re-encoding used by rasterize mode to compress each page image.

Get in touch

Need something this tool can’t do?

If you need a feature added, spotted something wrong, or want a custom tool or website built for your business, tell us. We read every message and we build what people actually ask for.