Redact home paths, emails, tokens and card numbers from a log or trace while keeping what makes it diagnosable. Card numbers are Luhn-checked.
All of this happens in your browser: nothing is uploaded, and the redaction runs before you copy or download anything. Redaction removes what has a shape to match — it cannot find a password that is a dictionary word, a name in a free-text message, or an internal hostname. Read the output before you send it anywhere.
Waiting for text to redact
Paste a log, a stack trace or a bug report. Nothing leaves your browser.
<user>Replaces the user name inside a home directory path, so /Users/jane/app becomes /Users/<user>/app. The rest of the path is kept, because it is usually the useful part.
<email>Replaces anything shaped like an email address. These turn up in test fixtures, log lines and request bodies more often than people expect.
<ip>heuristicReplaces IPv4 and IPv6 addresses, which identify both users and internal hosts. A four-part version number has the same shape as an IPv4 address. Matches that sit inside a path or follow an @ are left alone, but a bare 1.2.3.4 in prose cannot be told apart from an address.
<redacted>heuristicReplaces bearer tokens, JWTs, cloud access keys, and long random-looking strings assigned to a key whose name suggests a secret. The key name is kept so the shape of the line survives. A long hexadecimal string may be a git commit, a checksum or a request id rather than a secret. Those are only redacted when they are assigned to a key that names a secret.
<uuid>Replaces UUIDs, which are often customer, session or tenant identifiers. Off by default, because a UUID is also frequently the one thing that makes a trace traceable.
<value>Replaces the values in a URL query string while keeping the parameter names, so ?token=abc&page=2 becomes ?token=<value>&page=<value>. The names are what tell you what the request did.
<card>Replaces digit sequences that pass the Luhn checksum, which is what distinguishes a real card number from any other run of digits.
<phone>heuristicReplaces sequences shaped like international or formatted phone numbers. Order numbers, long identifiers and timestamps can share the shape of a phone number. Check the count before relying on this one.
The defaults remove what has a cost and little diagnostic value, and leave on the values that are usually the reason the file is useful at all — IP addresses, UUIDs and query values among them. Stripping everything sensitive-looking produces a report that is safe and impossible to act on.
Log Data Redactor runs entirely on your device — redaction happens in your browser, so the unredacted text is never sent anywhere.
You’re on the Free plan. Compare plans
Redaction is not all-or-nothing, and that is the whole design. A tool that strips everything sensitive-looking produces a trace nobody can act on: the correlation id is gone, the IP of the failing upstream is gone, and the report is now safe and worthless. So the defaults remove what has a cost and little diagnostic value — home directory names, email addresses, tokens, card numbers — and leave off the rules whose matches are usually the useful part.
Card numbers are checked rather than guessed. A sixteen-digit run is only replaced when it passes the Luhn checksum, which every real card number does and most order numbers and timestamps do not. That is the difference between a check and a guess, and it is why this rule is on by default while the phone-number rule is not.
Every rule says what it can get wrong, in the panel rather than in a tooltip. A rule whose behaviour cannot be predicted gets turned all the way on or all the way off, and both of those are the wrong answer. What this cannot find is a secret that looks like ordinary text: a dictionary-word password, a name in a free-text message, an internal hostname. Read the output before you send it.
Because they are frequently the reason the file is useful. The IP of a failing upstream and the correlation id that ties ten log lines together are both diagnostic, and both look sensitive to a pattern. They are one switch away when you need them removed.
By checking the Luhn checksum rather than just the shape. Every real card number passes it and most sixteen-digit order numbers and timestamps do not, so this is a check rather than a guess — which is why it is safe to have on by default.
Anything without a recognisable shape. A password that is a dictionary word, a customer's name in a free-text message, an internal hostname, a medical detail in a note. No pattern finds those, and a clean result says nothing about them.
That is the intent. File paths keep their structure with only the user name replaced, line numbers and function names are untouched, and the rules most likely to remove diagnostic value are off by default. A redacted file nobody can diagnose from is a file nobody will produce.
No. Everything happens in your browser, which is the only reason it is safe to paste an unredacted log into a web page at all.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab