P2Shield
A privacy firewall that cleans your prompt before any AI sees it
- 28kinds of sensitive data detected
- 30+API key and token formats
- 4privacy profiles, all editable
- 0network requests from the extension
- 11weekly downloads of the
p2shieldnpm package
People paste names, Aadhaar numbers, cards, API keys, and medical details into AI chatbots every day, and once sent, that data sits on someone else's server. P2Shield puts a shield on any AI chat box. One click finds the sensitive data, rewrites the prompt in place according to a privacy policy, and you press Send as usual. Everything runs on your own device: names become tokens, IDs are redacted, numbers are masked or generalized, and secrets such as API keys and passwords are always removed. A 0 to 100 risk score shows how exposed the prompt was before and after, and Undo restores your original text.
Screenshots
See it in use.




What it does
Everything P2Shield does.
One job, done properly. Here is each part of it.
One click, safe prompt
A shield sits on any AI chat box. Click it and the prompt is rewritten in place before you press Send.
28 kinds of sensitive data
Names, Aadhaar, PAN, cards, IBAN, passports, medical IDs, API keys and more, found with checksums to keep false alarms low.
Policy-driven profiles
Personal, Healthcare, Finance and Enterprise / Developer profiles decide whether each type is masked, tokenized, redacted, generalized or kept.
Secrets are always removed
Passwords, API keys, tokens and private keys are removed in every profile, and no custom profile can change that.
Measured risk score
A 0 to 100 score before and after shows how much exposure the cleaning removed, from Low to Critical.
Reversible and reviewable
Undo restores your original text, and a details panel lets you keep any item that the AI actually needs.
Pricing & licensing
Simple, fair pricing.
The extension is free. A pay-as-you-go API is planned for developers; it is not available yet.
Free
- One-click shield on ChatGPT, Claude, Gemini, Copilot, Perplexity, DeepSeek, Grok, Mistral and more
- 28 data types, including Aadhaar, PAN, UPI, SSN, IBAN, cards and 30+ API token formats
- Four privacy profiles — Personal, Healthcare, Finance and Enterprise / Developer — with editable rules
- Secrets are always removed, in every profile
- Risk score from 0 to 100, before and after
- Undo, plus a review panel to keep individual items
- Playground for text and .txt, .md, .csv, .json and .log files
- Optional Smart mode using Chrome's on-device model
- The same engine as a free, MIT-licensed npm package (p2shield) for your own code
- No account, no servers, no analytics
API (planned)
- Planned: the same 28 detectors, profiles and secret removal as the extension
- Planned: a hosted endpoint for apps that cannot run the npm package themselves
- Intended pricing: billed only on measured scans, with no seats, minimum or subscription
- Planned: a free allowance of scans to try it before you pay
- Planned: a usage dashboard and spend cap
- The free extension stays free and on-device, whatever happens here
On the roadmap. Not available yet, and the price may change before launch.
Transparency
Permissions & data practices
Every permission requested by P2Shield is documented here with its exact technical reason.
- Data collected: None. Your text and the values P2Shield detects are never stored. The local audit log keeps only metadata (time, site, mode, profile, counts by type, and risk) and stays on your device, where you can clear it at any time.
- Data sent off device: No
- Data shared with third parties: No
Questions
Frequently asked questions
Release history
What's changed
- Initial beta, released as source on GitHub
- One-click shield for AI chat boxes, with Undo and a details panel
- 28 data types with checksum validation, plus structured-field detection
- Four privacy profiles with editable rules, import and export
- Risk score before and after
- Optional Smart mode using Chrome's on-device model
- Settings app with playground, per-site controls and a metadata-only audit log
The official home of P2Shield
P2Shield is built and supported by Rohit Tiger, a one-founder software business. Pricing, documentation and support live here.