The PDF redaction API takes a PDF, scan or image, finds personal data with AI and OCR (names, addresses, emails, phone numbers, IBANs, card numbers, dates) and returns a flattened PDF with that data permanently removed. Documents are processed on Microsoft Azure in the EU and Switzerland and never used to train AI. Start with one request, no key needed: GET /v1/demo returns a real redacted sample, and POST /v1/demo/redact redacts the first page of your own file.
The redaction API your AI agents can call before a document leaves your company, through the REST API, the MCP server or the hosted connector.
In short
Yes. Redact PDF AI is a hosted REST API for PDF redaction. You POST a PDF or image; the API detects PII with AI, runs OCR on scans, applies the terms you always want redacted or kept, and returns a flattened PDF where the redacted text is gone, not covered. There is no SDK to install and no separate API plan: API and MCP calls draw from the same page balance as the web app, from $0.05 per page on Starter, and the first document (up to 5 pages) is free.
| Question | Hosted API (Redact PDF AI) | PDF SDK you embed | Open-source toolkit |
|---|---|---|---|
| Where it runs | Our servers on Microsoft Azure, EU (Ireland) and Switzerland | In your app, browser or servers | On your own servers (Python package, Docker) |
| How PII is found | AI entity detection per category, plus terms you always redact or keep | Mostly text search, regular expressions and preset patterns; some vendors add AI detection | NLP models and recognizers you configure and tune |
| Scans and photos | OCR built in, no extra setup | Depends on the SDK and the licence | Image redaction needs an OCR engine such as Tesseract |
| What you get back | A flattened PDF: redacted content is removed, pages are rasterized | Redactions applied inside the PDF, as you configure them | Detected spans or redacted images; turning that into a PDF is up to you |
| What you build | One upload call, polling and a download | Viewer integration, detection rules, review screens | The pipeline: PDF parsing, OCR, review and hosting |
| Pricing | Per page, from the same balance as the web app, from $0.05 | A licence, often quoted on request | Free software; you pay for servers and engineering time |
| Best for | Backends and AI agents that need accurate PII removal without building detection | Redaction inside your own viewer, offline or on your own infrastructure | Text pipelines on your own infrastructure, with people to tune the models |
From each vendor's own pages, checked on 21 November 2026. Offers change, so check again before you choose.
# No API key needed — real redaction of a synthetic-PII sample
curl https://www.redact-pdf.ai/v1/demo
# → detected PII categories + a link to the redacted PDFDocs: AI assistants overview · Local MCP server · Account and demo
Docs: Claude connector · Pseudonymize mode
/plugin marketplace add dambuchs/redact-pdf-mcp
/plugin install redact-pdf-ai@redact-pdf-aiDocs: Local MCP server
Docs: PII categories · Idempotency · Retention · Rate limits and quotas · Error handling
curl -X GET \
'https://www.redact-pdf.ai/v1/me' \
-H 'X-API-Key: YOUR_API_KEY'Docs: Authentication
curl -X POST \
'https://www.redact-pdf.ai/v1/jobs' \
-H 'X-API-Key: YOUR_API_KEY' \
-F 'files=@contract.pdf;type=application/pdf' \
-F 'pii_categories=["Person","Email","PhoneNumber"]' \
-F 'pii_included_terms=["Project Titan"]' \
-F 'pii_excluded_terms=["Acme Corp"]' \
-F 'retention=ephemeral'{
"job_id": "b3f2b2e0-6f30-4f3e-8a7b-2f2a20a7d91c",
"status": "analyzing",
"documents": [
{ "id": "7f4f4f85-6b7a-4f88-9a8a-7b9a6a2d2fd0", "status": "uploaded" }
]
}Docs: cURL Quickstart · Node.js Quickstart · Python Quickstart
{
"error": "Insufficient quota",
"code": "quota_exceeded",
"request_id": "req_123"
}| Category | What it targets |
|---|---|
| Person | People names |
| Email addresses | |
| PhoneNumber | Phone numbers (validated patterns) |
| Address | Postal addresses |
| Organization | Company / organization names |
| Date | Dates and date-times |
| IBAN | International bank account numbers |
| CreditCard | Credit card numbers |
| Signature | Handwritten signatures, initials and handwriting (opt-in, never a default) |
curl -X POST "https://www.redact-pdf.ai/v1/jobs" \
-H "X-API-Key: YOUR_API_KEY" \
-F 'files=@contract.pdf;type=application/pdf' \
-F 'mode=pseudonymize'
# when the document is "redacted":
curl -L "https://www.redact-pdf.ai/v1/documents/DOC_ID/correspondence" \
-H "X-API-Key: YOUR_API_KEY" -o correspondence.csvcurl -X GET \
'https://www.redact-pdf.ai/v1/jobs/b3f2b2e0-6f30-4f3e-8a7b-2f2a20a7d91c' \
-H 'X-API-Key: YOUR_API_KEY'curl -L \
-H 'X-API-Key: YOUR_API_KEY' \
'https://www.redact-pdf.ai/v1/documents/7f4f4f85-6b7a-4f88-9a8a-7b9a6a2d2fd0/output' \
-o contract-redacted.pdfcurl -X DELETE \
-H 'X-API-Key: YOUR_API_KEY' \
'https://www.redact-pdf.ai/v1/jobs/b3f2b2e0-6f30-4f3e-8a7b-2f2a20a7d91c'Docs: Jobs API · Documents API · Pseudonymize mode
Yes. Redact PDF AI provides a REST API that redacts PDFs and images programmatically, using the same AI PII detection and OCR pipeline as the web app and returning an irreversible, flattened file.
POST your file to the /v1/jobs endpoint with your API key and chosen PII categories, poll the job until it is done, then download the redacted output. See the curl examples above.
Yes. A single job can include multiple documents, and you can run jobs concurrently for high-volume workloads.
Processing runs on Microsoft Azure in the EU (Ireland) and Switzerland, encrypted in transit and at rest, and documents are never used to train AI models.
Yes. Use "ephemeral" retention so files are deleted right after the job completes; otherwise the default retention applies and you can delete any job via the API.
There is no separate API plan, add-on or per-call fee. API and MCP jobs draw from the same page balance as the web app: $0.05 per page on Starter ($50 for 1,000 pages a month), about $0.04 on Business, or $0.20 per page with a prepaid pack of 50 pages ($10, $5 for your first pack). Your first document, up to 5 pages, is free. Each page is charged once; re-running a document is free.
You don't need one to redact PDFs from your backend. Redact PDF AI is a plain REST API, so any language that can send an HTTP request can call it, with nothing to install or bundle; generate a typed client from the OpenAPI spec if you want one, and use the official MCP server for AI agents. A PDF SDK is the better fit when users redact by hand in your own viewer, when processing must run offline or on your own servers, or when you need control over the PDF output. The API vs SDK section above compares the options.
Yes. Pass mode=pseudonymize and each person, organization, address, email, phone number, date, IBAN and card number becomes a consistent tag such as [Person 1] instead of a black box, identical on every page and written in the document's language. The output is still a flattened PDF, and GET /v1/documents/:doc_id/correspondence returns the tag-to-original table so names can be restored. The MCP server accepts the same mode parameter.
Yes, with no package of ours to install. Send the file to POST /v1/jobs with requests (or httpx) and your key in the X-API-Key header, poll GET /v1/jobs/:job_id until the document is redacted, then download GET /v1/documents/:doc_id/output. The Python quickstart in the docs has the complete script.
Yes. Use the built-in fetch and FormData (Node.js 18 or later) from your server, never from the browser, since the key must stay secret. Generate TypeScript types from the OpenAPI spec if you want typed calls. For AI agents, the redact-pdf-mcp npm package wraps the same API as MCP tools. The Node.js quickstart in the docs shows the full upload, poll and download flow.
Documents are processed on Microsoft Azure in the EU (Ireland) and Switzerland, encrypted in transit and at rest, and never used to train AI; with ephemeral retention the originals are deleted as soon as the job completes. A DPA is available, the Enterprise plan adds SSO/SAML, and you can issue one key per environment. The SOC 2 and ISO 27001 certifications belong to the Microsoft Azure infrastructure; Redact PDF AI does not hold its own.
No. Redact PDF AI is only offered as a hosted service in the EU and Switzerland; there is no on-premise, container or offline version. If documents may not leave your network, choose a PDF SDK or library you deploy yourself (for example Nutrient, Apryse or GroupDocs.Redaction), pdfRest's self-hosted container, or the open-source Presidio project, and plan to configure or build the detection yourself.