pdf-tools tool

PDF Compressor

Reduce PDF file size in your browser with two modes: fast metadata strip (lossless) or deep page re-render (40–80% smaller). See the before and after size. No upload, completely free.

PDF Compressor

Choose your compression mode: Metadata Strip for a fast, lossless reduction, or Re-render Pages for maximum file size savings. See the before and after size before downloading.

Drop your PDF here

or tap to browse · No upload · Files stay on your device

Choose PDF

About This Tool

PDF Compressor reduces the file size of any PDF directly in your browser — no upload required. It offers two compression modes with different trade-offs, so you can choose the approach that fits your document and your goal.

Metadata Strip is the fast, lossless mode. It removes hidden data embedded in the PDF — author name, creation software, creation date, XMP metadata, and producer information — without touching any visible content. This typically achieves a 5–20% reduction in file size with zero impact on text sharpness, image quality, or document appearance.

Re-render Pages is the deep compression mode. It re-renders each PDF page onto a canvas using PDF.js and saves it as a JPEG image inside a new PDF document. This approach achieves 40–80% file size reduction and is most effective on scanned PDFs where pages are already stored as images. It is a lossy process — text may appear slightly softer at low quality settings, but at High quality (150 DPI) it remains clearly legible.

Three quality presets are available for Re-render mode. High (150 DPI, 88% JPEG quality) is recommended for documents that need to remain readable and presentable. Medium (100 DPI, 80% JPEG quality) is a good balance for sharing via email or messaging. Small (72 DPI, 70% JPEG quality) produces the maximum file size reduction and is suitable for web uploads or messaging apps with strict file size limits.

All processing happens entirely in your browser. Your PDF file is never transmitted to any server. The tool shows you the exact before and after file size — and the percentage saved — before you download, so you can decide whether the result meets your needs.

How To Use

  1. 1. Drop your PDF onto the upload area, or tap Choose PDF to browse. The page count and current file size are displayed immediately.
  2. 2. Choose a compression mode: Metadata Strip (lossless, fast) or Re-render Pages (lossy, maximum savings).
  3. 3. For Re-render Pages mode, select a quality preset: High (150 DPI, clearest text), Medium (100 DPI, good balance), or Small (72 DPI, smallest file).
  4. 4. Click Compress PDF to start processing. Metadata Strip is instant; Re-render shows a progress bar per page.
  5. 5. When compression finishes, a result panel shows the before and after file size and the percentage reduction.
  6. 6. If the result is larger than the original (this can happen with vector-heavy PDFs in Re-render mode), switch to Metadata Strip mode instead.
  7. 7. Click Download to save the compressed PDF to your device.

Which Compression Mode Should I Use?

The right choice depends on whether your PDF contains scanned images or native vector text and graphics.

  • Metadata Strip — for native PDFs with text and vector graphicsLossless, instant, no quality change.
    When your PDF was created in Word, Excel, PowerPoint, or a design tool, the pages contain vector text and graphics that cannot be compressed by re-rendering without quality loss. Metadata Strip is the safe choice for these files.
  • Re-render High quality — for scanned documents that need to stay readable~40% smaller, text still clear.
    Scanned PDFs already store pages as images. Re-rendering at 150 DPI compresses those images efficiently. The output remains suitable for printing and reading on screen.
  • Re-render Medium quality — for email attachments and sharing~60% smaller, acceptable legibility.
    Most email services and cloud storage systems display 100 DPI JPEG content perfectly well on screen. Suitable for sharing PDFs that won't be printed.
  • Re-render Small quality — for upload portals with strict size limits~75–80% smaller, screen-only use.
    Use this when a portal or app has a strict file size limit (for example, under 2 MB) and the document only needs to be viewed on screen, not printed.

Frequently Asked Questions

Is my PDF uploaded to a server for compression?

No. Both compression modes run entirely in your browser — Metadata Strip uses pdf-lib and Re-render uses PDF.js with the Canvas API. Your file is never transmitted to any server. You can confirm this by opening your browser's Network tab during compression — you will see zero upload requests.

What is the difference between Metadata Strip and Re-render?

Metadata Strip removes invisible embedded data (author, title, XMP, producer) without touching any visible content — it is lossless and instant. Re-render converts each page to a JPEG image and rebuilds the PDF from those images — it achieves much greater compression but is a lossy process that may soften text at lower quality settings.

Why does my PDF get larger after Re-render compression?

PDFs that contain mostly vector text and graphics (created in Word, Excel, or design tools) can grow larger when re-rendered, because JPEG images are less efficient than vector data at storing clean lines and sharp text. For these PDFs, use Metadata Strip mode, which is lossless and almost always reduces the file size.

How much can I expect to reduce a scanned PDF?

A typical scanned document at Medium quality (100 DPI) compresses to 40–65% of its original size. A scanned 10 MB PDF commonly compresses to 3–6 MB. Results vary based on the content, colour depth, and original scan resolution.

Will Re-render compression reduce text quality?

At High quality (150 DPI, 88% JPEG), text in most scanned documents remains clearly legible for both reading and printing. At Medium (100 DPI, 80% JPEG), text is still readable on screen but may appear slightly soft when printed at large sizes. At Small (72 DPI, 70% JPEG), text is legible on screen at normal zoom levels but is not suitable for printing.

Can I compress a password-protected PDF?

Password-protected PDFs cannot be processed. The tool will display an error if it detects encryption. Remove the password protection first, then compress the file.

How do I compress a PDF for email if my email has a 10 MB attachment limit?

Try Metadata Strip first — if the result is under 10 MB, you're done. If the file is still too large, switch to Re-render at High quality. If that's still too large, try Medium. For scanned documents, Medium quality typically reduces a 30 MB file to under 10 MB.

Does the compressed PDF remain searchable?

Metadata Strip preserves searchable text because it does not modify page content. Re-render mode converts pages to JPEG images, which removes text searchability. The output of Re-render mode is an image-only PDF — search and copy/paste will not work on the text.

Is there a file size limit for compression?

No enforced limit — the constraint is your device's available memory. Metadata Strip handles very large files quickly. Re-render mode processes each page individually, so very large PDFs (50 MB+) take longer but still complete without crashing.

Can I compress multiple PDFs at once?

Currently the tool processes one PDF at a time. To compress multiple PDFs, merge them first using the PDF Merge tool, then compress the merged file — or process each file separately. You can also use thePDF Merge tool