Compress pdf
Compress pdf means shrinking a PDF you already have so it takes less space, still on your machine. Install Stirling PDF from the command on the home page, open it, pick Compress, add the file, and save the smaller copy. This site does not host your files.
winget
winget install StirlingTools.StirlingPDF Copy The job is one file in, a smaller copy out. A phone scan that will not attach. A packet you already combined. A deck exported as PDF that is heavier than the slides looked on screen. Compress pdf is that shrink. Merge pdf is the work if you still have several files and need one. Split pdf is the work if you need pages out as their own files.
Why compress pdf on this machine
A website compress takes the PDF, shrinks it on their side, then hands you a download. That is fine for a public menu. It is a bad fit for a tax packet, a contract with addresses, or a scan of IDs. Compress pdf on this machine means Stirling PDF runs on Windows as a desktop app, or in Docker and you open http://localhost:8080. The file does not have to leave the PC you already use.
Stirling PDF is the toolbox we point people to. We did not write it. The installer and the release assets sit on GitHub Releases, opened in a new tab. We do not keep a copy of the installer here, and we do not take your PDF. Softonic, CNET, and random wrappers of the name are the wrong place to fetch it.
iLovePDF can sit number 1 for people who want a tab. That is a website toolkit. Their web compress sends the file through their service. Stirling PDF vs iLovePDF is the comparison if you want that difference in one place. This page stays on compress pdf.
Install so compress pdf actually runs
Paste this into Windows Terminal or Command Prompt:
winget install StirlingTools.StirlingPDF Copy Winget ships with App Installer on current Windows. If the command fails because winget is unknown, get App Installer from Microsoft, then run the line again. Stay on Microsoft for that piece. If you want a file you click, open GitHub Releases and take the installer that matches this PC. The Windows walkthrough is PDF editor download. The winget walkthrough is How to install winget.
Docker is the other install path. Copy the compose file on PDF editor Docker, run it, then open http://localhost:8080. Login is on by default on that compose. The Compress tool in that tab is the same job as the desktop app. Pick one install and stick with it so you know which folder holds the smaller copy.
How to compress pdf on the desktop
- Install Stirling PDF with the command on this page, or the installer from GitHub Releases.
- Open the app on this Windows machine. Desktop does not need the Docker login.
- Open the Compress tool. Stirling PDF is a toolbox with 55+ tools, including merge, split, compress, sign, and convert. Compress is the one that shrinks a file you already have. Do not start in Merge or Split for this job.
- Add the PDF. One input. You are not combining files here.
- Run Compress. Save the smaller copy into a folder you control. Open it once. Check that pages still read before you delete the original.
If Compress refuses a file, that file may be damaged, password locked, or not actually a PDF. Unlock or repair is a different tool in the same app. This page does not walk those. Get a readable PDF, then compress pdf again.
How to compress pdf in Docker on localhost:8080
- Run the official compose from the Docker page on this site.
- Open http://localhost:8080 on the same machine. Do not point this at a public URL unless you meant to host it.
- Sign in if the compose still has login on. Then open the Compress tool.
- Add the PDF from disk. Same one-file job as the desktop path.
- Run Compress. Save the result on this machine. The tab is a UI. The smaller copy lives on your disk when you take it back out of that local app.
localhost:8080 is your instance, not a website we run. If the tab stays blank, the container is not up. Fix compose first. Do not park the same scan on a random compress site while you wait on Docker.
Size, quality, and what compress pdf does not do
Compress pdf tries to make the same pages occupy fewer bytes. It does not drop pages. Page count stays. A 12 page scan is still 12 pages after a successful run. If you needed fewer pages, that is split pdf. If you needed several files glued, that is merge pdf, and you can compress the result after.
Photos inside a PDF are usually where the weight sits. Phone scans, photographed receipts, full-page color. Text-only PDFs with no images often barely move. That is normal. The tool cannot invent a smaller alphabet. Keep the original until you have opened the output at the size you care about: a zoomed page, a signature, a small table.
Name the output on purpose. document-compressed.pdf next to document.pdf is fine if you still know which is which. compressed.pdf in Downloads next to last week's compressed.pdf is how people attach the heavy one by accident. Use a name that matches the job: 2026-return-small.pdf, lease-for-email.pdf.
Forms and signatures: compress pdf keeps pages. Heavy recompression can soften a photographed signature or a small stamp. Open the result. If a line is muddy, keep the original for filing and send the smaller copy only where the reader can live with it. Flattened scans often shrink more than live forms. Check before you file.
Compress pdf will not turn a 40 page packet into a 3 page summary. It will not OCR a photo of text into a tiny selectable file unless you use a different tool in the same app for that. The job on this page is shrink the PDF you already have. If the portal still wants fewer pages, split the packet. If the portal still wants one file and it is already one file, compress is the right tool and the portal's cap is theirs.
When the smaller copy barely moves
Some PDFs are already tight. A text brief exported from a word processor, an invoice that is mostly vectors, a file someone else already compressed. Run Compress, compare the two sizes, and stop if the gain is noise. Deleting the original for a few kilobytes is a bad trade if you later need the sharper scan.
If the file is huge because it is many pages, compress pdf still runs on the whole document. You can split first, compress the heavy chapter, then merge again. That is three tools in Stirling PDF, used in a row. Do not wait for a combined "compress then merge" product. The tools already sit in the app. Save each step under a name you can read: chapter-3-small.pdf, then packet-final.pdf.
Email and portals reject large attachments. We do not print their caps, because those caps change and they are not ours. Compress pdf is still the job: make a smaller copy on this machine, then attach that copy. If the portal still refuses it, split the packet and send parts, or ask the recipient for a folder share. The install did its job.
Color photos at phone resolution are the usual reason a "short" PDF is 40 MB. Look at a page. If you see a photo of a page instead of real text, you are looking at pixels. Compress can reduce those pixels. It cannot turn the photo into a 12 KB text invoice. If you need selectable text, that is OCR in another tool, then maybe compress after. Stay honest about which problem you have.
Local vs upload, for this job only
A website is faster to try. No install. You drop the PDF and wait. The bill is that the file crosses their network, sits in their job queue, and comes back through a download link. Account walls and plan caps show up when the scan is fat. Compress pdf here means you already installed Stirling PDF. The limit is this PC. If the machine can open the PDF, Compress can have a go. We do not publish a megabyte ceiling because there is not one on our side.
iLovePDF plan caps change on their site. We will not guess a number and print it. Stirling PDF uses the RAM and disk you already paid for. If the job crawls, the scan is huge or something else is eating CPU. Close the extra windows. Leave the original in place. Run Compress again. Same job, same tool.
PDF editor or Bento is a different comparison: an install versus a toolkit that stays in a browser tab. Bento is not the compress walkthrough. If you already know you want the file to stay on the PC, stay on this page and run Compress in Stirling PDF.
How do I compress pdf without a website?
Install Stirling PDF from the command on this page, or from GitHub Releases. Open Compress. Add the file you already have. Save the smaller copy on this machine. Docker is the same job at http://localhost:8080. This site does not host your files.
What is the winget command for compress pdf?
The command is winget install StirlingTools.StirlingPDF. Copy it from the box on this page. That installs the app. Compress is a tool inside the app, not a second installer.
Can I compress pdf in Docker?
Yes. Run compose from the Docker page, open http://localhost:8080, open Compress, add the PDF, save the smaller copy. Login is on by default on that compose. Desktop skips that login.
Does compress pdf remove pages?
No. Page count stays. The job is a smaller file with the same pages. If you need pages out as their own files, use split pdf. If you need several files as one, use merge pdf first.
Should I delete the original after compress pdf?
Not until you have opened the smaller copy and checked the pages you care about. Keep the original on disk until the email goes through, or the portal accepts the file, or you are sure the signature still reads.
Did you make this compress pdf tool?
No. Stirling PDF is the project we point to. Official files live on GitHub Releases. This site only points at that page. Skip Softonic, CNET, and unofficial wrappers.
Related jobs: merge pdf, split pdf, Stirling PDF vs iLovePDF, PDF editor or Bento. File host: GitHub Releases. Install button on the home page.