About PDF Compressor

Powerful PDF compression using Ghostscript WebAssembly, running entirely in your browser.

๐Ÿ•

Why Nobu Tools?

Nobu is my dog, and the inspiration behind these tools. Life is short, so we should spend less time on tedious tasks and more time with the ones we love.

Nobu Tools are built to save you time. Fast, private, no-nonsense utilities that just work, so you can get back to what matters.

๐Ÿ”ง How It Works

PDF Compressor uses Ghostscript, the industry-standard PDF processing library, compiled to WebAssembly (WASM). This means the full power of Ghostscript runs directly in your browser โ€” no server required.

Vector-Preserving Compression

Unlike simple image-based compressors that rasterize your PDF (making text look like a scanned document), Ghostscript performs intelligent compression:

Quality Presets Explained

๐Ÿ“ฑ Screen (72 DPI) Maximum compression. Images downsampled to 72 DPI. Best for email attachments and on-screen viewing only.
๐Ÿ“š eBook (150 DPI) Great balance of quality and size. Images at 150 DPI. Perfect for digital documents and ebooks.
๐Ÿ–จ๏ธ Printer (300 DPI) High quality output. Images at 300 DPI. Suitable for home and office printing.
๐ŸŽจ Prepress (300+ DPI) Maximum quality. Color preservation. For professional printing and prepress workflows.

๐Ÿ”’ Privacy & Security

Your documents never leave your device. Here's why that matters:

This makes PDF Compressor ideal for sensitive documents like financial statements, legal contracts, medical records, or any confidential business files.

๐Ÿ’ก Tips for Best Results

Which quality level should I choose?

For most use cases, eBook (150 DPI) is the sweet spot. It significantly reduces file size while maintaining good readability. Use Screen for maximum compression when quality isn't critical, or Printer/Prepress when you need professional output.

Why did my file size increase?

If your PDF is already well-optimized or contains mostly text with few images, Ghostscript may actually increase the file size slightly. This is normal โ€” the tool works best on PDFs with uncompressed or poorly compressed images.

Why is the first compression slow?

The Ghostscript WASM engine is approximately 18MB. It downloads and initializes the first time you use the tool. Subsequent compressions are much faster since the engine stays in memory.

What file sizes can I compress?

The tool can handle most typical PDF sizes (up to ~100MB), but very large files may take longer to process and consume significant browser memory. For extremely large files, you may want to split them first using PDF Companion.

๐Ÿ› ๏ธ Technical Details

PDF Compressor is powered by the following open-source projects:

The compression command used is equivalent to:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 \
   -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH \
   -sOutputFile=output.pdf input.pdf

โš–๏ธ License

This tool uses the following open-source components:

The AGPL-3.0 is a copyleft license that requires derivative works to also be open source. The Nobu Tools web interface and CSS are separate from the Ghostscript engine.

View AGPL-3.0 License Summary

Permissions: Commercial use, modification, distribution, patent use, private use

Conditions: License and copyright notice, state changes, disclose source, same license, network use is distribution

Limitations: Liability, warranty

Full license text: gnu.org/licenses/agpl-3.0

Ready to Compress Your PDFs?

Reduce file sizes while preserving quality. No signup required.

Start Using PDF Compressor โ†’