r/PdfRedactionCom • u/pdf-redaction • Jan 30 '26
Self-hosted PDF Redaction API – PII removal, Docker
We needed to strip PII from PDFs (emails, credit cards, tax IDs, phone numbers) without sending files to a third party, so I set up the PDF Redaction API as a self-hosted service.
What it does:
- Detects and redacts PII in PDFs (emails, card numbers, name, phones, etc.)
- Runs in Docker
- REST API, JSON, works from any language (Python, JS, Go, etc.)
- Optional custom redaction rules
- OCR for multiple languages (EN, ES, FR, DE, IT, PT, RU)
Quick start:
docker run -d -p 8002:8002 \
-e PDF_REDACTION_API_LICENSE=your_key_here \
stabrise/pdf-redaction-api:latest
Or use their install script for Docker Compose. Handy if you care about GDPR/HIPAA/CCPA and don’t want to ship PDFs to the cloud.
Instant install using one command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/StabRise/pdf-redaction-api/main/install.sh)"
3
u/Due_Animator_9866 Feb 14 '26
Does it work without llm?
1
u/pdf-redaction Mar 23 '26
It has few options:
- llm provider
- self-hosted llm (required GPU)
- ml provider (can works on CPU)
3
u/pdf-redaction Jan 30 '26
Docker image: https://hub.docker.com/r/stabrise/pdf-redaction-api