Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

pdf-cli

github.com

  • Windows
  • macOS
  • Linux
6.7 Club score Visit github.com

What the maker publishes

Audience
The README describes the tool as suitable for scripting, automation, and batch processing, with no GUI required. source
Automation
The CLI supports batch processing, JSON/CSV/TSV output, and stdin/stdout pipelines. source
Automation
It supports batch processing, stdin and stdout pipelines, and JSON, CSV, or TSV output for supported commands. source
Installation
The README recommends installation with Go 1.25 or later and also documents prebuilt releases and building from source. source
Integrations
The README lists pdfcpu, ledongthuc/pdf, gogosseract, progressbar, cobra, and yaml.v3 as project dependencies. source
Integrations
OCR can use native Tesseract or a built-in WASM backend, which downloads language data from the Tesseract tessdata_fast GitHub repository on first use. source
Intended users
The README describes the tool as suitable for automation and batch processing, and says it works without a GUI. source
License
The project is licensed under the MIT License. source
License
The repository states that pdf-cli is licensed under the MIT License. source
OCR
Text extraction supports OCR for scanned PDFs using native Tesseract when installed or a built-in WASM fallback. source
OCR limitation
The built-in WASM OCR backend processes images sequentially, and its first use downloads about 15 MB of language data per language. source
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. source
Password handling
The README recommends interactive prompts, password files, or the PDF_CLI_PASSWORD environment variable; its security policy says passwords are not logged or stored. source
PDF/A limitation
PDF/A validation and conversion are described as basic and do not provide full ISO 19005 compliance; color-profile validation is unsupported. source
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. source
PDF operations
Commands include extracting and reordering pages, rotating files, editing metadata, adding watermarks, and creating PDFs from images. source
PDF operations
Commands include merging, splitting, extracting, reordering, rotating, compressing, encrypting, decrypting, and watermarking PDFs. source
Platforms
Prebuilt binaries are listed for Linux amd64 and arm64, macOS amd64 and arm64, and Windows amd64. source
Purpose
pdf-cli is a command-line tool for everyday PDF operations, including merging, splitting, compressing, encrypting, and manipulating PDFs. source
Purpose
pdf-cli is a command-line tool for common PDF operations, distributed as a single binary. source
Security
The security policy says user-provided files are processed locally and not sent to external services, except for OCR language-data downloads. source
Single binary
The project describes pdf-cli as a fast single binary with no external dependencies and parallel processing for large operations. source
Support
The repository welcomes contributions and directs contributors to its contributing guidelines. source
Supported versions
The security policy lists versions 2.0.x and 1.3.x as supported and versions below 1.3 as unsupported. source

Checked against the maker's pages on 11 Oct 2026.