Skip to content
YardMaths PDF

Compress a PDF without uploading it

Shrink the pictures inside your PDF and see the real size before and after.

Drop PDF files here

or drag them here, or paste them.

Privacy: your files are opened and processed by your browser, on this device. They are never uploaded to YardMaths or anyone else, and they are gone when you close the tab.

How to compress a PDF

  1. Choose one or more PDF files, or drop them on the box. Each card tells you how many pages the file has and how much of its size is images.
  2. Pick a compression level. Balanced is a good start; Lossless only rewrites the file; Strong squeezes the pictures harder.
  3. Press Compress PDF. Your device redraws the images and rewrites the file, and a progress bar shows where it is.
  4. Read the result line: it shows the size before and after, and the percentage saved. If the file could not get smaller, you are told and your original comes back unchanged.
  5. Download the new PDF (or a ZIP when you compressed several files). Open it and check a few pages before you send it.

Why this tool runs in your browser

A compressor that runs on a server has to receive your whole PDF first. With contracts, tax returns, medical letters or scanned IDs, that is exactly the step many people want to avoid. Here the compression code travels to your browser, and the file is read from your own disk, rewritten in memory and handed back as a download.

It also means the answer is honest. The page measures the file it made, shows both sizes, and refuses to give you something larger than what you started with. There is no daily quota to burn and no file-size cap set by us; the only limit is the memory of your device.

What each compression level does

LevelWhat happens to the imagesText stays selectableTypical use
LosslessNot touched. Unused objects are removed and the file structure is packed.YesFiles that must look exactly the same
BalancedRedrawn with at most 1,800 pixels on the long side, stored as JPEG at good quality.YesEmail attachments, scans, photo reports
StrongRedrawn with at most 1,200 pixels on the long side, stored as JPEG at lower quality.YesUpload limits that Balanced does not meet
MaximumEvery page becomes one picture of about 110 dpi.NoLast resort for stubborn files

Only plain gray and color pictures are redrawn. Masks, transparency maps, black-and-white scan images and other special image types are left exactly as they are, so nothing is damaged to win a few kilobytes.

Why some PDFs barely shrink

  • A PDF made of typed text and vector drawings has almost no images, so there is little to redraw. The card shows how many bytes are images before you start.
  • Images that were already exported at low quality cannot be squeezed again without visible damage, so the tool keeps them as they are.
  • Scans from a copier are often stored as black-and-white images in a special format. These are already very small and are not changed.
  • When two compressions in a row are needed, start again from the original file instead of compressing the small copy a second time.

Limits to know before you start

  • The result depends on what is inside the file. Images shrink; typed text, fonts and drawings do not, so a text-only PDF may come back unchanged.
  • Lossy levels (Balanced, Strong, Maximum) cannot be undone. Images are redrawn at a lower resolution and fine detail is lost. Keep your original.
  • Maximum turns every page into a picture. Selectable text, search, links, form fields and bookmarks are lost.
  • Maximum draws the pages with the same engine that makes the previews, and the browser pauses that work while the tab is hidden. Keep the tab in front until the file is ready.
  • Password-protected PDFs are refused. Remove the password first, with the password you already know; this tool never guesses or breaks one.
  • Digital signatures stop being valid because the file has changed.
  • Very large files (several hundred megabytes) can be more than a phone or an older computer can hold in memory. Try a computer, or cut the file into parts first.

Compress PDF FAQ

How much smaller will my PDF get after compressing?

It depends on what is inside. A scan or a report full of photos often loses more than half of its size at Balanced. A PDF of typed text with no pictures may not shrink at all. The cards show how many bytes are images before you start.

Will my PDF look blurry after compression?

At Lossless, no: nothing visible changes. At Balanced and Strong, pictures are redrawn at a lower resolution, which is hardly noticeable on a screen but can soften small print in scans. Zoom in on a few pages before you send the file.

Why did the tool give me back my original file?

Because the new version was not smaller. Tools that always return a file can hand you something bigger. This one compares both sizes, keeps the smaller one and tells you, so you never send a heavier file by accident.

Does the Maximum level delete the text from my PDF?

It does not erase it on purpose, but every page is redrawn as a picture, so the words can no longer be selected, searched or copied. Use it only when a size limit leaves no other choice, and keep the original.

Can I compress several PDFs in one go?

Yes. Add as many files as your device can hold; each one is compressed on its own with the level you chose. If you added more than one, you download a single ZIP with all the results, and the line under the button gives the total before and after.

Last updated . Free to use, no sign-up.