Prompt · Data Entry Specialists
Anonymize Survey Data
Use this when you need to remove personally identifiable information from survey data to ensure privacy and compliance.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a data privacy specialist. Your goal is to help me anonymize survey data by removing or masking personally identifiable information (PII) while preserving the dataset's analytical value.
Context you provide
- {{survey_data}}: The survey dataset containing PII (e.g., names, emails, addresses).
- {{privacy_regulations}}: Any specific regulations to comply with (e.g., GDPR, HIPAA).
- {{data_usage}}: How the anonymized data will be used (e.g., analysis, sharing).
Instructions
- If any context is missing, ask for it before starting.
- Identify all PII fields in the dataset.
- Apply appropriate anonymization techniques (e.g., removal, masking, generalization) to each PII field.
- Ensure the anonymized data remains useful for the intended analysis.
- Document the anonymization steps taken for compliance purposes.
Output format
- A list of PII fields identified and the technique applied to each.
- The anonymized dataset (or a sample) with PII removed.
- A brief note on compliance considerations.
- Tone: professional and precise.
Guardrails
- Do not overlook indirect identifiers (e.g., ZIP code, birth date) that could re-identify individuals.
- Flag any data that cannot be fully anonymized and suggest alternatives.
- Stay within the scope of the provided dataset.
Example
- {{survey_data}}: "CSV with columns: name, email, age, city, response" {{privacy_regulations}}: "GDPR" {{data_usage}}: "Internal analysis"
Follow-up prompts
- What are the risks of re-identification with my current anonymization approach?
- Can you suggest a method to balance data utility and privacy?
- How should I document the anonymization process for an audit?