Tech riderRev. 19 Sept 2026
- 1Runs onLinux, Mac, Windows
- 2CostsNot stated by the maker
- 3Batch compressionYes
- 4Offline desktop appNo
- 5Supported platformsLinux, Mac, Windows
4 lines stated Written from the maker's own pages: github.com

Overview
pdf-cli is ranked #17 of 37 in PDF compression software on Specifiction. It runs on Linux, macOS, Windows.
Compared on PDF compression software
- Batch compression
- Yesgithub.com
- Offline desktop app
- Nogithub.com
- Supported platforms
- Linux, macOS, Windowsgithub.com
Facts
- Purpose
- pdf-cli is a command-line tool for everyday PDF operations, including merging, splitting, compressing, encrypting, and manipulating PDFs.github.com · 4 Oct 2026
- Single binary
- The project describes pdf-cli as a fast single binary with no external dependencies and parallel processing for large operations.github.com · 4 Oct 2026
- PDF operations
- Commands include extracting and reordering pages, rotating files, editing metadata, adding watermarks, and creating PDFs from images.github.com · 4 Oct 2026
- OCR
- Text extraction supports OCR for scanned PDFs using native Tesseract when installed or a built-in WASM fallback.github.com · 4 Oct 2026
- Automation
- The CLI supports batch processing, JSON/CSV/TSV output, and stdin/stdout pipelines.github.com · 4 Oct 2026
- Password handling
- Encrypted PDFs can be handled with an interactive prompt, a password file, or the PDF_CLI_PASSWORD environment variable; the --password flag requires an insecure-use opt-in.github.com · 4 Oct 2026
- Platforms
- Prebuilt binaries are listed for Linux amd64 and arm64, macOS amd64 and arm64, and Windows amd64.github.com · 4 Oct 2026
- Installation
- The README recommends installation with Go 1.25 or later and also documents prebuilt releases and building from source.github.com · 4 Oct 2026
- Integrations
- The README lists pdfcpu, ledongthuc/pdf, gogosseract, progressbar, cobra, and yaml.v3 as project dependencies.github.com · 4 Oct 2026
- PDF/A limits
- The project says its PDF/A validation and optimization are basic and do not provide full ISO 19005 compliance; color-profile validation is unsupported.github.com · 4 Oct 2026
- License
- The project is licensed under the MIT License.github.com · 4 Oct 2026
- Intended users
- The README describes the tool as suitable for automation and batch processing, and says it works without a GUI.github.com · 4 Oct 2026
Best pdf-cli alternatives
See all 20 All accessCh 01 Xodo Compress PDF Free planFree trialAndroid from $7.99/mo8.2 All accessCh 02 PDF Candy Free planAndroidiOS from $0.33/mo8.0 All accessCh 03 PDF2Go Free planAndroidBrowser Free to start7.9 All accessCh 04 PDF24 Compare PDF Free planAndroidiOS Free to start7.8 All accessCh 05 Smallpdf Free planAndroidiOS from $10/mo7.6 All accessCh 06 PDFOptim Free planiOSMac from $4.99/mo7.5
Where it ranks on Specifiction
Is pdf-cli yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/lgbarn/pdf-cli· checked 4 Oct 2026




