Compress PDFs. Smaller, on your device.

Shrink PDF file sizes by up to 70% while keeping text crisp and images clear. All processing happens in your browser.

Drop your PDF here
or click to browse files from your device
— single PDF · any size
✓ 100% private · ✓ no uploads · ✓ free forever
— How it works
Step 1
Add your PDF
Drag and drop or click to select a PDF file from your device.
Step 2
Choose compression level
Pick recommended, maximum, or light compression depending on your needs.
Step 3
Download the smaller file
Compression runs in your browser. Download the optimized PDF instantly.

What is PDF compression?

PDF compression is the process of reducing the file size of a PDF document while keeping its content usable. Depending on what's inside the PDF, different strategies apply. Documents that contain photographs, scanned pages, or illustrations can be compressed significantly by re-encoding their embedded images at a lower quality setting. Documents that are mostly text and vector graphics compress far less, because that content is already stored in a highly efficient format.

Foliopress focuses on image re-compression — the technique that produces the largest file size savings. For each JPEG image embedded in your PDF, the tool decodes it, renders it through a canvas, and re-encodes it at a lower quality level. The surrounding document structure — text, fonts, page dimensions, form fields, hyperlinks — is preserved exactly. Only the images change.

Why compress PDFs in your browser?

Every mainstream PDF compression service on the internet requires you to upload your file to a server. The file travels over a network, gets processed on hardware you don't control, and — even if the service claims to delete it — exists outside your device for some period of time. For personal files, that trade-off may be acceptable. For contracts, medical records, legal documents, or financial statements, it is not.

Foliopress compresses PDFs entirely within your browser. When you drop a file onto the tool, it is read into your browser's local memory using the Web File API. The compression — including image decoding and re-encoding — runs in a JavaScript sandbox in your browser tab. The output is generated in memory and offered as a download via a local object URL that is only valid during your current session. Nothing is transmitted to a server. There are no accounts, no upload queues, and no data retention questions to worry about.

How much can you compress a PDF?

Realistic expectations depend heavily on the content of your specific PDF. Image-heavy files — scanned documents, photo books, brochures, product catalogues, academic papers with figures — can shrink by 40–70% with the recommended setting. A 10 MB scanned document might come down to 3–4 MB. Files that are almost entirely text, such as exported Word documents or generated reports with no photographs, may shrink by only 5–15%, because there are few images to compress.

The "maximum compression" preset achieves the smallest output by encoding images at a lower quality threshold. This is appropriate when file size is more important than pixel-level fidelity — for example, when sharing a document over a messaging platform with attachment limits, or archiving a large collection of scanned receipts. The "less compression" preset keeps image quality high while still achieving modest size reductions, which is suitable for print-ready materials or documents where visual quality must be preserved.

If your compressed PDF is only slightly smaller than the original, the document likely contains very few raster images. In that case, Foliopress will show you an honest summary of what was achieved rather than overstating the result.

How Foliopress keeps your files private

The compression logic is built on pdf-lib, a JavaScript PDF engine that runs entirely in the browser. When you add a file, the browser reads it into an ArrayBuffer using the standard File API — a local memory operation with no network activity. The pdf-lib engine then parses the PDF structure, locates embedded image objects, and processes them using the browser's built-in Canvas API for image re-encoding. The final compressed bytes are written into a Blob URL — a temporary local reference that exists only in your current browser tab.

Foliopress has no server-side processing for this tool. There is no backend that receives your file, no cloud storage, and no analytics on what documents you compress. The only thing that leaves your device is the download itself, which goes to your own disk. For anyone who regularly handles documents with sensitive content, this architecture is not just a convenience — it meaningfully reduces the risk surface compared to any upload-based service.

— FAQ
How much can I shrink a PDF?
It depends on the content. Image-heavy PDFs — scanned documents, photo-rich reports, brochures — typically shrink by 40–70% with the recommended setting. Text-only PDFs compress much less, often 5–15%, because their content is already efficiently stored. The tool shows you the exact savings after compression.
Will compression reduce the quality of my PDF?
It depends on the level you choose. The "less compression" preset preserves high image quality with modest size reduction. The "recommended" preset offers a good balance — images remain clear for screen viewing but may show minor quality loss on close inspection. "Maximum compression" produces the smallest file but noticeably reduces image fidelity. Text, fonts, and vector graphics are never affected by any setting.
Are my PDF files uploaded to a server?
No. Compression runs entirely in your browser using the pdf-lib JavaScript library and the browser's Canvas API. Your file is never transmitted to any server. Nothing leaves your device except the downloaded result, which goes to your own disk.
Is there a file size limit?
There is no enforced limit. In practice, very large files (above 100 MB) may be slow to process on devices with limited memory, since the PDF must fit in the browser's JavaScript heap. For most documents — including large scanned PDFs in the 20–50 MB range — processing is fast.
Can I compress scanned PDFs and image-heavy documents?
Yes — and those are exactly the files that benefit the most. Scanned PDFs typically consist entirely of high-resolution JPEG images, one per page. Foliopress re-compresses each of those images at the selected quality level, which often produces reductions of 50% or more on scanned documents.
Why is my compressed PDF only slightly smaller?
The file likely contains very few raster images. PDFs generated from Word, Excel, or other office tools are mostly vector content and text, which cannot be meaningfully compressed by image re-encoding. The tool will show you the exact savings and flag when a document is already well-optimized.
— Ready when you are

Open the toolkit. Keep your files.

Browse all tools