Skip to how it works
PII Guard
PII Guard

Mask before the model. Restore after.

Privacy-first LLM gateway — mask PII in ChatGPT & Claude (Chrome/Firefox), or in Documents, Chat, and Data in the app. Only tokens reach the model; unmask the reply. Free account: sync, OpenAI-compatible proxy, and TypeScript SDK.

How it works

Try it live — no signup

Mask PII, then paste a model reply to restore — share an anonymized risk report (never includes real values).

3/3 free runs left today

Community activity

Metered Check PII and Send uses across Chat, Documents, Data, demo, API proxy, and browser extension (not pageviews).

Visitors who tried

5

Feature uses

177

By surface

  • Browser extension142
    Browser extension: 142
  • Chat13
    Chat: 13
  • Homepage demo10
    Homepage demo: 10
  • Data6
    Data: 6
  • Documents6
    Documents: 6

How it works

Same mask → send → unmask pipeline on the web app and browser extension. ROS Policy masks and restores; audit stores entity types only, never PII values.

  1. 01

    Step 1

    Draft with PII

    Type in ChatGPT/Claude, write in Documents, chat in the app, or paste JSON/CSV/YAML — names, phones, emails, CCCD, and Vietnamese identifiers.

  2. 02

    Step 2

    Review & mask

    Check PII highlights in place (web) or confirm before send (extension). Dismiss false positives, force-mask a selection, or import a noun dictionary.

  3. 03

    Step 3

    Send masked

    Only masked text reaches the model. Web: OpenAI, Claude, Grok, Gemini, LiteLLM, or stub. Extension: replace in the composer, then you click Send.

  4. 04

    Step 4

    Unmask the reply

    Restore original values in the answer. Toggle Show masked to see exactly what the model saw — on the web and in the extension dock.

Extension for ChatGPT & Claude

MV3 on Chrome and Firefox. On Send, the extension masks PII (and workspace dictionary terms), replaces the composer — you send the masked draft. Dock Unmask restores the reply; Show masked peeks at tokens again. Needs a pg_… key from Account.

Create a free API key
  • Replace, then send

    Confirm Masked | Original → replace in the box; the next Send goes through — we never auto-submit for you.

  • Button-only Unmask

    Replies keep {Token} until you click Unmask; Show masked lets you peek at what the model saw.

  • Workspace dictionary

    Sync CSV/nouns from Account; same {DictMask_n} tokens as on the web.

Install: load unpacked from the Chrome/Firefox pack in the repo (see each extension’s INSTALL.md).

Product highlights

  • Chrome & Firefox extension

    Protect ChatGPT and Claude.ai in-page — composer-anchored dock, mask before Send, Unmask & Show masked on replies.

  • Dictionary & workspace sync

    CSV/TXT → {DictMask_n} on web and extension; sign in to sync dictionary, chats, and documents across devices.

  • API proxy & SDK

    Create pg_… keys on Account; call /api/v1/chat/completions (streaming SSE) or npm i @royalsolution/pii-guard as an OpenAI drop-in.

  • Metering & risk reports

    500 prompts/month for guests; 3 homepage demo checks/day; anonymized PDPD-style report after Check PII; usage on Account.

Ready to try it?

Try Mask/Unmask on the homepage — or create a free account for an extension/proxy key, sync, and usage on Account.