Skip to main content
PasteGuard

AIgetsthecontext.Notyourprivatedata.

PasteGuard masks names, emails, secrets, and customer data before they reach ChatGPT, Claude, AI APIs, or coding agents.

Providers see placeholders, not originals
AI Input·What the model receives

Please help me respond to the support ticket from

Name
Email
Key

regarding the 401 authentication error they reported.

Try it!

How it works

You keep the originals. AI providers receive placeholders.

1

You type or paste

Use ChatGPT, Claude, your own app, Codex, or Claude Code normally.

2

PasteGuard hides it

Names, emails, API keys, and other private data become [[PERSON_1]], [[EMAIL_1]], etc.

3

AI responds

The model still understands the task. It does not need the original values.

4

You see originals

Where supported, PasteGuard restores the originals in the response.

PasteGuard
Live
Requests6total
Masked100%6 of 6
Scan Time97ms avg
Rate6/hour
TimeModelLangPII DetectedSecrets
16:21:19gpt-5.2ENPERSONEMAILAPI_KEY
Masked prompt

Please help me respond to the support ticket from [[PERSON_1]] at [[EMAIL_1]] regarding the [[API_KEY_1]] authentication error.

16:19:06gpt-5.2ITEMAILPERSONPASSWORD
16:18:55gpt-5.2ESEMAILPERSONPHONE
16:18:45gpt-5.2FREMAILPERSONJWT

Protect every way your team uses AI

One privacy layer for Browser Chat, Apps & APIs, and Coding Agents.

Browser Chat

Beta

Use ChatGPT, Claude, and Gemini for real work without pasting raw names, emails, or confidential details into the provider.

ChatGPTClaudeGemini

Browser extension

Experimental builds for ChatGPT, Claude, and Gemini.

Install browser extensionWorks before text reaches the AI provider.
Preview
PasteGuardAuto + Manual
Auto-masking active
12
Today
847
Total
email5
person4
phone3
Kto mask selected text
DocsGitHub
v1.0.0

Apps & APIs

Put PasteGuard in front of your app or SDK so private data is masked before OpenAI, Anthropic, or another provider sees it.

Your appSDKsOpenAI APIAnthropic APIHTTP APIs
Your appor SDK
PasteGuard
[[EMAIL_1]]sarah@acme.com
OpenAI, Anthropic, ...

Coding Agents

Use Codex, Claude Code, Cursor, or other coding agents without sending API keys, passwords, or connection strings from your project.

CodexClaude CodeCursorWindsurf
.env.local
PROJECT
src
config
.env.local
package.json
1# Database
2DATABASE_URL=postgres://localhost:5432/app
3
4# API Keys
5OPENAI_API_KEY=[[API_KEY_SK_1]]masked
6ANTHROPIC_API_KEY=[[API_KEY_SK_2]]masked
7
8# AWS Credentials
9AWS_ACCESS_KEY_ID=[[API_KEY_AWS_1]]masked
10AWS_REGION=us-east-1
PasteGuard Active
3 secrets maskedENVUTF-8

For teams that cannot send raw data to AI

PasteGuard is for teams that cannot paste raw customer data, client files, or secrets into ChatGPT, Claude, or model APIs.

Run it yourself

Use it locally or self-host it in your own environment.

No telemetry

Open-source, auditable, and built without tracking.

Fits stricter AI policies

Useful for GDPR, DORA, client confidentiality, and internal AI policies.

Compliance boundary

PasteGuard helps reduce what reaches AI providers. Your legal and security controls still decide compliance.

Protected automatically

Detects over 30 types of private data and secrets in any language.

NamesEmailsPhone numbersCredit cardsIBANsEU VAT numbersIP addressesLocationsAPI keysSSH keysJWT tokensPasswordsConnection stringsPrivate keysBearer tokens

Quick start

Get up and running in under a minute.

Install with Docker

Recommended
$docker run --rm -p 3000:3000 ghcr.io/sgasser/pasteguard:latest

Then open localhost:3000

OpenAI Compatible

Apps, SDKs, agents

http://localhost:3000/openai/v1

Set as OPENAI_BASE_URL

Anthropic

Claude, Claude Code

http://localhost:3000/anthropic

Set as ANTHROPIC_BASE_URL

BetaBrowser extension for ChatGPT, Claude & Gemini
Install browser extension

Open source & self-hosted

Fully self-hosted, auditable, and telemetry-free under the Apache 2.0 license.

Star on GitHub