Skip to main content
PasteGuard

AI gets the context. Not your secrets.

Automatically hides names, emails, and API keys before you send prompts to AI.

Your data never leaves your machine
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

See how your data gets protected before reaching ChatGPT, Claude, or any AI.

1

You type or paste

Paste text with names, emails, API keys—whatever you need help with.

2

PasteGuard hides it

Your private data becomes [[PERSON_1]], [[EMAIL_1]], etc. before the AI sees it.

3

AI responds

The AI responds normally—it doesn't need your real data to help you.

4

You see originals

The response shows your real data again—automatically restored.

PasteGuard
Live
Requests 6 total
Masked 100% 6 of 6
Scan Time 97 ms avg
Rate 6 /hour
Time Model Lang PII Detected Secrets
16:21:19 gpt-5.2 EN PERSONEMAIL API_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:06 gpt-5.2 IT EMAILPERSON PASSWORD
16:18:55 gpt-5.2 ES EMAILPERSONPHONE
16:18:45 gpt-5.2 FR EMAILPERSON JWT

Works everywhere

One tool for ChatGPT, Cursor, Open WebUI, and your own apps.

Chat

Coming Soon

A browser extension that lets you chat about work emails, customer data, or personal matters without exposing real names, emails, or confidential details to AI providers.

ChatGPT Claude Gemini

Join the waitlist

Get notified when the browser extension launches.

Notify me One email when it's ready. No spam.
Preview
PasteGuard Auto + Manual
Auto-masking active
12
Today
847
Total
email 5
person 4
phone 3
K to mask selected text
Docs GitHub
v1.0.0

Apps

Use Open WebUI, LibreChat, or other AI apps without worrying about sensitive data leaving your machine.

Open WebUI LibreChat
Open WebUI or LibreChat
PasteGuard
[[EMAIL_1]] sarah@acme.com
OpenAI, Anthropic, ...

Coding Tools

Get AI help with your codebase without accidentally leaking API keys, passwords, or connection strings from your config files.

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

API Integration

Build AI-powered apps that handle user data responsibly—protect customer information before it reaches third-party APIs.

OpenAI API Anthropic API Custom Apps
Your App
PasteGuard
[[EMAIL_1]] sarah@acme.com
OpenAI, Anthropic, ...

Protected automatically

Detects over 30 types of sensitive data across 24 languages.

Names Emails Phone numbers Credit cards IBANs IP addresses Locations API keys SSH keys JWT tokens Passwords Connection strings Private keys Bearer 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:en

Then open localhost:3000

OpenAI Compatible

Cursor, Open WebUI, etc.

http://localhost:3000/openai/v1

Set as OPENAI_BASE_URL

Anthropic

Claude, Claude Code, etc.

http://localhost:3000/anthropic

Set as ANTHROPIC_BASE_URL

Soon Browser extension for ChatGPT, Claude & Gemini
Join waitlist

Open source & self-hosted

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

Star on GitHub