AI Prompt PII Sanitizer
Mask deterministic sensitive details before sharing text with an AI, then restore exact tokens locally.
Data handling
Storage and export controls
- Retention
- The tool's working state is kept only while this page is open. Inputs and results are not saved to persistent storage by Got A Tool.
- Export
- The tool may prepare a result after you run it. It downloads or copies it only when you choose that action.
Advertising and analytics are separate site services. We do not send selected tool input to them. Read the Privacy Policy for details.
How it works
Mask exact sensitive values before you paste a prompt.
The tool detects emails, Turkish mobile numbers, checksum-valid Turkish identity numbers and IBANs, Luhn-valid payment cards, and common API-key formats. Repeated exact values receive the same token.
Are names detected automatically?
No. Names are not deterministic enough to guess safely. Add an exact name or project term in the optional manual field if you want it masked.
Can I restore an AI response?
Yes, while this tab remains open. Only an exact, case-sensitive token such as [EMAIL_1] is restored. Changed placeholders are left alone for you to review.
Are invalid TCKN or IBAN values masked?
The automatic TCKN and TR IBAN checks require their real checksum rules. Add an exact value manually when you need to mask something that does not pass those checks.
Is my prompt uploaded or stored?
No. Processing and the temporary token map stay in this tab's memory. Closing or refreshing the tab clears the map.
Practical guide
Read the AI sharing preparation guide
Decide which details belong in a shareable copy, avoid asking a tool to guess, and inspect the result before you paste it elsewhere.
Open the guide →Keep working
Related tools
File Hash Generator
Calculate SHA-256, SHA-384, or SHA-512 checksums for files locally and compare an expected hash.
Open tool →Text Diff Checker
Compare two texts and spot added, removed, and edited lines with word or character highlights. Your text stays in your browser.
Open tool →Text Case Converter
Convert text to uppercase, lowercase, title, sentence, camel, Pascal, snake, kebab, or constant case.
Open tool →