How Compress PDF works
PDF Compress reduces the file size of a PDF through lossless structural optimisation: it rebuilds the cross-reference table, merges duplicate objects, removes obsolete update sections left by previous saves, and packs content into compressed object streams. All of this runs in pdf-lib inside your browser. Your PDF is never sent to a server or cloud service.
Two modes, and the difference matters. The default is that lossless pass: it never downsamples, re-encodes or strips an embedded image, so the document you get back is the one you put in, only packed better. Strong mode is the opposite bargain: each page is re-rendered as a JPEG image at a DPI you choose, which shrinks a scanned PDF dramatically but produces an image-only file. The text stops being selectable or searchable, and links and form fields do not survive. Pick it deliberately, on a document where size beats everything else. If your PDF is large primarily because it contains high-resolution photographs, the savings from structural cleanup alone will be modest. The biggest gains come from PDFs that have accumulated incremental updates over multiple saves, contain duplicate resource objects, or have uncompressed cross-reference sections. For image-heavy PDFs where size matters, combining this tool with image compression before embedding is the more effective path.