Skip to main content

What is Blindfold?

Open source PII SDKs for AI applications. Protect sensitive data before sending to OpenAI, Anthropic Claude, Google Gemini, or any LLM. Install the SDK, detect and tokenize PII locally — no API key, no signup, no network calls. Free forever. Need NLP-powered detection (names, addresses, organizations), compliance policies, or audit logs? Upgrade to the Cloud API.

Free Local Mode

86 regex entity types, all 8 operations, zero network calls — your data never leaves your infrastructure

Cloud API (optional)

60+ NLP entity types, custom entities, compliance policies, audit logs — pay only for what you use

Reversible

Tokenize PII before sending to AI, restore original data after

Compliant

Meet GDPR, HIPAA, PCI DSS, and EU AI Act requirements

How It Works

1

Send text with PII

Your application sends user data to Blindfold
2

Get protected text

PII is replaced with tokens like <person_1>, <email_1>
3

Send to AI safely

Protected text goes to OpenAI, Anthropic Claude, Google Gemini, or any LLM without exposing PII
4

Restore original (optional)

Convert AI response back to original data

Privacy Methods

Tokenization

Reversible tokens for AI processing

Masking

Show last 4 digits (e.g., ***3456)

Redaction

Permanent removal

Hashing

Consistent IDs for analytics

Synthesis

Fake data for testing

Encryption

AES-256 encryption

Works With

OpenAI

GPT-4o, GPT-4, o1

Anthropic Claude

Sonnet, Opus, Haiku

Google Gemini

Gemini 2.5 Flash, Pro

LangChain

Official integration

LlamaIndex

Node postprocessor

Vercel AI SDK

generateText, streamText

AWS Bedrock

All Bedrock models

Any LLM

Provider-agnostic SDK

What Can Blindfold Protect?

60+ Entity Types

Names, emails, SSNs, credit cards, medical records, passports, and more

15+ Languages

English, Spanish, German, French, Italian, and 10+ more

Custom Entities

Define your own using natural language descriptions

Policy-Based

Pre-configured for GDPR, HIPAA, PCI DSS compliance

Start in 5 Minutes (Free)

Install the SDK and start detecting PII immediately — no signup, no API key, free forever.

Python

pip install blindfold-sdk

JavaScript

npm install @blindfold/sdk

Java

dev.blindfold:blindfold-sdk

Go

go get github.com/blindfold-dev/Blindfold/packages/go-sdk

.NET

dotnet add package Blindfold.Sdk

REST API

curl https://api.blindfold.dev

5-Minute Quickstart

Try local mode instantly or set up the Cloud API in under 5 minutes

AI Chatbots

Tokenize PII before OpenAI, Anthropic Claude, or Google Gemini processes user messages

RAG Pipelines

Redact PII at ingestion, tokenize at query time — PII never reaches your vector DB or LLM

AI Agents

Protect sensitive data in multi-step agent workflows (CrewAI, LangChain agents, custom)

Compliance

Meet GDPR, HIPAA, PCI DSS, and EU AI Act requirements with built-in policies

Documentation

Python SDK

Complete guide with async support

JavaScript SDK

Node.js and browser support

Java SDK

Sync and async clients, Maven/Gradle

Go SDK

Zero dependencies, context-aware

.NET SDK

async/await, net6.0/net8.0

REST API

Use with any programming language

Supported Entities

60+ entity types detected

Languages

15+ supported languages

Examples

Real-world code examples

Need Help?

Get Support

Questions? Contact us at hello@blindfold.dev