Microsoft PresidioComparisons

Microsoft Presidio alternative for documents

Looking for a Microsoft Presidio alternative? Presidio is a flexible open-source framework you host and configure yourself. Diskretio is a ready-made service for whole documents – via web app or REST API.

anonymize.shresponse.json

# Anonymize a file, report as JSON

$ curl -X POST "$API/v1/files?response=json" \

-H "x-api-key: $ANON_KEY" \

-F "file=@Employment_Contract_Smith.pdf" \

-F 'options={"strategy":"placeholder","language":"en"}'

HTTP/1.1 200 OK · x-pages-charged: 3 · x-pages-remaining: 1757

{

"filename": "anonymized.pdf",

"pages": 3,

"report": {

"counts": {

"PERSON": 6,

"ORG": 2,

"ADDRESS": 3,

"IBAN": 1,

"TAX_ID": 1,

"NATIONAL_ID": 1,

"EMAIL": 1

},

"entities": [{ "id": "PERSON_1", "label": "PERSON", "occurrences": 4 }, …],

"warnings": []

},

"content_base64": "JVBERi0xLjcKJeLjz9MKMSAwIG9iago8PC9UeXBl…"

}

# page 1 of the output

Between [ORG_1] and [PERSON_1], [ADDRESS_1] …

Your formats and the AI tools you work with afterwards

  • Word
  • Excel
  • PowerPoint
  • Outlook (emails)
  • PDF
  • Scans & photos
  • TXT Text & CSV
  • ChatGPT
  • Claude
  • Microsoft Copilot
  • Gemini
  • Mistral
  • DeepL
  • Perplexity

What a Presidio project for documents needs

  • An NLP model per language, configured as supported language
  • Translated context words for recognizers
  • Custom recognizers for local IDs, if needed
  • Your own code to read PDF, Word or Excel and rebuild the file
  • Hosting, scaling, monitoring and updates
  • Testing with real sample documents

How it works

  1. 1

    Get an API key

    From the Pro plan you get access to the Diskretio REST API.

  2. 2

    Send document or text

    Send DOCX, XLSX, PPTX, PDF, images or text; German and English are detected.

  3. 3

    Receive the anonymized file

    Get the file in its original format with placeholders, fake data or redaction.

Side-by-side comparison. Diskretio vs. Microsoft Presidio

Criterion DiskretioMicrosoft Presidio Microsoft Presidio
Licence / costSubscription, 10 pages/month freeOpen source (MIT), your hosting costs
OperationHosted in the EUSelf-hosted (pip, Docker, Kubernetes)
GermanGerman and English out of the boxEnglish by default, German via configuration
File formatsDOCX, XLSX, PPTX, PDF, scans, images, textText, images (beta), structured data; no native PDF/DOCX
OperatorsPlaceholders, fake data, redactionreplace, redact, mask, hash, encrypt and more
ReversibleNo, irreversible by designPossible via encrypt/decrypt
On-premisesNoYes

Our verdict

Presidio is the better choice for self-hosted pipelines in your own data centre, custom recognizers or reversible pseudonymization – if you have a team to run it. Diskretio pays off when you want whole documents in German or English anonymized without engineering effort and returned in their original format.

How to anonymize with Presidio

Presidio consists of the Analyzer, which finds PII in text, and the Anonymizer, which transforms it with operators such as replace, redact, mask, hash or encrypt (reversible via decrypt). Install via pip or Docker, run the analyzer over text and pass the results to the anonymizer. An Image Redactor and a structured-data module complement it. Per its docs, Presidio is now a community-owned project under Data Privacy Stack, MIT-licensed.

Where Presidio reaches its limits

By default Presidio ships recognizers and models for English; other languages need configuration. Native PDF or DOCX handling is not documented, so text extraction and file reconstruction are up to you, and the Image Redactor is labelled beta. Presidio itself states there is no guarantee it finds all sensitive information – true of any automated method, Diskretio included.

FAQ

Questions. Answered briefly.

Try it with your own document

10 pages per month are free. No subscription, no credit card.