PDF Compressor

Reduce PDF file size by clearing metadata, hidden data, and page thumbnails, then compare the size before and after

Drop PDF file here

or click to browse

Maximum file size: 50MB

What is a PDF Compressor?

A PDF compressor makes a file smaller by removing data that is not part of the visible page: the document information fields, the XMP metadata block, and embedded page thumbnails. It also rebuilds the file with object streams, which packs the internal structure more tightly.

This tool does not re-encode images or rasterise pages. The visible content stays exactly as it was, and text stays selectable and searchable. Savings are usually modest and depend on how much hidden data a file carries.

It runs in your browser with the pdf-lib library, so your file is not uploaded to a server. It shows the original size, the compressed size, and the reduction, so you can see the result before you download.

How to Use This PDF Compressor

  1. Add your PDF. Drag and drop one file onto the drop zone, or click to browse. The limit is 50 MB.
  2. Choose a compression level. Medium is selected by default. The table below explains what each level removes.
  3. Click Compress PDF. A progress indicator shows the status.
  4. Check the results. Original Size, Compressed Size, and Reduction are shown.
  5. Click Download Compressed PDF, or Compress Another to start over.

The Three Levels

Level What it removes Visible change Try it when
Low Document information fields: title, author, subject, keywords, producer, creator None You only want to clear identifying details
Medium (default) Low, plus the XMP metadata stream None You want a clean file and a small extra saving
High Medium, plus embedded page thumbnails None The file came from a scanner or office app that stores page previews

All three levels save the file with object streams. None of them touch page content, fonts, or images, so text and pictures look the same afterwards.

What Gets Removed

Removed or reduced Applies to Notes
Document information All levels The fields shown in a reader's Document Properties
XMP metadata stream Medium and High A separate XML block that some apps write alongside the info fields
Embedded page thumbnails High Small preview images stored for page navigation
Unused objects All levels Dropped automatically when the file is rebuilt
Object structure All levels Rewritten with object streams
Images, fonts, page content Never Left untouched, so text stays selectable

Example: Shrinking a PDF for Email

You have a PDF that is slightly over your email limit.

  1. Compress it at Low first and note the Reduction value.
  2. If it is still too big, try Medium and compare.
  3. Try High last. It is the largest of the three when the file stores page thumbnails.

If the reduction is only a few KB, the hidden data was not the problem: the images are. This tool keeps images as they are, so the next step is to re-export the PDF from the app that made it with lower image quality, or to downscale the images before they are placed in the document.

Level What changes Typical saving
Low Document information cleared A few KB, sometimes none
Medium Also drops the XMP stream A few KB more
High Also drops page thumbnails Largest of the three when thumbnails exist

Tips and Common Mistakes

  • Start with Low, then go up. Each level only removes more hidden data. If Low gives almost nothing, a higher level will not change the page content either.
  • Results depend on the file. Files created by office suites and scanners often carry XMP data and thumbnails. Minimal PDFs may shrink by a few KB or not at all.
  • Images are the real weight. This tool keeps images as they are. For a scan-heavy PDF, re-export it from the scanner or source app with lower image quality.
  • Links, comments, and form fields are kept. They are page annotations, not metadata, so they survive every level.
  • Text stays selectable. Pages are never rasterised, so you can still select and search the text afterwards.
  • Compress after you merge or edit. Make it the last step, after the PDF Merger or PDF Page Remover.
  • Keep files under 20 MB for the best results. The tool accepts up to 50 MB, but very large files take longer and use more memory in your browser.
  • Keep the original. The cleared metadata cannot be restored from the compressed copy.

Common Use Cases

  • Sharing a document: clear author, title, and producer details before you send it.
  • Publishing on a website: remove hidden data before the file goes public.
  • Files from office suites: drop XMP blocks and page previews that add weight.
  • Archiving: clean up a folder of PDFs in a few passes.
  • Preparing a file for a size limit: try the levels in order and check the Reduction value.

Common PDF Workflows

Most PDF jobs take more than one step. These tools run in your browser and work well together.

Goal Steps
Share a confidential document Clean it up with the PDF Page Remover and PDF Metadata Editor, then protect it with the PDF Password Protector
Reuse content from a PDF PDF Text Extractor for text, PDF to Image for page images

Frequently Asked Questions

Is this PDF compressor safe to use?

Yes. Everything runs in your browser using JavaScript. Your PDF is never uploaded to a server, stored, or logged. Once you close or refresh the page, nothing remains.

What compression techniques does it use?

It clears the document information fields, removes the XMP metadata stream at Medium and High, removes embedded page thumbnails at High, and rebuilds the file with object streams. It does not re-encode images or rasterise pages.

Will compression reduce the quality of my PDF?

No. None of the levels touch page content, fonts, or images, so the document looks the same and text stays selectable. What you lose is hidden data such as the author and title fields.

How much smaller will my PDF be?

It depends on the hidden data in the file. Files from office suites and scanners often shrink by a few KB to a few hundred KB. Minimal or already-clean PDFs may barely change. Check the Reduction value after each run.

Why did my PDF barely get smaller?

The file probably has little hidden data and its size comes from images. This tool does not re-encode images, so try re-exporting the PDF from the app that made it with lower image quality.

What is the maximum file size?

50 MB. For best results keep files under 20 MB, because large files take longer and need more browser memory.

Does compressing remove links or form fields?

No. Links, comments, highlights, and form fields are page annotations, not metadata, so they stay in the file at every level.

Can I choose a target size, like 1 MB?

No. You choose a level (Low, Medium, or High) and see the result. If you need a specific size, the images are usually the part to change.