Description
PasteGuard is an open-source, self-hosted privacy layer that masks personal and sensitive data before it reaches AI services such as ChatGPT, Claude, AI APIs or coding agents like Codex and Claude Code. When you type or paste text, it replaces names, emails, phone numbers, API keys, passwords, tokens and similar values with placeholders like [[PERSON_1]] or [[EMAIL_1]]. The model still understands the task without seeing the real values, and where supported PasteGuard puts the originals back into the response. It covers browser chat through an extension (in beta), your own apps and API calls, and coding agents. A dashboard lists requests with the detected data types and scan times. It runs on your own infrastructure with no telemetry, aimed at teams whose policies forbid sending raw customer data to AI providers.…
Highlights
- Masks names, emails, secrets and customer data
- Placeholders sent to AI, originals restored where supported
- Browser extension for ChatGPT and Claude (beta)
- Proxy for apps, APIs and coding agents
- Request log with detected data types
- Self-hosted with no telemetry
Ratings & Reviews
No ratings yet
Be the first to rate PasteGuard.
People also visit
PasteGuard FAQ
How does PasteGuard work?
You use ChatGPT, Claude, your app or a coding agent as usual. PasteGuard replaces private data with placeholders before the request is sent, the model answers, and where supported the original values are restored in the response.
What kinds of data does it detect?
Names, emails, phone numbers, API keys, passwords, JWTs and other secrets or customer data.
Does it send data to PasteGuard servers?
No. You run it yourself and it collects no telemetry.
Which tools can it protect?
Browser chat (via an extension, in beta), apps and APIs, and coding agents such as Codex and Claude Code.
Is it open source?
Yes. The source is on GitHub at sgasser/pasteguard.
What are the best PasteGuard alternatives?
Popular alternatives to PasteGuard include Promptmask, Nightfall AI and Maskgate. See all PasteGuard alternatives
.png)





