AI Prompt PII Sanitizer
Mask deterministic sensitive details before sharing text with an AI, then restore exact tokens locally.
Keep sensitive details out of an AI prompt
Detection and the temporary token map stay only in this browser tab. Nothing is uploaded or saved after you close it.
Names are never guessed automatically. Add an exact word here when you want it masked.
Sanitized prompt
Your data is processed locally in your browser whenever supported and is not uploaded to our servers.
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.
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 →