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

Free#18 of 36 in PDF Compression Software

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.

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

At a glance

  • Editor score
    7.5 / 10
  • Pricing
    Open source
  • Best for
    CLI users needing broad PDF automation
  • Paid from
    Free
  • Facts checked
    19 Sep 2026
pdf-cli screenshot
  • 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

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on github.com

pdf-cli fact sheet

Free planNot verified
Paid fromFree
Compression modesNot verified
Maximum file sizeNot verified
Batch compressionYes
Offline desktop appNo
API accessNot verified
Supported platformslinux, macos, windows
DeploymentDesktop
PlatformsLinux, macOS, Windows
PricingOpen source
Websitegithub.com
Facts checked19 Sep 2026

Alternatives to pdf-cli

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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — pdf-cli 7.5/10

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