KBCompressKB
PDFBrowser-basedBrowser-basedScanned PDFs

Compress PDF

Compress scanned and image-heavy PDFs in your browser. Choose a target size and download a smaller PDF.

No upload requiredWorks in browserNo signupMobile friendlyYour files are processed in your browser whenever possible.

Compression settings

Target size

Compression mode

Drag & drop your PDF

or click to browse

Your files are processed in your browser whenever possible.

Works best on desktop for multi-page PDFs. Max 20 MB and 20 pages in this version.

Before you compress

  • Your PDF is processed in your browser whenever possible.
  • Best for scanned PDFs, image-heavy PDFs, and photo-based documents.
  • Maximum compression may flatten pages into images. Text selection, forms, and links may not be preserved.
  • If your PDF is mostly text, try a larger target size for better readability.

Compress PDF helps you compress scanned and image-heavy PDFs in your browser. Choose a target size and download a smaller PDF. Processing runs in your browser — your files are processed in your browser whenever possible.

When to use Compress PDF

Many uploads enforce strict file size limits. Compress PDF automates optimization so you can get close to approximately 100KB without desktop software or manual quality sliders.

Whether you are preparing a passport photo, a scanned document, or a profile image, this tool gives you a fast, private way to prepare a compliant file.

How it works

Upload your image using drag and drop or the file picker. CompressKB reads the file into memory on your device and processes it using HTML Canvas — no server upload required.

Each page is rendered to a canvas, compressed as JPEG, and assembled into a new PDF. Text and links may not be preserved — best for scanned documents.

Your files are processed in your browser whenever possible. Your files stay on your device while you compress or convert them.

Tips for best results

Start with a reasonably sized source image. Cropping unnecessary areas before compression or resizing usually produces better visual quality at smaller file sizes.

Keep your uncompressed original as a master copy. You can always re-run the tool with different settings if needed.

Related tools

Explore our full toolkit on the All Tools page — compression targets from 50KB to 500KB, format converters, resize tools, and batch processing.

CompressKB is free, requires no account, and works on desktop and mobile browsers.

Frequently Asked Questions

How does browser PDF compression work?

CompressKB renders each PDF page to a canvas, compresses pages as JPEG images, and rebuilds a new PDF using pdf-lib. All processing happens on your device.

Will text and links be preserved?

Not always. Maximum compression rasterizes pages into images. Text selection, forms, and hyperlinks may not survive. Best results come from scanned or image-heavy PDFs.

Are my PDFs uploaded to a server?

Your files are processed in your browser whenever possible. We never upload your files to our servers for image compression, conversion, or resizing.

What PDFs work best?

Scanned documents, phone camera scans, and image-heavy PDFs compress well. Text-only PDFs may lose sharpness when rasterized.

Is the target size guaranteed?

We aim for your target KB size, but results depend on page count and content. You will see a notice if the target could not be fully met.