Forum Discussion
Azraelen
May 24, 2026Brass Contributor
How to compress a pdf file to reduce the size before emailing on Windows?
Hi Microsoft Community, I have a number of PDF files that are very large, ranging from approximately 50 MB to 100 MB each. I'm looking for the best way to compress a PDF file on a Windows PC withou...
Miicah
May 25, 2026Copper Contributor
For those comfortable with command-line tools, pdfsizeopt is a specialized, cross-platform program specifically designed to convert large PDF files into small ones.
Key features:
- Cross-platform — Works on Windows, Linux, and macOS
- Focus on optimization — Developed specifically for reducing PDF file sizes
- Collection of best practices — Uses proven optimization techniques
How to Compress a PDF Using pdfsizeopt (Step by Step)
Step 1: Obtain pdfsizeopt
Step 2: Open a Command Prompt
- You'll need to use the Command Prompt (cmd) or PowerShell since pdfsizeopt is a command-line application. Navigate to the folder containing your PDF file, or ensure pdfsizeopt is in your PATH.
Step 3: Run the Basic Compression Command
- The simplest way to learn how to compress a PDF with pdfsizeopt is to use the basic command structure:
bash
pdfsizeopt input,pdf output.pdf
- For example, if you have a file called thesis.pdf that you want to compress to thesis_optimized.pdf, you would run:
bash
pdfsizeopt thesis,pdf thesis _ optimized,pdf
Step 4: Use Advanced Options for Maximum Compression
Step 5: Batch Process Multiple PDFs