The selected text is replaced with anonymized pseudonyms
Copy and paste into your AI tool
Paste the AI response back, select it, and choose Privatiser: Deanonymize Selection (Ctrl+Shift+D / Cmd+Shift+D)
Prefer to keep your file untouched? Use Copy Anonymized Selection (Ctrl+Shift+J / Cmd+Shift+J) to copy the anonymized version to clipboard without modifying the editor.
Commands
Command
Shortcut
Description
Privatiser: Anonymize Selection
Ctrl+Shift+A / Cmd+Shift+A
Anonymize selected text in place
Privatiser: Copy Anonymized Selection
Ctrl+Shift+J / Cmd+Shift+J
Copy anonymized version to clipboard, file unchanged
Privatiser: Anonymize Entire File
Ctrl+Alt+A / Cmd+Alt+A
Anonymize the entire document
Privatiser: Deanonymize Selection
Ctrl+Shift+D / Cmd+Shift+D
Restore original values in selection
Privatiser: Deanonymize Entire File
Ctrl+Alt+D / Cmd+Alt+D
Restore original values in entire document
How It Works
Privatiser uses regex-based pattern matching to detect sensitive values and replaces them with consistent pseudonyms. The mapping is stored per-file in your workspace so you can deanonymize later.
All processing happens locally in your VS Code instance. No data is sent anywhere.