redact-pdf-cli
v0.0.1
Published
Redact PDFs from the command line: AI detection of personal data, OCR, permanent removal of text and metadata (early preview)
Maintainers
Readme
redact-pdf
Redact PDFs from the command line: AI detection of personal data, OCR for scanned pages, permanent removal of text and metadata. macOS, Linux and Windows.
Status: early preview (0.0.x). The CLI is in development. Until the first release, use the web app at https://pdf-redaction.com or the REST API.
Install
| Channel | Command |
|---|---|
| npm | npx redact-pdf-cli / npm i -g redact-pdf-cli (alias: npx pdf-redaction) |
| PyPI | pipx install redact-pdf-cli / uv tool install redact-pdf-cli |
| crates.io | cargo install redact-pdf |
| Snap | snap install redact-pdf (coming soon; names redact-pdf and pdf-redaction reserved) |
| Homebrew | brew install stabrise/tap/redact-pdf (coming soon) |
All channels install the same redact-pdf command.
Planned usage
redact-pdf input.pdf -o output.pdf # detect personal data and redact it
redact-pdf *.pdf --out-dir redacted/ # batch
redact-pdf input.pdf --entities person,email,ssn # choose what to remove
redact-pdf detect input.pdf --json # report only
redact-pdf check redacted.pdf # does the file still leak text or metadata?
redact-pdf strip-metadata input.pdf
redact-pdf input.pdf --local # nothing leaves your machineRepository layout
npm/ npm package "redact-pdf"
python/ PyPI package "redact-pdf-cli"
rust/ crates.io package "redact-pdf"Links
- Web app: https://pdf-redaction.com
- Docs: https://pdf-redaction.com/docs/
- Desktop app: https://pdf-redaction.com/download/
Made by StabRise.
