How to use Compress PDF

  1. Click the "Input PDF" box or drag a PDF file onto it.
  2. Under "Compression Settings", choose "Low Compression", "Medium Compression" or "High Compression" (Low is selected by default).
  3. Wait while "Compressing PDF..." is shown; the result appears under "Compressed PDF".
  4. In the "Compression Settings" panel, compare "Original File Size" with "Compressed File Size", then click "Download".

Examples

Smaller file for sharing

report.pdf with High Compression -> report.pdf rewritten with Ghostscript's /screen preset; the new size is shown as Compressed File Size.

Good to know

  • Compression runs Ghostscript's pdfwrite device, compiled to WebAssembly, inside a Web Worker and writes output with PDF 1.4 compatibility.
  • Low, Medium and High map to Ghostscript's /printer, /ebook and /screen PDFSETTINGS presets.
  • The Ghostscript WebAssembly binary is requested from cdn-wasm.b-cdn.net when compression starts; your PDF is passed to the worker as a local blob URL and written to Ghostscript's in-memory file system, and the worker makes no other network request.
  • The compressed file keeps the original file name.
  • When the PDF can be read, the settings panel shows its original file size and number of pages; the compressed size is added after compression.

Frequently asked questions

What do the compression levels do?

Low Compression uses Ghostscript's /printer preset, Medium uses /ebook and High uses /screen. The tool describes them as minimal quality loss, a balance of size and quality, and maximum size reduction with some quality loss.

Will my PDF always get smaller?

Not necessarily. The tool returns whatever Ghostscript produces and does not compare sizes, so check Compressed File Size against Original File Size before downloading.

Does the tool download anything?

Yes. Each compression run starts a Web Worker that fetches the Ghostscript WebAssembly binary from cdn-wasm.b-cdn.net. The PDF itself is read from a local blob URL and processed inside that worker.

More PDF Tools