Skip to content
hateitall

Compress PDF

Rebuild a bulky PDF at the resolution it actually needs, without the document leaving your device.

Processed locallyIn: PDFOut: PDF

Loading tool…

How to use compress pdf

  1. Drop in a PDF; its pages are counted locally.

  2. Pick a preset (Recommended 144 dpi, Small 96 dpi, High 216 dpi) or set your own resolution and quality. Grayscale is one checkbox for scans.

  3. Pages render and re-encode one at a time with progress and a working cancel.

  4. The rebuilt file is reopened in two independent parsers to verify every page made it, then you get honest before and after sizes.

What this tool does

  • Renders each page locally and rebuilds a fresh, smaller PDF
  • Presets plus custom dpi and quality control
  • Grayscale mode for scanned documents, often the biggest saving of all
  • Page-count verification through two independent PDF parsers
  • Flattening leaves source metadata, attachments, scripts, and hidden structures behind, which doubles as a privacy scrub
  • Says so plainly when compression would make your file bigger

How the result is verified

The rebuilt document is reopened with pdf-lib and PDF.js independently, and both must report the same page count as your original. The displayed size is measured from the actual output bytes. If either parser fails, the download is blocked.

Frequently asked questions

Why did my PDF get bigger instead of smaller?

Because it was mostly text. A text PDF stores compact drawing instructions, and rendering those to images adds data instead of removing it. Compression pays off on scanned documents and PDFs full of photos, where 60 to 90 percent savings are normal.

Will the text still be selectable?

No, and we'd rather tell you here than have you find out later. Flattened pages are pictures. If you need selectable text and a smaller file, reducing the source document before exporting to PDF is the better path.

Does compressing also remove hidden data?

Yes, as a side effect of rebuilding: the output contains only rendered page images, so source metadata, attachments, embedded scripts, and revision history are simply not present in it.

Is my file uploaded to a server?

No. The file is opened with your browser's File API and processed by code running in your tab. You can confirm this yourself: open your browser's developer tools, watch the Network panel, and process a file — no request carries your file's bytes. See our How it works page for a step-by-step verification guide.

Is there a file size limit?

There is no artificial upload limit because there is no upload. Practical capacity depends on your device's memory and your browser. Very large files may be slow or fail to decode on low-memory devices; if that happens the tool fails safely without altering your original file.

Task-specific versions of this tool

The same local tool, preconfigured for a specific job.

Scan a PDF's internal structure for embedded images, preview them per page, and save the ones you want as PNG or a zip.

PDFPNGModerate on device

Extract page ranges, split into fixed-size chunks, or save every page separately. ZIP output with manifest.

PDFPDFModerate on device

Render pages to PNG or JPEG at selectable resolution, with page ranges and ZIP download.

PDFPNGHeavy on device

Combine multiple PDFs into one, with drag-free reordering and page-count verification.

PDFPDFModerate on device