AI Workflow5 min read·

Mask -> Ask -> Restore: Safely Reviewing Client Contracts & Emails with ChatGPT or Claude

Replacing every name with black blocks ruins an AI prompt because ChatGPT cannot tell who is Buyer, Seller, or Witness. Deterministic pseudonym tokens solve privacy without crippling reasoning.

Why Block Redactions Ruin LLM Reasoning

If you replace both "Vertex BioLabs LLC" and "Northstar Holdings Inc." with "████", an AI model reading an NDA cannot distinguish between Disclosing Party and Receiving Party. Its redline feedback turns generic.

Consistent local pseudonymization assigns each distinct entity a stable indexed token ([ORG_1], [ORG_2], [PERSON_1]) and propagates email-derived names and short company stems automatically so every mention across the entire prompt maps cleanly.

Consistent round-trip pseudonymization
Before
Prompt: Compare liability caps between [ORG_1] and [ORG_2] before [PERSON_1] countersigns.
After
Restored: Compare liability caps between Vertex BioLabs LLC and Horizon Corp. before Dr. Thomas Reed countersigns.

Handling Arithmetic & LLM Formatting Drift

Two practical details determine whether a Mask -> Ask -> Restore workflow holds up under real work:

  • Math-Safe Scaling vs. Tokenizing Money: Keep Currency & Salaries unchecked when you want raw arithmetic untouched, or use Scale (Math-Safe) to multiply all currency amounts by one 2-decimal local factor so AI sums and taxes stay accurate to the cent.
  • Resilient Restoration: LLMs occasionally drop brackets or bold tokens into **PERSON_1** or `email-1`. Longest-first fuzzy matching restores [PERSON_10] separately from [PERSON_1] without partial collisions.
  • Tab Reload & Export Safety: Active token mappings survive accidental page reloads in tab-scoped sessionStorage (with one-click Strict RAM-Only override) and export cleanly as AES-256-GCM passphrase-encrypted .vault files.

Key Takeaways

  • ✓Use indexed pseudonyms ([ORG_1], [PERSON_1]) whenever prompting AI for structured analysis.
  • ✓Prefer math-safe currency scaling over [AMOUNT_1] tokens whenever AI needs to sum or compare prices.
  • ✓Always copy the "Copy with AI instruction" wrapper so the model keeps tokens verbatim.
Run It Locally in Your Browser

Mask prompts locally, keep consistent [PERSON_1] tokens, and restore AI replies in one click.

Try Text & AI Masker →

Related Guides

All guides →