Webhook PII Scrubber

Paste a raw webhook body, API response or log excerpt and redact personal data before you send it to ChatGPT, a debugging tool or a colleague. Emails, phone numbers, card numbers, tokens and more are replaced with readable placeholders.

Runs 100% in your browser. Nothing is uploaded. View Source JS on GitHub
Raw payload or log (input)
Scrubbed output

Why scrub webhook payloads before sharing them

Automation work is full of raw payloads. A Stripe event, a form submission, a CRM update or a support ticket arrives as JSON, and when something breaks the fastest way to get help is to paste that JSON into a chat window, a bug report or an AI assistant. The problem is that webhook bodies are packed with personal data: customer emails, phone numbers, shipping addresses, IP addresses, session tokens and sometimes payment details. Pasting them into a third-party service is a data transfer, and depending on where your customers live it can fall under GDPR, CCPA or similar privacy laws.

Sending real customer data to a large language model is a particularly easy mistake to make. The prompt feels like a private conversation, yet the text may be logged, retained or reviewed according to the provider's terms. Scrubbing the payload first lets you keep the structure that matters for debugging while removing the values that identify a person. This tool does that locally, in seconds, without sending the original text anywhere.

What the scrubber detects

Numbered placeholders keep your debugging intact

By default the same original value always receives the same placeholder inside one run. If jane@example.com appears in five places, all five become [EMAIL_1]. That matters when you ask someone, or an AI model, to trace a problem: they can still see that the customer in the order object is the same customer in the invoice object, without learning who the customer is. Turn the option off if you prefer plain labels such as [EMAIL]. The mapping lives only in memory on your page and disappears when you close the tab, so there is no way to reverse the redaction later. Keep your original payload if you need it.

How to use it

  1. Copy the payload from your automation tool's execution log, from your webhook inspector or from the server log. Plain JSON, URL-encoded forms, CSV snippets and multi-line log files all work, because detection is based on the text itself.
  2. Paste it into the input box and review which categories are selected. If you are debugging a payment problem you may want to keep IP addresses, for example; if you are sending the text to an AI model, leave everything on.
  3. Press Scrub PII. The output box shows the cleaned text and the counters show what was found in each category.
  4. Read the result. Look for names in free-text fields, internal URLs with customer slugs, company names and anything else specific to your business.
  5. Copy or download the scrubbed text and share it.

Not sure what to expect? Press Load Sample Data to fill the input with an invented order webhook that contains a fake customer, a standard test card number and a fake token, and see the result immediately.

Privacy and how it works

The scrubber is plain JavaScript running in your browser. It uses regular expressions and a checksum to find sensitive patterns and string replacement to mask them. There is no network request involved in processing your text, no analytics on the contents and no server that could store it. Our privacy policy explains the guarantee in detail. You can disconnect from the internet after the page loads and the tool will still work.

Limitations

No automatic redactor is perfect, and you should treat this one as a first line of defence. Names that appear in free text, such as a customer's message body, are not detected unless they sit under a recognised JSON key. Unusual phone formats, addresses written as prose and identifiers specific to your industry may be missed. In the other direction, a long number that looks like a phone number might be masked when it is really an ID. Always read the scrubbed output before it leaves your machine. For regulated data such as health or financial records, follow your organisation's compliance rules instead of relying on any single tool.

Practical tips for safer automation debugging

Frequently asked questions

The tool processes text entirely in your browser and never uploads it. Even so, use a trusted device and avoid browser extensions you do not trust, because extensions can read page content. If you can, test with the sample data first.
Yes, that is one of the main uses. Scrub the payload, read the result, then paste it into the AI tool. Numbered placeholders let the model follow relationships between objects without seeing real values.
Every candidate of 13 to 19 digits is checked with the Luhn algorithm. Only sequences that pass the checksum are masked, so random order IDs and timestamps are normally left untouched.
No. The mapping from placeholder to original value exists only in memory while the page is open and is never shown or saved. Keep your original data separately if you may need it later.
Only when they are stored under recognised JSON keys such as first_name, last_name or address. Names inside long messages cannot be found reliably with pattern matching, so check those fields by hand.
No. It helps you minimise the personal data you share, which is good practice, but compliance depends on your whole process, legal basis and contracts. Treat the tool as a helper and not as legal advice.

Related free tools