Compress PDF

Optimize PDF structure; size savings depend on the file.

Workspace

Compress PDF: what this tool is for

PDF files containing high-resolution scans, rich photographic assets, or unoptimized graphic streams frequently balloon to sizes exceeding 25 MB or 50 MB. These oversized documents trigger email attachment rejections, exceed web portal upload caps, and consume unnecessary local and cloud storage.

Xorvian uses the JavaScript pdf-lib library to rewrite PDF structure with compressed object streams in your browser. It does not re-encode images, reduce their resolution or implement image downsampling. Size savings depend on the original document and may be zero.

There is one structural optimization mode, not three compression levels. After processing, the tool measures the original and output sizes. It downloads a new PDF only when it is smaller; otherwise it keeps the original and reports that no reduction was possible.

The selected PDF is not uploaded by this tool. Keep the original and check the output before sending it. Do not rewrite a digitally signed PDF: structural changes can invalidate its cryptographic signature.

  • No file stored

    Selected files are processed in your browser, without being uploaded to Xorvian.

  • Local processing

    Calculations run locally. The currency converter requests rates from an external service.

  • Processing time

    The time needed depends on the tool, the file and your device's capabilities.

  • Free, no account

    Tools are available without registration. An account lets you synchronize favorites and history.

What this tool gives you

  • 100% In-Browser Compression

    The selected PDF is read and rewritten in your browser using pdf-lib, without being uploaded for processing.

  • One Structural Optimization Mode

    The tool enables compressed object streams. No Low, Medium or High settings are implemented, and no target size is guaranteed.

  • Real-Time Size Reduction Feedback

    Instantly view original file size, new output size, and the percentage of storage space saved right after processing.

  • Maintains Crisp Text & Vectors

    Pages are not converted to images. No OCR is performed: scanned text does not become searchable. Check the resulting document in your PDF reader.

  • No Account or Subscriptions Required

    Enjoy unlimited compression runs without creating an account, entering payment details, or enduring daily quotas.

  • No Image Downsampling

    Images are not resampled. An image-heavy scan may show little or no reduction.

Real-world examples

The following limits describe the implementation, not measured average savings:

Structural Optimization: Scope and Limits
Document typeSize savingsProcessing scopeWhat to check
Office exportVariable, not guaranteedObject-stream rewriteOpen and check the output
Already optimized PDFMay be zeroOriginal retained if not smallerCheck the displayed savings
Image-heavy scanMay be zeroNo image re-encodingConsider a new source export

How to use Compress PDF

  1. Select Your PDF

    Select a document using the file input on your computer or mobile device.

  2. Check the Optimization Scope

    This tool only optimizes structure. If images dominate file size, a new export from the source application may be necessary.

  3. Click 'Compress PDF'

    The browser loads the PDF and saves it with compressed object streams. Processing time depends on the document and your device.

  4. Review Savings & Download

    A smaller result downloads automatically with an -optimized.pdf suffix. If there is no reduction, no new file is downloaded and your original is kept.

Tips and mistakes to avoid

Check the Recipient's File Limit

Compare the measured output with the limit shown by the recipient. Structural optimization cannot guarantee that a scan fits a particular upload limit.

Combine with Split PDF for Extreme Reductions

If a document remains slightly over strict submission limits, consider using Split PDF to remove non-essential appendices before compressing.

Original Files Remain Untouched

Compression creates a new independent file, leaving your high-resolution original document safely preserved on your disk.

Avoid : Compressing Pure-Text Vector PDFs

Documents created directly from word processors containing only text and vector shapes are already tiny and will see minimal additional compression.

Avoid : Rewriting Digitally Signed Documents

A PDF rewrite can invalidate digital signatures. Keep the signed original rather than processing it with this tool.

Avoid : Uploading Encrypted Documents

Password-protected PDFs cannot be compressed until the master encryption lock is unlocked.

Frequently asked questions

Answers to the questions people ask about Compress PDF.

It loads the PDF with pdf-lib and saves it with compressed object streams in the browser. It does not resample images or implement WebAssembly compression.

The tool does not rasterize pages or re-encode images. Existing scanned text does not become searchable: no OCR is performed. Always check the output.

Yes. There are no daily usage limits or hourly throttling. You can compress as many documents as you need.

Files that consist entirely of text, vector shapes, or previously compressed JPEG images cannot be compressed much further without noticeable degradation.

There are no arbitrary software limits. Files up to several hundred megabytes can be processed provided your computer or mobile device has sufficient free RAM.

The selected PDF is not uploaded by this tool. Local processing does not replace device security; keep the original until the result has been checked.

No. There is one structural optimization mode. Check the measured size and, if it still exceeds the limit, re-export the source or retain only the requested pages.

The tool does not intentionally remove or reorder pages. Check page count and layout after processing, especially for complex documents.

Structural optimization changes how PDF objects are stored. Image downsampling reduces raster resolution and can lose detail. This tool uses object streams only and does not implement downsampling.

Check these features in the output; they are not individually validated by the tool. Digital signatures can be invalidated by any rewrite, so do not optimize a signed original.

Related tools

Tools people open right after this one.

Updated on November 2026. See all tools