Claude
💼 Business
Intermediate
PII Purifier
Automatically detect and remove personally identifiable information (PII) from text documents.
The Prompt
Your task is to detect and remove all personally identifiable information (PII) from the provided text, replacing each instance with an appropriate placeholder. PII to detect and remove includes: - Full names → [NAME] - Email addresses → [EMAIL] - Phone numbers → [PHONE] - Physical addresses → [ADDRESS] - Social security / national ID numbers → [ID_NUMBER] - Credit card or bank account numbers → [FINANCIAL_INFO] - Dates of birth → [DOB] - IP addresses → [IP_ADDRESS] - URLs that could identify a person → [URL] - Any other information that could uniquely identify an individual Instructions: 1. Replace each PII instance with the appropriate placeholder in brackets 2. Preserve all non-PII content exactly as written 3. After the redacted text, provide a summary listing: how many instances of each PII type were found and replaced 4. Be thorough — err on the side of over-redacting rather than under-redacting Output the redacted text first, then the summary.
📝 Fill in the blanks
Replace these placeholders with your own content:
[NAME]
[EMAIL]
[PHONE]
[ADDRESS]
[ID_NUMBER]
[FINANCIAL_INFO]
[DOB]
[IP_ADDRESS]
[URL]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into Claude
Open your preferred AI assistant and paste the prompt to get started.