pdf-cli
pdf-cli: A broad local PDF CLI for batch compression and document workflows. Ranked #18 of 36 in PDF Compression Software by our editors (7.5/10); pricing: Open source; best for CLI users needing broad PDF automation.
At a glance
- Editor score7.5 / 10
- PricingOpen source
- Best forCLI users needing broad PDF automation
- Paid fromFree
- Facts checked19 Sep 2026

Where it wins
- Batch compression supports stdin and stdout pipelines
- Covers merging, splitting, OCR, encryption, and PDF/A workflows
- Runs on Linux, macOS, and Windows as a single binary
Where it doesn't
- No graphical desktop application
- Compression controls are not detailed
- Workflow is CLI-based rather than programmatic
Our verdict on pdf-cli
pdf-cli is an open-source, single-binary command-line tool for working with PDF files locally. It is designed for users who need repeatable PDF automation across Linux, macOS, and Windows, particularly when compression is one part of a larger document pipeline. Alongside PDF compression, it supports batch processing, stdin and stdout, page extraction and reordering, rotation, metadata management, encryption, watermarking, image conversion, text extraction, optional OCR, and PDF/A validation or conversion.
Its strongest fit is shell-based document processing. Batch compression and stdin/stdout support allow PDF operations to be incorporated into command-line workflows, while JSON, CSV, and TSV output can structure results for supported commands. Shell completion for Bash, Zsh, Fish, and PowerShell also supports users working across different command-line environments. The wider feature set makes pdf-cli more than a narrowly focused compressor: it can combine, transform, inspect, secure, and extract content from PDF files in the same local tool.
The trade-off is that pdf-cli is a command-line utility, not an offline graphical desktop application. Its compression workflow is broad, but the published feature description does not detail named compression modes or granular compression controls. Users who want a visual interface, guided file handling, or a dedicated programmatic API should choose another product. For technical users who prefer local processing and need compression alongside PDF manipulation, OCR, encryption, structured output, and PDF/A workflows, pdf-cli is a practical open-source option.
Your product? Our editors can test pdf-cli in depth and publish a review, labelled as paid · from $149/mo →
pdf-cli pricing
pdf-cli fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Compression modes | Not verified |
| Maximum file size | Not verified |
| Batch compression | Yes |
| Offline desktop app | No |
| API access | Not verified |
| Supported platforms | linux, macos, windows |
| Deployment | Desktop |
| Platforms | Linux, macOS, Windows |
| Pricing | Open source |
| Website | github.com |
| Facts checked | 19 Sep 2026 |
Alternatives to pdf-cli
- BentoPDF Hyper CompressA flexible compression engine with private processing and developer-focused interfaces.9.3
- iText pdfOptimizerA developer-focused PDF optimizer with detailed controls, automation, and flexible licensing.9.1
- PDFOptimA flexible PDF compressor with previews, batch processing, and cross-platform coverage.9.0
See all pdf-cli alternatives →
Used pdf-cli? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used pdf-cli for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
pdf-cli is listed in our PDF Compression Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/pdf-cli/"><img src="https://www.itechguides.com/best/badge/pdf-cli.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


