Complete AI Training

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.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. 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

  1. If any context is missing, ask for it before starting.
  2. Identify all PII fields in the dataset.
  3. Apply appropriate anonymization techniques (e.g., removal, masking, generalization) to each PII field.
  4. Ensure the anonymized data remains useful for the intended analysis.
  5. 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?