Installation
Install anonyma, check the requirements, and find the entry point for each feature.
Quick start
Find personal data, replace it, follow a regulation, clean objects and get values back, in ten minutes.
Detecting personal data
The 27 categories anonyma detects, how to narrow or widen detection, and how to add your own formats.
Anonymization strategies
The eight ways anonyma replaces a value, how to choose one, and where each one applies.
Objects and records
Clean whole JSON trees, apply rules to named fields, and configure an anonymizer once.
Compliance presets
Presets for GDPR, LGPD, PIPEDA, HIPAA, CCPA, PCI DSS, SOX and FERPA, alone or combined.
Reversible tokenization
Replace personal data with tokens, keep the mapping on your side, and put the values back later.
LLMs and AI tools
Send prompts, chat messages, JSON and tool calls to a model with tokens instead of personal data, and restore the answers.
Batches and streams
Process arrays of texts without one failure stopping the rest, and anonymize streams of text.
Span engine
Compile a pipeline once — validating detectors, every strategy, overlap resolution, chunk-safe streams — and reuse it.
Keys and token vaults
Tokens that stay the same across processes, key rotation, erasure of one person's data, and tokens that open with a key alone.
Audit trail and receipts
Record what was anonymized, under which policy, without recording the data — and prove it later.
Regulations and policies
Regulation profiles with citations, policy documents checked against them, and erasure planning.
HTTP middleware
Scrub personal data from API responses and request bodies in Express, Hono and any Fetch handler.
Checksum validators
The check-digit algorithms behind the validating detectors, available on their own.
Plugins
Package detectors, strategies and validators of your own and give them to an anonymizer.
Errors
The error classes anonyma throws, and how to tell them apart.