Log Privacy Redactor

Mask emails, IPs, tokens and secrets in logs before sharing.

The Log Privacy Workbench masks sensitive data in log text before you share it. It looks for email addresses, IP addresses, tokens, secrets in key=value pairs and card numbers, and replaces them with labels such as [EMAIL] or [IP]. It shows how many items each rule changed.

What is log redaction?

Logs routinely capture data that should not leave a system: email addresses, client IPs, session tokens, API keys, passwords in query strings and sometimes card numbers. Before sharing logs in a bug report, a support ticket or a chat, you want to replace those values with placeholders while keeping the structure readable. Redaction by pattern matching finds values by their shape, for example the format of an email or a JWT, or by the name next to them, such as password= or api_key:. Card numbers can be checked with the Luhn algorithm, a checksum that real card numbers satisfy, which cuts false positives from ordinary long numbers. Pattern-based masking is best effort. It can miss unusual formats and cannot know what is sensitive in your context, so always read the output before sharing.

How to use Log Privacy Redactor

  1. Select rules Tick the checkboxes for the kinds of data you want masked.
  2. Paste the log Put the log lines in the Log text box.
  3. Review the output The Masked log box updates as you type. Check the counts and read the text.
  4. Share carefully Copy or download the result only after you have checked it for anything the patterns missed.

Frequently asked questions

Is the masking guaranteed to remove all secrets?

No. It is pattern based and best effort. Always review the output before sharing it.

Does it send my logs anywhere?

No. Masking runs in the page and the log text stays on your device.

Does it find IPv6 addresses?

Yes, the IP rule covers IPv4 and IPv6 forms, including compressed ones like 2001:db8::1.

Why is a card number not masked?

It must be 13 to 19 digits, optionally separated by spaces or hyphens, and pass the Luhn check.

Can I undo the masking?

No. The original values are replaced in the output, so keep your original log if you need it.