PII text filter
Hide personal details in text before sharing it with AI.
PII means personal information: email, phone numbers starting with +, IBAN-shaped account numbers and 11-digit personal ID numbers. Names, addresses and sensitive descriptions are not detected automatically – add them to the “Also hide” box.
Review the result. The filter can miss data and does not guarantee anonymity.
Try an example: the “Load invented example” button fills in sample text for you.
Names and addresses are not detected automatically. Match the capital and lowercase letters exactly. Put each version of a name on a separate line. Limit: 50,000 text characters and 5,000 manual-list characters.Limits and safety
- Avoid shared computers and do not trust sensitive data to browser extensions.
- Remove health information and other sensitive details yourself.
- Do not send the replacement map or a restored reply to AI: they contain the original values.
- Check your external AI provider’s terms and processing location. A local filter does not make that service local.
Restore the original details in an AI reply
Before sharing, review the whole text and the AI service’s data-use terms. If you decide to share it, copy the filtered text into your AI chat. Paste the reply back here if you want to restore the original details.
You can restore the original details only while this page stays open and the original text is unchanged. If you edit the original text or the “Also hide” box, run the filter again. Do not send the restored reply to AI: it contains the original values.
Processing runs in this browser. The app does not send entered text to a server or save it. Loading the page is a normal web request.
Setup, download and limits
The browser demo is simpler and needs no installation. For more settings, install the tool on your own computer and follow the guide.
Setup guideProject storyDownload and attribution
Requires Python 3.10 or newer and a browser. The ZIP includes source, tests and Estonian/English instructions for AI-assisted or manual setup. This is a release candidate, not a one-click installer.
Based on piiguard-simple 1.1.0. The original copyright notice is retained; OEJ modifications use the same MIT licence. Version 1.2.0rc1.
Download source (.zip)SHA-256 checksumWhat did I check in this version?
This describes the downloaded Python tool, not the browser demo. With AI assistance, I installed the extracted ZIP in a clean Linux environment, ran automated tests and exercised browser redaction, restoration, input changes and masked-image export. Custom instructions pass through the same filter, and the assembled prompt is checked again.
Detection is pattern-based. In a deliberately awkward probe set it catches 37 of 53 cases and misses 16. That is not a general accuracy rate. The final check uses similar detection rules, so it can miss the same details.
Filtering is not an anonymity guarantee
Read the entire result before sending it. A description can identify someone without naming them. The tool does not detect every identifier or establish GDPR compliance. A local filter does not make an external AI service local.
Support my AI habit
You chip in. I keep experimenting. The useful bits become guides. The rest make good stories.
The guides stay free. Chipping in is entirely optional.