Compress PDF

Reduce PDF file size

Drag PDF File HereOr, if you prefer...

Compress PDF Files Online

Shrink your PDF files with one click. This compressor applies stream compression, object stream optimization, and maximum-level flate recompression to reduce file size while preserving every detail of your document. All processing runs in your browser – your files never leave your device.

Key Features

How It Works

The compressor applies three optimization techniques to your PDF. Each targets a different source of bloat inside the file structure.

Stream compression

A PDF stores most of its data – text, fonts, images, drawing commands – inside objects called streams. When a PDF editor saves a file, it sometimes leaves these streams uncompressed or partially compressed. The compressor identifies every uncompressed stream, applies the Deflate algorithm, and replaces the raw data with a compact version. The visual output stays identical because the viewer decompresses the stream on the fly when it renders a page.

Object stream generation

Beyond content streams, a PDF contains many small metadata objects: page dictionaries, font references, cross-reference entries, and more. Normally each object sits in its own section of the file with its own header and trailer bytes. Object stream generation packs dozens of these small objects into a single compressed stream, eliminating repetitive headers and saving space across the entire document.

Maximum-level flate recompression

Some PDFs already contain compressed streams, but the original software used a low compression level for speed. The compressor decompresses these streams and recompresses them at the highest Deflate level. The result is a tighter encoding that shaves additional bytes without changing a single pixel or character.

When Compression Works Best

The amount of space you save depends on how the PDF was created. Some files shrink dramatically; others change only slightly. Here are the scenarios where compression delivers the largest gains:

Files already optimized by a dedicated PDF tool may shrink only a few percent. If the compressor reports that the file size stayed the same, the original was already well-compressed.

How to Use

Common Use Cases

Privacy & Security

Every step of the compression runs inside your browser using WebAssembly. Your PDF is read from your local file system, processed in a dedicated Web Worker thread, and written back to your device when you click “Download.” At no point does the file travel to a remote server.

This architecture means that confidential documents – financial statements, medical records, legal contracts – stay under your control the entire time. There is no server log, no temporary cloud copy, and no third-party access. When you close the browser tab, all in-memory data is discarded immediately.

Tips for Best Results

Frequently Asked Questions

Will compression reduce the quality of my PDF?

No. The compressor optimizes the internal structure and data streams without altering visual content. Text, images, vector graphics, and formatting remain identical to the original.

How much smaller will my file become?

Results depend on how the PDF was created. Uncompressed or lightly compressed files often shrink by 30–70%. Files already optimized by professional PDF software may shrink only a few percent or stay the same size.

Is my data safe?

Yes. All processing happens locally in your browser using WebAssembly and a dedicated Web Worker. Your files remain on your device throughout, and no data is transmitted to any server.

Can I compress a password-protected PDF?

Not directly. If the PDF is encrypted, you must remove the password first. You can use the “Remove Password from PDF” tool on this site, then compress the unlocked file.

What file types does this tool support?

This tool accepts PDF files only. If you need to compress images, use a dedicated image compression tool instead. For other document formats such as Word or PowerPoint, export them to PDF first and then compress.

Does compression remove metadata from my PDF?

No. The compressor preserves all metadata – author, title, creation date, and custom properties. It restructures and recompresses the internal data without stripping any information from the file.

Related Tools

You might also find these tools useful: