redact

Redact Sensitive Data

Mask PII in JSON before sharing with AI, support, or teammates

  • Preserves JSON keys and nesting
  • Masks common PII and sensitive values
  • Safe for AI prompts, support tickets, and screenshots

Paste JSON with sensitive data — instantly preview a redacted version locally in your browser.

Why this package exists

Common problems

  • JSON payloads often contain emails, phone numbers, IDs, tokens, or other sensitive values that should not be pasted into AI tools, support tickets, screenshots, or shared logs.
  • Deleting fields entirely changes the payload shape, making debugging and downstream reproduction harder.
  • Manual find-and-replace is inconsistent and easy to miss across nested JSON structures.
  • Teams need a repeatable masking configuration they can reuse across similar payloads.

When to use

Use this before sharing JSON with AI prompts, support teams, teammates, screenshots, demos, logs, debugging tools, or external vendors where raw PII or secrets would be unsafe.

Expected outcome

The same JSON structure with sensitive values replaced by masked equivalents. Keys, nesting, non-sensitive values, and overall payload shape remain intact.

Automatically detects

  • Emails
  • Phone numbers
  • Credit cards
  • SSNs
  • API keys
  • IP addresses

What the wizard asks

1 step

Each step shows your input, the question, and a preview of the output.

  1. 1

    Which sensitive values should be masked?

    Choose the sensitive value patterns to mask and how much of each value should remain visible.