---
title: "Presidio: Stores Scanned, Detection and Scan Cost"
description: "Presidio on record: a free MIT-licensed Python library with no crawler or store connectors, English-only defaults and a benchmark result, December 4, 2026."
url: https://sensitivedatadiscoverytools.com/tools/presidio/
canonical: https://sensitivedatadiscoverytools.com/tools/presidio/
reviewed: 2026-12-04
last_updated: 2026-12-04
---

# Presidio: free Python library for PII in text you pass in, no data store connectors

Presidio (formerly Microsoft Presidio) is a free MIT-licensed Python library that detects and anonymizes personal data in text, DataFrames or JSON a caller passes in[[1]](https://presidio.dataprivacystack.org/faq/) [[2]](https://presidio.dataprivacystack.org/project_transition/). It has no built-in connector for any kind of data store; the caller reads the store and passes the text in[[3]](https://presidio.dataprivacystack.org/analyzer/). Defaults cover English only[[4]](https://presidio.dataprivacystack.org/analyzer/languages/).

Last reviewed December 4, 2026.

## At a glance

- The latest release, 2.2.366, was published October 27, 2026; the repository was last pushed November 28, 2026 and had 12,193 GitHub stars on December 4, 2026[[5]](https://api.github.com/repositories/132129752/releases/latest) [[6]](https://api.github.com/repositories/132129752).
- The supported entities page lists 99 entity type names, with country-specific recognizers for 18 countries (for Germany, DE_TAX_ID and DE_PASSPORT, among others)[[7]](https://presidio.dataprivacystack.org/supported_entities/).
- On this site's December 4, 2026 benchmark (2 vCPU, no GPU), default Presidio scored F1 0.24 on 1,000 synthetic English finance records and took 69.2 ms a record averaged over all 1,600 records in English, German and French ([benchmark page](/benchmark/)).

## Where Presidio can look

The documentation shows samples that run it over text files on Azure Blob Storage in Databricks notebooks, and over CSV data in Microsoft Fabric with output to a Delta table[[8]](https://presidio.dataprivacystack.org/samples/deployments/spark/) [[9]](https://presidio.dataprivacystack.org/samples/fabric/). The batch-processing sample takes a pandas DataFrame or JSON file and says the same approach fits SQL query results or Spark DataFrames; no database connector ships with it[[10]](https://presidio.dataprivacystack.org/samples/python/batch_processing/). presidio-structured maps DataFrame columns or JSON keys to entities; its future-work list says it does not yet detect sensitive column names, has no PySpark implementation, and its automatic analysis builder does not support JSON objects nested in lists[[11]](https://presidio.dataprivacystack.org/structured/). The image redactor reads text in images with OCR (Tesseract by default) and is marked beta; it also redacts DICOM pixel data but does not scrub personal data in DICOM metadata[[12]](https://presidio.dataprivacystack.org/image-redactor/).

None found in the pages cited for any kind of store: object storage, databases, warehouses, SaaS apps, file shares, endpoints, code repos, logs.

## How it detects sensitive data

The analyzer runs recognizers that use regular expressions, context words, checksums and named entity recognition, with spaCy as the default engine[[3]](https://presidio.dataprivacystack.org/analyzer/) [[7]](https://presidio.dataprivacystack.org/supported_entities/) [[13]](https://presidio.dataprivacystack.org/installation/). Global entities include CREDIT_CARD, CRYPTO, DATE_TIME, EMAIL_ADDRESS, IBAN_CODE, IP_ADDRESS, MAC_ADDRESS, NRP (nationality, religious or political group), LOCATION, PERSON, PHONE_NUMBER, MEDICAL_LICENSE, URL and UUID; US entities include SSN, ITIN, passport, driver license, bank number, NPI and MBI. There is no ORGANIZATION entity[[7]](https://presidio.dataprivacystack.org/supported_entities/). Default recognizers and the default spaCy model cover English only; other languages need a different NLP engine and recognizers[[4]](https://presidio.dataprivacystack.org/analyzer/languages/). Transformers and Stanza engines are optional installs[[13]](https://presidio.dataprivacystack.org/installation/). Users can add custom pattern recognizers and plug in external models such as GLiNER, Flair and Azure AI Language[[3]](https://presidio.dataprivacystack.org/analyzer/) [[14]](https://presidio.dataprivacystack.org/samples/). The project's evaluation page says the vanilla results "aren't very accurate" and says a tuned configuration raised the F score by about 30% on a generated dataset, with no fixed benchmark figure[[15]](https://presidio.dataprivacystack.org/evaluation/). The project's presidio-research package measures precision, recall and F-beta on a user's own labeled data[[15]](https://presidio.dataprivacystack.org/evaluation/). The FAQ says Presidio does not guarantee it finds all sensitive data and that commercial PII services often cover more or score higher[[1]](https://presidio.dataprivacystack.org/faq/).

On the 1,000 English records, precision was 0.17 and recall 0.40. Of 7,846 false positives on those 1,000 English records, 2,601 were dates (precision 0.11), 2,014 were US driver license matches against 21 labeled driver license spans (precision 0.006), 1,258 were LOCATION matches scored as addresses (precision 0.01) and 1,065 were person names (precision 0.47); dates, driver license and passport numbers (236 false, precision 0.13) are numeric strings common in finance text ([benchmark page](/benchmark/)). On 300 German and 300 French records, F1 was 0.32 and 0.22, using the recognizers that do not depend on a language plus spaCy's German and French models, with no German or French country recognizers loaded ([benchmark page](/benchmark/)). Presidio's recall on the 500 records all three detectors ran on was 0 on 620 organization spans and 0.09 on 379 street-address spans, because its LOCATION entity finds cities and countries, not street addresses ([benchmark page](/benchmark/)).

GLiNER ran on 500 of the records (300 English, 100 German, 100 French) because of CPU time. On those 300 English records, GLiNER multi PII scored F1 0.65 (precision 0.52, recall 0.88) and Presidio 0.25 on the same 300. GLiNER reads at most 384 words per call and 88 of those 300 English records are longer, so its recall is a lower bound. GLiNER took 1,179.0 seconds for 500 records in all three languages, about 2.36 seconds per record on CPU ([benchmark page](/benchmark/)).

## What a scan costs

Presidio scans only the text or data the caller passes, so how much to send, and whether to sample, is the caller's choice[[3]](https://presidio.dataprivacystack.org/analyzer/). Compute runs wherever the user runs the package or containers, with optional GPU acceleration on NVIDIA CUDA and Apple Silicon[[16]](https://presidio.dataprivacystack.org/samples/deployments/k8s/) [[13]](https://presidio.dataprivacystack.org/installation/). The software is free under the MIT license, and the documentation publishes no price, support plan or SLA[[1]](https://presidio.dataprivacystack.org/faq/). At 69.2 ms a record, one host handles about 52,000 records an hour (3,600,000 ms divided by 69.2; default spaCy engine, 2 vCPU, no GPU, average over 1,600 records in three languages; [benchmark page](/benchmark/)).

## Finding data stores nobody listed

Presidio documents no discovery step: it does not list accounts, buckets or databases[[1]](https://presidio.dataprivacystack.org/faq/).

## Deployment and where the data goes

The analyzer, anonymizer and image redactor run as a Python package or a dockerized REST API, with images published to ghcr.io/data-privacy-stack[[1]](https://presidio.dataprivacystack.org/faq/) [[13]](https://presidio.dataprivacystack.org/installation/). Text stays on the host running Presidio unless the user turns on the optional Azure Health Data Services or Azure AI Language recognizers, which send it to an Azure endpoint the user configures[[17]](https://presidio.dataprivacystack.org/ahds_integration/). The REST API has no built-in authentication[[1]](https://presidio.dataprivacystack.org/faq/). Deployment samples cover Docker, Kubernetes with Helm (KIND or AKS), Azure App Service, Azure Data Factory, Databricks and Microsoft Fabric[[16]](https://presidio.dataprivacystack.org/samples/deployments/k8s/).

## Output: exports, APIs and integrations

The analyzer returns entity type, score and positions as JSON, and the anonymizer applies replace, mask, redact, hash and encrypt operators[[3]](https://presidio.dataprivacystack.org/analyzer/) [[18]](https://presidio.dataprivacystack.org/anonymizer/). The project's community page lists OpenMetadata column-level PII tagging, maintained outside the project; the documentation names no inventory export, ticketing, SIEM or SOAR integration and no data subject request workflow[[19]](https://presidio.dataprivacystack.org/community/). Microsoft's GenAI gateway architecture and LLM security guidance name Presidio for masking personal data in prompts and logs[[20]](https://learn.microsoft.com/en-us/ai/playbook/solutions/genai-gateway/reference-architectures/apim-based) [[21]](https://learn.microsoft.com/en-us/ai/playbook/technology-guidance/generative-ai/mlops-in-openai/security/security-plan-llm-application).

Compared with: [Presidio vs Google Sensitive Data Protection and Amazon Comprehend](/compare/presidio-vs-managed-detection-apis/).

## Sources

1. [FAQ](https://presidio.dataprivacystack.org/faq/)
2. [Project transition update](https://presidio.dataprivacystack.org/project_transition/)
3. [Presidio Analyzer](https://presidio.dataprivacystack.org/analyzer/)
4. [Multi-language support](https://presidio.dataprivacystack.org/analyzer/languages/)
5. [GitHub API latest release](https://api.github.com/repositories/132129752/releases/latest)
6. [GitHub API repository](https://api.github.com/repositories/132129752)
7. [Supported entities](https://presidio.dataprivacystack.org/supported_entities/)
8. [Spark sample](https://presidio.dataprivacystack.org/samples/deployments/spark/)
9. [Fabric sample](https://presidio.dataprivacystack.org/samples/fabric/)
10. [Batch processing sample](https://presidio.dataprivacystack.org/samples/python/batch_processing/)
11. [Presidio structured](https://presidio.dataprivacystack.org/structured/)
12. [Image Redactor](https://presidio.dataprivacystack.org/image-redactor/)
13. [Presidio Installation](https://presidio.dataprivacystack.org/installation/)
14. [Presidio documentation: samples](https://presidio.dataprivacystack.org/samples/)
15. [PII detection evaluation](https://presidio.dataprivacystack.org/evaluation/)
16. [Kubernetes deployment](https://presidio.dataprivacystack.org/samples/deployments/k8s/)
17. [AHDS integration](https://presidio.dataprivacystack.org/ahds_integration/)
18. [Presidio Anonymizer](https://presidio.dataprivacystack.org/anonymizer/)
19. [Presidio eco-system](https://presidio.dataprivacystack.org/community/)
20. [Microsoft Learn: GenAI gateway reference architecture with API Management](https://learn.microsoft.com/en-us/ai/playbook/solutions/genai-gateway/reference-architectures/apim-based)
21. [Microsoft Learn: security plan for LLM applications](https://learn.microsoft.com/en-us/ai/playbook/technology-guidance/generative-ai/mlops-in-openai/security/security-plan-llm-application)
