Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Log Redactor

Strip the sensitive bits out of a log or any text before sharing it: emails, IP and MAC addresses, file paths, UUIDs, timestamps, URLs, tokens and more. Pick what to redact and how it is replaced, with stars, a fixed character, a type label or a length-preserving mask.

Everything runs locally in your browser. Your data never leaves your device.

What to redact

Replacement style

Example: jane@example.com turns into [EMAIL-1]

Detectors catch common patterns, not every possible secret. Skim the result once before you share it.

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Log Redactor Tool

This tool removes the sensitive values from a log or any other text so you can share it in a bug report, a support ticket or a public chat. It detects email addresses, IPv4 and IPv6 addresses, MAC addresses, file paths, UUIDs, timestamps, URLs and hostnames, JWTs, API keys and other secrets, credit card numbers and phone numbers, and replaces every match live as you type.

Each detector is a separate toggle, so you decide what counts as sensitive. The replacement style is yours too: mask matches with stars, Xes or a character of your choice, at the original length or a short fixed one, or swap them for type labels like [EMAIL] that keep the log readable.

What you can do

  • Remove email addresses, IP addresses and hostnames from a log before sharing it.
  • Scrub API keys, Bearer tokens, JWTs and password values out of config dumps and stack traces.
  • Redact Windows and Unix file paths that reveal usernames or machine layout.
  • Replace every match with a type label like [IPV4] so the log stays readable.
  • Number repeated values, like [EMAIL-1] and [EMAIL-2], so entries stay correlatable.
  • Mask matches with stars or a custom character, keeping the original length if you want.
  • See a per-category count of what was found, with every match highlighted in the text.

How to use the Log Redactor

  1. 1Paste the log or text on the left, or load it from another tool.
  2. 2Tick the detectors for everything that should be removed.
  3. 3Pick a replacement style and tune it with the length and numbering options.
  4. 4Review the highlighted result on the right, then copy or download it.

What the detectors catch

Detection is pattern based. Emails, IP and MAC addresses, UUIDs, JWTs and URLs have unambiguous shapes and are caught reliably. Timestamps cover ISO 8601, syslog, Apache and Unix epoch formats. The secrets detector knows common key formats (AWS, GitHub, GitLab, Slack, Stripe, Google), Bearer and Basic authorization headers, values assigned to keys like password or api_key, PEM private key blocks and long hex or base64 strings. Credit card numbers must pass the Luhn checksum, which keeps ordinary ID numbers out.

Overlaps resolve toward the most specific match: a URL that contains an IP address is redacted once, as a URL, not twice.

Keep redacted logs debuggable

A log where every address reads [IPV4] loses the story of which machine did what. With numbered placeholders the same value always maps to the same label, so [IPV4-2] on line 3 and line 40 is provably the same host and the failure sequence stays traceable without revealing the address.

Always review the result

Pattern matching catches the common shapes, not every possible secret. Names, street addresses and unusual token formats have no reliable pattern, so skim the output once before you publish it. For values the detectors cannot know, like an internal project name, run the result through the Find and Replace afterwards.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Hash a password with bcrypt or Argon2 and verify a password against an existing hash. Tune the cost factor, memory, iterations and parallelism, see how long the hash takes, and read the parsed parts of any hash you paste.

Verify a checksum online: drop a file, paste the expected checksum and see instantly whether they match. The hash type is detected from the checksum itself, covering MD5, SHA-1, SHA-256, SHA-512, BLAKE3, CRC-32 and more, and sha256sum lines or whole checksum files can be pasted as-is.

Format code in JavaScript, TypeScript, JSON, JSON5, HTML, Vue, CSS, SCSS, LESS, Markdown, YAML, GraphQL, XML and SQL. Pick tabs or spaces, set the indent width, and format the input in place with one click.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.