Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. PDF Tools
  3. PDF Compressor
Add to favorites

PDF Compressor

Make a PDF smaller: lossless compression, smaller photos with sharp text, or flattened pages for scans. Shows the size before and after.

PDFs never leave your deviceMore pdf toolsJump to full guide
Related readingReading and Writing PDFs in JavaScript: pdf-lib vs PDF.js13 minThe Complete Guide to Working with PDFs: Edit, Optimize, and Organize14 min

Initializing in your browser…

You might also like

Image Compressor

Make photos and graphics smaller as JPEG, WebP or PNG. Set a quality or a target size in KB, and compare the result with the original before you download.

Video Compressor - Reduce Video File Size Online

Make a video smaller for email, chat or upload limits. Choose a quality and frame size, estimate the result first, and see exactly how much was saved.

PDF Signature Tool

Sign a PDF: draw, type or upload your signature, tap where it goes, and download. Transparent, so it never hides the signature line.

PDF Compressor: a worked example

A 12 page product brochure exported at full camera resolution is 38 MB, and the client's email server rejects anything over 10 MB.

Input

brochure.pdf · 38 MB · 12 pages, text on all 12 · 14 photos, 4000 x 3000 px, printed 4 in wide · Smaller pictures, 150 dpi, quality 75
What PDF Compressor produces

Output

brochure_compressed.pdf · about 1 MB · 14 photos now 600 x 450 px · text still selectable on all 12 pages

The suggestion is Smaller pictures because photos make up almost all of the file. Each photo is 4000 pixels across a 4 inch space, which is 1000 dpi, far more than a screen or office printer can show. At a 150 dpi target, 4 inches needs 600 pixels, so each photo is reduced to 600 by 450 and re-saved as a JPEG at quality 75. That is about 2 percent of the original pixels, which is where nearly all of the saving comes from. The text and vector graphics are not touched, and the result is read back to confirm all 12 pages still have selectable text.

About the PDF Compressor

Make a PDF smaller without guessing. The tool looks at what is inside the file, suggests the method that will save the most, and shows the size before and after, so you can see exactly what you got. Choose lossless compression that changes nothing you can see, smaller pictures that keep text sharp and selectable, or flattened pages for scans. Everything runs in your browser and the file is never uploaded.

Working with your PDF

  1. 1Drop a PDF onto the tool, or press Try a sample PDF.
  2. 2Read the summary and the suggested method, which is selected for you.
  3. 3If you like, switch method. For Smaller pictures, set the resolution and JPEG quality; for Flatten pages, set the resolution, quality and greyscale.
  4. 4Press Compress PDF and compare the sizes before and after.
  5. 5Press Download compressed PDF. To try other settings, change them and compress again.

Key features

  • Analyses the file and suggests the method that will save the most
  • Lossless mode that changes nothing visible
  • Removes leftover data from earlier edits that nothing uses
  • Smaller pictures mode based on the real printed resolution of each photo
  • Adjustable target resolution (72 to 300 dpi) and JPEG quality
  • Flatten pages mode for scans, with optional greyscale
  • Before and after sizes with the percentage saved
  • Checks the result to confirm all pages and text are still there
  • Never returns a bigger file for the lossless and picture modes
  • Runs entirely in your browser

Common scenarios

  • Email attachments

    Get a document under the 10 to 25 MB limits most email services set.

  • Online forms and portals

    Shrink applications, invoices and scans to fit upload limits.

  • Archiving

    Save space on large collections of PDFs without losing text or quality.

  • Sharing on the web

    Make PDFs load faster for people on slow connections or mobile data.

Tips & best practices

  • If one setting is not enough, lower the picture resolution before lowering the JPEG quality; it usually looks better.
  • Greyscale makes a big difference on scans of black and white documents.
  • Remove pages you do not need first; no compression beats deleting.
  • Open More options to also remove the title, author and other properties stored in the file.

Examples

  • A word processor export

    An 8 page report saved as a 28 KB PDF with its text stored uncompressed comes out at about 4 KB in Lossless mode, with every character still selectable.

  • A brochure full of photos

    A 12 page brochure with 4000 by 3000 pixel photos printed 4 inches wide (1000 dpi) is reduced to 150 dpi photos, typically cutting the file by more than 90 percent while the text stays sharp.

  • A phone scan for an upload limit

    A 20 page colour scan of 18 MB has no text layer. Flatten pages at 150 dpi in greyscale typically brings it down to a few megabytes, under a 10 MB upload limit.

How it works

It reads the file first. When you add a PDF, the tool checks its size, how many pages carry real text, how many pictures it holds and how much of the file they take up. From that it suggests a method: a document that is mostly photos gets Smaller pictures, a scan with no text gets Flatten pages, and a file stored with little or no compression gets Lossless. You can always pick a different one.

Lossless. Some programs save PDFs with large parts left uncompressed, and editors that save changes by appending to the file leave old versions of pages and images inside it. Lossless compresses the uncompressed parts, removes the data nothing in the document uses any more, and packs the file more tightly. Nothing visible changes: text, fonts, images and vector graphics are exactly as before. On a text-heavy export from a word processor this alone often removes more than three quarters of the size.

Smaller pictures. Photos are usually what makes a PDF large, and they are often far sharper than they need to be for where they sit on the page. This mode works out the resolution each photo is actually printed at, from the space it fills, and reduces only those above your target. A 4000 pixel photo shown 6 inches wide is 667 dpi; at a 150 dpi target it becomes 900 pixels wide and looks the same on screen and on an office printer. JPEG quality controls how hard each photo is compressed. Text and drawings are not touched, so they stay sharp and selectable. This mode works on JPEG photos, which is how almost all photographs are stored. Pictures stored in other ways (screenshots and logos saved without JPEG compression, photos with transparency, CMYK print colours or special colour mappings) are left as they are, and the tool says how many.

Flatten pages. Each page is rendered as a single JPEG picture at the resolution you choose, keeping its paper size. This is the right choice for scanned documents, especially in greyscale, but it turns real text into a picture of text that can no longer be selected, searched or read by a screen reader. The tool warns you first when the document has text, and if flattening makes the file larger, which it usually does for text documents, it says so.

Results you can trust. The compressed file is read back after it is made, to confirm every page is there and that pages with text still have it. If a lossless or picture pass cannot make the file any smaller, you get the original back with an explanation, never a bigger file. Restricted PDFs that open without a password are unlocked automatically, and the tool asks when a password is needed.

Frequently asked questions

Which method should I choose?

Start with the suggested one. For documents with text and photos, Smaller pictures saves the most while keeping text sharp. For text-only documents, Lossless is the only method that makes sense. Use Flatten pages for scans, where every page is already a picture.

Will my text still be selectable?

Yes with Lossless and Smaller pictures. Only Flatten pages turns text into pictures, and the tool warns you before you choose it on a document with text.

What resolution should I use for pictures?

150 dpi is a good default for documents read on screen or printed in an office. Use 72 to 96 dpi for the smallest files meant only for screens, and 300 dpi when the PDF is going to a professional printer.

Why did my file not get smaller?

It was probably already compressed well. When a pass cannot make the file smaller, the tool gives you the original back and explains why. If the file is mostly photos, try Smaller pictures with a lower resolution.

Why did Flatten pages make my file bigger?

A page of text is stored as a few kilobytes of instructions, but a picture of that page takes far more. Flattening only saves space on documents that are already pictures, such as scans.

Is there a file size limit?

Files up to 100 MB can be loaded. Because compression runs on your device, very large files take longer and need more memory.

Is my document uploaded?

No. The PDF is analysed and compressed in your browser and never leaves your device.

Related tools and how they differ

  • PDF Image Extractor: Saves the photos inside a PDF as image files, if what you need is the pictures rather than a smaller document.
  • PDF to Images: Saves pages as image files instead of a PDF.
  • PDF Page Remover: Deleting pages you do not need is often the biggest saving of all.

Further reading

  • Reading and Writing PDFs in JavaScript: pdf-lib vs PDF.js13 min read
  • The Complete Guide to Working with PDFs: Edit, Optimize, and Organize14 min read

Private by design

PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.