PDF Compressor

Shrink PDF file sizes with smart compression — three quality levels, all local.

Drop PDF files here

or click to browse · multiple files supported

Compression Settings

Good balance of size and quality. Re-encodes images at 96 DPI / 70% JPEG. Ideal for most use cases.

How this compares

Most free PDF compressors gate features behind logins, file-size caps, or hourly task quotas. This one runs in your browser, so none of those limits apply — and your file never lands on someone else's server.

FeatureWebToolVerseSmallpdfILovePDFAdobe WebSejda
Files leave your deviceNeverUploadUploadUploadUpload
Free file size limitBrowser memory5 MB25 MB100 MB200 MB
Free batch processingUnlimited1 task / hour5 files3 / hour
Login requiredAfter 1 taskAfter 1 task
Compression levels3 + sliders2333
Compress to target size
Convert to grayscale
Advanced DPI / quality sliders
Download all as ZIP
Watermarks on outputNoneNoneNoneNoneNone

Free-tier features as of May 2026. Competitor feature sets change often; check their sites for the most current limits.

Runs entirely in your browser. No uploads. Your files stay private.

How PDF Compression Works — Structural vs Rasterization

PDF Compressor reduces file size with a two-track strategy: structural compression that rewrites the document with smaller object streams and stripped metadata, and rasterization that re-renders each page through a canvas and re-embeds it as JPEG at a lower DPI. The compressor decides which track to use by sampling the first five pages with pdf-lib and checking the ratio of XObject (image) resources to total page resources.
Track one — structural — runs unconditionally. pdf-lib serializes the output with object stream packing enabled, which collapses many small indirect objects into compressed streams. Optional metadata removal also clears the Info dictionary (Title, Author, Producer) and any XMP metadata. For text-heavy or vector-heavy PDFs at Low or Medium compression, this is the only step performed, so fonts and vector graphics are preserved at full fidelity.
Track two — rasterization — kicks in for image-heavy documents or whenever you select High compression. Each page is rendered through pdfjs-dist (Mozilla's PDF.js) onto an HTML canvas at a target DPI of 150 (Low), 96 (Medium), or 72 (High), then encoded as JPEG via canvas.toBlob with a quality factor of 0.85, 0.70, or 0.50. The result is a brand-new PDF where every page is a single JPEG image. Vector text becomes pixels in this mode — searchability and copy-paste are lost unless you run the result through OCR afterward.
Image-heavy scans benefit the most: a 40 MB scanned contract often compresses to 3–6 MB at Medium without visibly degrading legibility. Text-heavy PDFs (born-digital reports, invoices generated by software) usually shrink only 5–20 % from structural compression alone, because the text is already efficiently encoded.
There is also a target-size mode that iteratively re-runs rasterization with progressively lower DPI and JPEG quality until the output fits under the requested kilobytes. This is useful for portals with hard 5 MB or 10 MB upload caps. The search converges in 3–5 passes; on extreme targets it may stop at the lowest quality preset and inform you that the floor was reached.
The whole pipeline runs in your browser — pdf-lib for parsing and rewriting, pdfjs-dist (loaded as WebAssembly + worker) for rendering. No file leaves your device. Browser memory is the practical ceiling: PDFs up to ~150 MB compress comfortably on a modern laptop, but larger files may exhaust the tab's heap during canvas rendering.
Encrypted PDFs cannot be parsed by pdf-lib until they are unlocked; remove the password using the PDF Password tool first. If a digital signature is present, any modification — including compression — invalidates it; this is a property of the PDF signing standard, not a tool limitation.

Common Use Cases

01

Email attachment limits

Shrink a 25 MB scanned PDF below the 10 MB or 20 MB attachment cap enforced by Gmail, Outlook, and most corporate mail relays.

02

Government portal uploads

Hit the strict 5 MB or 8 MB per-file ceiling on visa, tax, and benefit application portals without losing legibility.

03

Storage and archival

Compress folders of historical scans before backing them up to S3, Drive, or Dropbox to cut long-term storage cost.

04

Faster web sharing

Slim PDFs intended for download links so visitors on mobile data don't wait minutes for a multi-megabyte file.

Frequently Asked Questions

It depends on the source. Image-heavy scans typically shrink 60–90 % at Medium or High. Text-heavy PDFs generated by software often shrink only 5–20 % because the text streams are already compact. The compressor reports the before/after sizes for every job.
At Low and Medium, structural compression is lossless and quality is identical. High compression rasterizes pages to JPEG at 72 DPI / 0.50 quality — fine for screen reading but noticeably softer when zoomed or printed at full size.
Yes for Low and Medium when the input is text-heavy — those use structural compression only and preserve text streams. High compression and any rasterization track re-render pages as images and lose the text layer; run the result through PDF OCR to restore searchability.
Yes. The target-size mode iteratively lowers DPI and JPEG quality until the output is under the size you specify. The search typically takes 3–5 passes; if your target is below what rasterization at 72 DPI / 0.50 quality can produce, the tool reports the achieved floor.
Not directly — pdf-lib refuses to parse encrypted streams. Remove the password first using the PDF Password tool, then compress, then re-encrypt if needed.
No. Both pdf-lib (parsing/rewriting) and pdfjs-dist (rendering) run inside your browser. Files stay in tab memory and are never transmitted.
There is no enforced cap. Browser memory is the practical limit — PDFs up to about 150 MB compress comfortably on a modern laptop. Beyond that, canvas rendering can push the tab's heap past Chrome's ~2 GB ceiling and cause a crash.
Yes. Add multiple files, run the batch, and download each result individually or as a single ZIP packed with JSZip.
Some PDFs come with aggressive compression already applied. Forcing rasterization on a small text PDF replaces the compact text streams with JPEG pages, which can be larger. Use Low compression on documents that are already small — it only strips metadata and repacks objects.
Form fields are preserved at Low and Medium with structural-only compression. Rasterization (High mode) flattens fields into the page image and loses them. Digital signatures are invalidated by any modification — that is a property of the PDF signing standard, not a tool limitation.

Step-by-step guide

How to compress a PDF for free

Walk through every step with screenshots, format-specific tips, and the platform-by-platform limits you need to know.

Advertisement