Compress PDF Online

Make PDF files smaller without uploading them anywhere. Text stays selectable and searchable, images get re-encoded, and everything happens inside your browser.

Files never leave your device Keeps text selectable Batch up to 30 files Free, no sign-up Works offline

PDF compressor

Drop PDFs here, or click to browse

Up to 30 files · no size limit · you can also paste with Ctrl+V

Compression mode
75%

Images wider or taller than this are scaled down.

Sizes each image to how large it is actually drawn on the page. 0 turns this off.

Advanced options

Leave empty to just use the mode settings. Runs several passes to land under the target.

Leave empty to keep every page. Dropping pages is often the fastest win.

Extras

Shortcuts: Ctrl+O to open files, Ctrl+Enter to compress.

In short

What it does: reduces the file size of a PDF by re-encoding the images embedded inside it. Text, fonts and vector drawings are left untouched, so the compressed file is still selectable, searchable and readable by screen readers.

Where the work happens: in your browser. The PDF is read from your disk into memory and never sent over the network. There is no upload, no server-side copy and no retention window.

Typical results: scanned or photo-heavy PDFs shrink by 70-95%. Text-only PDFs exported from Word or LaTeX are already efficient and typically shrink by 2-15%.

Cost: free, unlimited, no account, no watermark.

How to compress a PDF

  1. Add your PDFsDrag files onto the drop area, click to browse, or paste from the clipboard. Up to 30 at once.
  2. Choose a modeBalanced suits nearly every file. Set a target size, trim pages or switch to grayscale if you need more.
  3. Compress and downloadWatch the before and after size per file, then save them individually, merged, or as a ZIP.

Which mode should you use?

The four modes are not just quality presets - two of them use fundamentally different engines. The distinction that matters most is whether your text survives as text.

ModeWhat it doesText stays selectableTypical reductionBest for
Lossless Rewrites the file structure with compressed object streams and drops metadata. No pixel changes. Yes 2-15% Legal and print files that must not change visually
Balanced Re-encodes embedded images with mozjpeg at 75% quality, capped at 2000px. Text and vectors untouched. Yes 40-80% Almost everything - the sensible default
Strong Same engine, images at 55% quality capped at 1400px. Yes 60-92% Email attachment limits, web upload forms
Maximum Renders every page to a JPEG and rebuilds the PDF from those images. No - text becomes pixels 50-95% Scanned documents, or a hard size limit nothing else meets

If you are unsure, start with Balanced. If the result is still too big, try Strong before reaching for Maximum, because losing selectable text is a real cost - it breaks copy and paste, search, and screen reader access.

Maximum is not automatically the smallest result. It re-renders every page at a fixed resolution, so on a plain document it can easily produce a larger file than Strong while also destroying the text layer. It earns its place on scans and dense, graphic-heavy layouts. Compare the two before you settle - the tool reports the exact before and after size for each.

Why PDFs get large in the first place

Almost all PDF bloat is images. A page of text is a few kilobytes of glyph references; a single phone photo dropped into that page is three megabytes. Scanners are the worst offender, because they save every page as a full-resolution colour image even when the page is black text on white paper.

That is why this tool targets images specifically rather than blindly rasterising the document. It walks the PDF object graph, finds each embedded image, decodes it, resizes and re-encodes it as a JPEG, and writes it back into the same slot in the file. The page content stream, the fonts and the vector graphics are never touched.

What gets skipped, and why

Some images are deliberately left alone, because re-encoding them would risk corrupting the page:

  • Soft masks and stencil masks - these carry transparency. Lossy re-encoding produces visible halos around cut-out shapes.
  • CMYK JPEGs - browsers decode these inconsistently, often with inverted colours.
  • JPEG 2000, JBIG2 and CCITT fax images - the browser cannot decode these formats natively.
  • Indexed palettes and 1-bit scans - already tiny, and converting them to JPEG usually makes them bigger.
  • Images under about 100×100 pixels - the JPEG header alone would outweigh any saving.

A file that is mostly made of these will barely shrink. That is not a failure, it means there was nothing safe left to reclaim.

Getting a smaller file

  • Drop pages you do not need. Removing half the pages halves the file. Use the page range field - it is the single biggest lever available.
  • Go grayscale on scans. A scanned form or receipt carries no meaningful colour. Converting drops another 10-30%.
  • Set a target size instead of guessing. Enter 2MB and the tool binary-searches the quality setting to land just under it, rather than you nudging a slider by hand.
  • Do not stack compression. Re-compressing an already-compressed PDF adds artefacts for almost no further saving. Always start from the original.
  • Check the result before you send it. Use the Compare button to put the original and the compressed page side by side, especially if you used Strong or Maximum.

What the tool does for you automatically

  • Merges duplicate images. Report generators embed the same logo on every page as a separate copy. Those are collapsed into one shared object, which costs nothing in quality and can be the single largest saving in a long document.
  • Sizes images to how they are actually drawn. A 3000px photo placed in a small box is thousands of DPI of invisible detail. The tool reads the page layout and scales each image to the resolution it is really displayed at, rather than treating every image the same.
  • Keeps the original when compression would not help. If a pass produces a bigger file, that result is discarded and the file is marked "kept original".
  • Remembers your settings so the next visit starts where you left off, and works offline once loaded.

Privacy

Your PDF is never uploaded. Compression happens with JavaScript running on your own machine, using the browser's built-in image decoder and canvas encoder. There is no request that carries your file, so there is no server-side copy to leak, subpoena or delete.

That matters for the documents people most often need to shrink: signed contracts, invoices, passports and visa paperwork, medical scans, tax returns and bank statements. With a conventional online compressor, all of those pass through someone else's infrastructure. Here they do not.

The page does load Google Analytics, Microsoft Clarity and Google AdSense, which see page views and interaction events in the normal way. They do not receive your file contents, because your file contents never enter a network request.

The JPEG encoder - mozjpeg compiled to WebAssembly - is served from this site rather than a third party, so using the tool does not announce itself to anyone else. The PDF parser and page renderer are still fetched from a public CDN the first time you visit. All of it is program code travelling towards you, not data travelling away from you, and once loaded it runs entirely on your machine.

Frequently asked questions

Are my PDF files uploaded to a server?

No. The compressor runs entirely in your browser using JavaScript. Your PDF is read from disk into memory, processed locally, and written back out as a download. Nothing is transmitted, stored or logged, which means contracts, invoices, medical records and identity documents stay on your device. The page also keeps working if you go offline after loading it.

Does compressing a PDF make the text blurry or unselectable?

Not in Lossless, Balanced or Strong mode. Those modes only re-encode embedded images and leave text, fonts and vector graphics byte-for-byte intact, so the document stays selectable, searchable and accessible to screen readers. Only Maximum mode rasterises pages, which converts text into pixels. Maximum is intended for scanned documents where the page is already an image.

How much smaller will my PDF get?

It depends almost entirely on what is inside the file. PDFs full of photos or scanned pages commonly drop by 70 to 95 percent. Text-only PDFs exported from Word or LaTeX are already efficient and may only shrink by 2 to 15 percent in Lossless mode, because there are no images to reclaim space from. If a pass would make the file larger, the original is kept instead.

Which compression mode should I choose?

Use Balanced for almost everything - it keeps text intact and gives a large reduction on image-heavy files. Use Strong when you need to fit an email attachment limit and image fidelity is secondary. Use Lossless when the file must not change visually at all, for example for print or legal submission. Use Maximum only for scans, or when nothing else gets you under a hard size limit.

Can I compress a PDF to a specific file size?

Yes. Enter a target such as 2MB or 500KB in Advanced options. The tool runs several compression passes and binary-searches the image quality setting to land as close to that ceiling as it can while staying under it. If the target cannot be reached even at the lowest quality, the closest result is returned and the file is flagged as target not reachable.

Can I compress several PDFs at once?

Yes. Drop up to 30 PDFs in at a time. They are processed one after another so the browser stays responsive, each with its own progress bar and before and after size. When they finish you can download them individually, merge them into a single PDF, or take them all as one ZIP archive.

Is there a file size limit?

There is no server limit because there is no server. The practical ceiling is your device memory, since the file and its decoded images have to fit in the browser tab. Files up to roughly 100 MB are comfortable on a desktop; on a phone, expect trouble well before that. If a large file fails, compress a page range at a time.

Does it work with password-protected PDFs?

No. Encrypted PDFs cannot be parsed without the password, and the tool will report that the file is password protected. Remove the password in your PDF reader first, then compress the unlocked copy.

Why did my PDF barely shrink at all?

Almost certainly because it contains little or no image data, or its images are already well compressed. A PDF that is mostly text and vector graphics has no slack to reclaim. The other common cause is images in formats the browser cannot safely re-encode, such as CMYK JPEGs, JPEG 2000, JBIG2 or CCITT fax scans - those are deliberately skipped rather than risk corrupting the page.

Does converting to grayscale reduce the file size?

Yes, usually by a further 10 to 30 percent on top of image compression, because colour information is discarded before the images are re-encoded. It is a good option for scanned text, receipts and forms where the colour carries no meaning. It is irreversible in the output file, so keep your original.

Does the tool remove metadata from my PDF?

Optionally, and it is on by default. Removing metadata clears the title, author, subject, keywords, creator and producer fields along with the embedded XMP metadata block. That strips the name of whoever created the document and the software they used, which is worth doing before sharing a file publicly.

Does it work offline, and can I install it?

Yes to both. The page registers a service worker that stores the tool and its compression engine on your device, so it opens and compresses with no network connection at all. Your browser may also offer to install it as an app, which gives it its own window and launcher entry. Since nothing was ever being uploaded, offline mode is not a reduced version of the tool - it is the same tool.

Is the PDF compressor free?

Yes. It is completely free, requires no sign-up or email address, adds no watermarks, and has no daily limit on how many files you compress. Because the work happens on your own device there is no server cost to pass on.