Build a reversible token map for anonymization

Create a structured token substitution table and sanitized copy of sensitive documents to enable clean round-trip anonymization.

You getToken Substitution Table, anonymized Text and reversion Verification

Prompt

Prompt
Act as an information security analyst. Create a systematic token replacement map for the text below so it can be safely processed and later restored.

- Identify all direct and indirect identifiers: human names, organizations, locations, dollar figures, and unique software codenames.
- Assign consistent, deterministic surrogate tokens (such as ORG_1, PERSON_A, PRODUCT_X).
- Ensure every occurrence of an entity uses the exact same token throughout.
- Never reveal the original sensitive entity inside the sanitized text block.

Output format:
1. Token Substitution Table (markdown table with columns: Surrogate Token, Entity Type, Original Value)
2. Anonymized Text (complete text rewritten using only the surrogate tokens)
3. Reversion Verification (one-sentence confirmation that all tokens match one-to-one)

Original text:

Example output

Example for: client consulting intake notes

  1. Token Substitution Table
Surrogate TokenEntity TypeOriginal Value
ORG_1OrganizationHorizon Financial Group
PERSON_APersonDavid Chen
VENDOR_1SupplierApex Cloud Solutions
SYSTEM_ALPHAInternal SystemProject Aegis
VALUE_1Financial Figure$1,450,000
  1. Anonymized Text
    PERSON_A reported that ORG_1 completed their initial review of VENDOR_1. The implementation of SYSTEM_ALPHA is currently delayed due to an unresolved license dispute totaling VALUE_1. PERSON_A requested immediate mediation options before the quarterly vendor meeting.
  2. Reversion Verification
    All surrogate tokens uniquely map back to a single original entity, allowing full 1:1 text reconstruction.
Written by AI from this prompt. Your results will vary.

The model receives the original text, so paste only material your data policy allows that tool to see. Keep the substitution table on your own machine and use it to restore names in the final reply yourself. Works in ChatGPT, Claude and Gemini.

Make it repeatable

Keep using this prompt without pasting it in every time.

Keep exploring

More in AI Tools & Prompt Engineering