- Home
- PDF Compression Software
- HankPDF
On the recordRead 11 Oct 202614 facts
HankPDF
Plans and prices
HankPDF
Free
Apache-2.0 licensed; local command-line tool
Read 11 Oct 2026 · github.com
On the record
- API
- The Python package provides a compress() API as well as the hankpdf console command.github.com · read 11 Oct 2026
- Compression
- The README gives a target of 8–15× typical compression and up to 200× on text-dominant scans, while warning that already-efficient files may not shrink.github.com · read 11 Oct 2026
- Content checks
- Outputs are checked with OCR-text comparison, tile-level SSIM, and a structural audit; the project says it refuses rather than silently corrupting content.github.com · read 11 Oct 2026
- Dependencies
- A Python install requires separate Tesseract and qpdf binaries; jbig2enc is optional but improves text-only compression, and the Docker image includes these native tools.github.com · read 11 Oct 2026
- Installation
- The project is distributed through PyPI and GHCR, or can be installed from its source repository.github.com · read 11 Oct 2026
- License
- HankPDF is licensed under Apache-2.0, and the README states it is cleared for commercial use.github.com · read 11 Oct 2026
- Local processing
- It runs on the user's machine and states that PDFs are never uploaded, with no network, telemetry, or phone-home behavior during normal use.github.com · read 11 Oct 2026
- Maker location
- The maker's GitHub organization profile lists Hank AI, Inc. in the US.github.com · read 11 Oct 2026
- Output options
- The CLI can produce compressed PDFs, split output into chunks for size limits, and export selected pages as JPEG, PNG, or WebP images.github.com · read 11 Oct 2026
- Purpose
- HankPDF compresses scanned PDFs into compact, searchable PDFs, with a focus on medical and legal documents.github.com · read 11 Oct 2026
- Release integrity
- The security policy says Docker images are signed with cosign and carry SLSA provenance and an SPDX SBOM; PyPI publishing uses checksum and GitHub OIDC provenance.github.com · read 11 Oct 2026
- Security
- The security policy says compression does not open network sockets or transmit user data and describes subprocess resource limits for hostile PDF parsing.github.com · read 11 Oct 2026
- Support
- The README directs users who remain stuck to open a GitHub issue and attach the output of hankpdf --version.github.com · read 11 Oct 2026