Redact · Mask · Remove
Remove what you don’t need.
Replace sensitive values with typed placeholders, mask them with optional partial visibility, or remove them from the text.
Explore transformations ↗Find personal data and credentials locally. Create redacted copies without returning matched values to the agent.
Get started with Claude Code
uv tool install datafog-mcp
Choose your allowed folders, then connect Claude Code. Follow the setup guide ↗
Build directly with DataFog Core. Detect sensitive information in text and structured records, then choose how to protect it before passing it to a model, a log, or another system.
SDKs for Rust, Python, Node.js, and browsers.
DataFog Core · Latest release ↗python -m pip install datafog-core
No separate service to deploy. Installation guide ↗
Different workflows need different protections. Select the information to transform, apply rules by entity type, and exempt approved values.
Redact · Mask · Remove
Replace sensitive values with typed placeholders, mask them with optional partial visibility, or remove them from the text.
Explore transformations ↗Pseudonymize
Use keyed pseudonymization when repeated values need consistent replacements. Your application supplies the key provider.
Understand pseudonymization ↗Tokenize · Restore
Use provider-backed tokenization for reversible replacements. Your provider owns storage and authorization; Core checks the request scope.
See tokenization and restoration ↗Redaction, masking, and removal work across all SDKs. Pseudonymization and tokenization use application-supplied providers in Rust, Python, and Node.js.
Scan for findings, transform selected values, or combine both in one operation. The same Core defines the privacy behavior across SDKs.
Installation guide ↗Already using the datafog Python package? Core has a separate package and API. Follow the migration guide.
# pip install datafog-core
from datafog_core import scan_and_transform
result = scan_and_transform(
"Contact ada@example.invalid",
{"transform": {"default": {"strategy": "redact"}}},
)
print(result.text)
# Contact [EMAIL]
Check sensitive information before it enters an agent workflow, becomes a shared dataset, or leaves your environment.
Agent workflows
Scan and redact inputs before they reach your agent. Apply the same checks to tool calls and trace payloads before they are sent or stored.
Data preparation
Create protected copies of text and structured records for analysis, testing, or downstream processing. Remove sensitive values before sharing data with teammates or third parties.
Outbound protection
Scan outgoing payloads before an API request, upload, or export. Transform detected PII or use the findings to stop the transfer in your application.
We’re working toward consistent detection and transformation across SDKs, agents, and gateways. Core provides the shared engine. Integrations connect it to workflows and decide when to allow, warn, block, or transform.
Available in Core today
Next direction
Read the Core 0.3.0 release notes ↗ · Follow the Core roadmap ↗
Performance varies by workload. See the 0.3.0 benchmark methodology and results.
Start with a scan, choose a transformation, and connect DataFog to your workflow.
Have a workflow in mind? Talk to us about protecting sensitive data in your application.
Email hi@datafog.ai ↗