← Back to blog

How to Compress a PDF on Windows Without Uploading It

Compress PDF files locally on Windows 11, compare verified before-and-after sizes, and handle optimized, encrypted, or signed documents safely.

By LocalFlux Editorial Team

Documents Guide
LocalFlux showing three locally compressed PDFs with measured file-size results.
On this page
  1. The short version
  2. What PDF compression actually changes
  3. The privacy-safe files used for this test
  4. Step 1: Add the PDFs
  5. Step 2: Choose Compress and review the destination
  6. Step 3: Start with the Balanced preset
  7. Step 4: Run the batch locally
  8. Step 5: Read the results, including zero savings
  9. Step 6: Check the compressed copies
  10. What happens with encrypted or signed PDFs?
  11. Does compressing a PDF remove metadata?
  12. How this guide was verified
  13. When local PDF compression is the right choice
  14. FAQ

A PDF can be too large for an email attachment, a document portal, or a shared folder even when its pages look ordinary. The quickest-looking fix is often an online compressor, but uploading a contract, report, form, or internal handout to another service may be unnecessary.

LocalFlux can compress a PDF directly on Windows 11. You select files from local storage, choose a compression preset, and create new PDF copies without a file-upload step. The originals remain in place, and the app reports the measured result for each file.

LocalFlux showing three completed PDF compression jobs and their measured savings.

Interface screenshots were refreshed in October 2026 using a build reconstructed from the documented LocalFlux 1.0.10.0 release source. Historical measurements and downloads below retain their original test scope. Capture records: 1 · 2

October 2026 recheck: all 30 new outputs retain the historical sizes and page rendering. The combined result is still 508,746 bytes, and each already-optimized output is byte-identical to its source. However, both five-page source handouts already overlap their footers and contain text outside the page; compression preserves those defects. These are size-test fixtures, not examples of publication-ready layout. The lookbook has a cover plus three image pages (four total), despite saying “three-page” on its cover. The 82% quality control is an encoder setting, not a measurement of retained visual fidelity; KB/MB displays use binary units. 2026-10

In this tested three-file batch, LocalFlux reduced the combined size from 3,517,643 bytes to 508,746 bytes. One deliberately pre-optimized PDF stayed byte-for-byte identical. These are fixture results, not a promise that every PDF will shrink by the same amount.

Short answer: add your PDFs, keep Compress selected, start with Balanced, run the batch, and inspect the new _compressed.pdf files before sharing them.

Keep the originals: compression can reorganize PDF structures and, depending on the preset and source, re-encode embedded images. Treat the compressed file as a delivery copy rather than your only master.

The short version

  1. Open LocalFlux on Windows 11.
  2. Add one or more PDF files.
  3. Select Compress at the bottom of the window.
  4. Open Options and start with Balanced (recommended).
  5. Select Compress 3 files. The button count follows the queue.
  6. Review the measured savings and open the new files.
  7. Check every page, especially photographs, scans, diagrams, small text, forms, and links.
  8. Keep the original PDFs until the delivery copies have passed review.

Get LocalFlux from the Microsoft Store, or review LocalFlux privacy and local-processing information before starting.

What PDF compression actually changes

A PDF is a container. It can hold text, fonts, vector artwork, photographs, scans, transparency, form fields, annotations, attachments, and other document structures. Two PDFs with the same number of pages can therefore respond very differently to compression.

Compression may save space by reorganizing objects, compressing compatible streams, removing redundant structure, or re-encoding eligible images. A text-heavy file with inefficient internal structure can shrink substantially without changing its visible page dimensions. A scan or photo-heavy file may depend more on image optimization. A PDF that was already optimized may not become smaller at all.

That leads to three practical rules:

Compression is also different from sanitization. A smaller PDF is not automatically stripped of author fields, comments, attachments, form values, or other sensitive content. If disclosure risk matters, review those elements separately. You can also check the currently documented LocalFlux formats and routes before planning a larger workflow.

The privacy-safe files used for this test

This walkthrough uses three self-authored fixtures in C:\tmp\LocalFluxPdfCompressionBlog:

The files contain no names, email addresses, customer records, account identifiers, or personal Windows profile paths. They are published with this guide so you can inspect both sides of the comparison yourself.

Three self-authored PDF fixtures used for the local compression test.

The fixture set covers text structure, embedded images, and the important case where a PDF has no additional savings available.

Download the reproducible PDF set

FixtureOriginalVerified LocalFlux output
Text-heavy handoutDownload the 29,266-byte input PDFDownload the 4,742-byte compressed PDF
Image-rich lookbookDownload the 3,483,636-byte input PDFDownload the 499,263-byte compressed PDF
Already optimized handoutDownload the 4,741-byte input PDFDownload the byte-identical output PDF

These are synthetic editorial fixtures, not customer documents. The encrypted and signature-detector boundary fixtures are intentionally not published.

Step 1: Add the PDFs

Open LocalFlux and add the PDF files you want to compress. You can use Add files, the Windows file picker, drag and drop, or a supported Explorer entry point. For a batch, check that the queue contains only the intended documents before continuing.

LocalFlux shows the selected file names, source folder, individual sizes, and a batch estimate. In this example, all visible paths use the neutral C:\tmp working folder.

Three PDF files queued in LocalFlux with Compress selected.

Three PDFs are queued. Open Options to review the preset and destination.

By default, the output is written beside the source with _compressed added to the file name. For example, report.pdf becomes report_compressed.pdf. That separate-file behavior makes comparison easier and avoids silently replacing the original.

Step 2: Choose Compress and review the destination

Keep Compress selected at the bottom of the window. The destination shown in the selection details should be the folder where you expect to find the result. If the source folder is read-only or not appropriate for delivery copies, choose a different output location before starting.

For confidential work, a local workflow removes the need to transmit the source PDF to a web compressor. It does not replace ordinary endpoint controls: use an appropriate Windows account, protect the drive, and remove temporary copies when your retention policy requires it.

Step 3: Start with the Balanced preset

Open Options to review the presets in the refreshed interface: Best quality · Balanced (recommended) · Smallest · Custom. The separate strategy tab is labeled Lossless.

LocalFlux — Balanced (recommended)

Balanced is selected for this walkthrough. In the tested build it kept the original page dimensions and used a visual quality setting of 82% for eligible image optimization.

Use the presets as starting points:

ChoicePractical starting point
Best qualityWhen visual fidelity matters more than maximum reduction
BalancedGeneral sharing, email, portals, and document delivery
SmallestWhen a strict upload or attachment limit matters and you can accept more aggressive image compression
CustomWhen you need to tune the visual-quality trade-off yourself
LosslessWhen you want structural optimization without lossy image re-encoding

Only Balanced was measured for this article. Do not assume that Smallest will remain acceptable for scanned signatures, fine diagrams, screenshots, or small labels. Test those pages at normal viewing size and at a useful zoom.

Step 4: Run the batch locally

Select Compress 3 files. LocalFlux processes each source and writes a new output. You can continue to use the computer while a larger document runs, but avoid moving or renaming the source files until the batch finishes.

The completion view reports the combined result and the outcome for each file. If a PDF can be reduced, you see the source size, output size, and percentage saved. If rewriting would not make it smaller, LocalFlux keeps an exact copy as the output and labels the item Already optimized.

Step 5: Read the results, including zero savings

Here are the exact results from the tested batch:

FixturePagesSourceOutputReduction
Text-heavy handout529,266 bytes4,742 bytes83.8%
Image-rich lookbook43,483,636 bytes499,263 bytes85.7%
Already optimized handout54,741 bytes4,741 bytes0.0%
Combined143,517,643 bytes508,746 bytes85.5%

The large reductions are intentional stress-test results. The text fixture was created with inefficient streams, while the lookbook embeds large PNG assets so image optimization has meaningful work to do. A typical office PDF may save much less.

The already-optimized result is just as useful: its output SHA-256 hash matched the input hash exactly. LocalFlux did not replace a 4,741-byte source with a larger rewritten file simply to claim that compression had occurred.

Before-and-after page previews with exact byte measurements for the three test PDFs.

The 28 historical input/output pages retain counts of 5, 4 and 5. Footer overlap and off-page text already exist in the two source handouts and remain after compression; the image pages retain their layout.

Step 6: Check the compressed copies

Do not stop at the green completion message. Open each output and check:

For this editorial test, every source and output page was rendered at 2x resolution and visually inspected. A qpdf integrity check also completed without syntax or stream-encoding errors for all three outputs. The source hashes were recorded before and after the run and did not change.

What happens with encrypted or signed PDFs?

Rewriting a protected PDF can conflict with its security or trust model. The tested build fails closed for two important cases:

LocalFlux rejecting an encrypted PDF and explaining how to proceed.

The new encrypted and synthetic signature-marker cases also produce no PDF. The marker checks refusal behavior; it is not a valid certificate-backed signature or a signature-validation test.

If a signed document is too large, return to the unsigned source, create an appropriately compressed delivery copy, review it, and then apply the required signature through your approved process. Do not compress the signed artifact and present it as if the original signature still applied.

Does compressing a PDF remove metadata?

No such assumption is safe. PDF compression is intended to reduce file size, not to guarantee removal of document properties or hidden content. Before sharing a sensitive file, separately review:

Visual black boxes are not reliable redaction. Use a purpose-built redaction workflow, then verify the exported document.

How this guide was verified

The measurements come from LocalFlux 1.0.8.0 on a local Windows 11 x64 host using the Balanced preset. The test covered 14 source pages and 14 output pages. Every page was rendered and visually inspected; each output passed qpdf integrity checks; page counts and dimensions were preserved; and source-file SHA-256 hashes remained unchanged.

The encrypted fixture and a synthetic signature-detector fixture both failed closed and created no output. This is editorial reproduction evidence from one host, not broad release qualification, an ARM64 test, a print proof, an accessibility-tree audit, or a promise of universal savings.

You can inspect the complete publication package:

When local PDF compression is the right choice

Local compression is a strong fit when the document may contain internal, contractual, financial, educational, or personal information and there is no business reason to upload it to a third-party web tool. It is also useful when the network is slow, unavailable, or restricted.

An online service can still be appropriate when your organization has approved it, its data-handling terms meet your requirements, and you need a feature that is not available locally. The important distinction is control: know where the file is processed, what is retained, and who is permitted to access it.

For everyday Windows work, the safer habit is simple: keep the master, create a local delivery copy, measure the result, and inspect it before sending.

For sensitive PDFs, confirm who can access the working and output folders and whether they sync elsewhere. Avoiding a conversion upload does not remove visible content or secure the endpoint. The security guide helps distinguish those responsibilities.

FAQ

Can every PDF be made smaller?

No. A PDF may already use efficient object streams and compressed images. LocalFlux can return an exact-copy output when a rewrite would be larger.

Does Balanced change the paper size or page count?

It did not in this test. All three outputs kept their original page counts and page dimensions. Eligible embedded images may still be re-encoded, so visual review remains necessary.

Will the original PDF be overwritten?

Not in the tested default workflow. LocalFlux wrote a separate _compressed.pdf file beside each source, and the recorded source hashes were unchanged.

Can I compress a password-protected PDF?

The tested build rejected the encrypted fixture. Remove protection only from a document you are authorized to modify, then compress the authorized working copy.

Is a compressed PDF safe to publish?

Smaller does not mean sanitized. Review content, metadata, comments, forms, attachments, redactions, accessibility, and visual quality according to your publishing requirements.

Ready to create a smaller delivery copy without a browser upload? Get LocalFlux from the Microsoft Store and start with Balanced on a duplicate or well-preserved source.

Technical references

The format guidance above is checked against these independent specifications and platform references.