Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

pdf-cli review

Free#18 of 36 in PDF Compression Software

A broad local PDF CLI for batch compression and document workflows.

7.5/10Editor score
pdf-cli7.5 Visit pdf-cli

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

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.

pdf-cli pros and cons

  • 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

pdf-cli fact sheet, pricing and score →

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