LiveFor sysadmins & support engineers

Log & Config Sanitizer

Removes or consistently masks internal IPs, MAC addresses, hostnames, usernames and email addresses from logs and configs, so you can share them with vendor support safely. Runs entirely in your browser.

Runs in your browser. Your data never leaves this device.
~/apps/log-sanitizerruns in your browser · nothing uploaded
0.9 KB · paste, drop a file, or open one. Nothing is uploaded.
Sanitised · 20 values replaced
2026-11-30 02:14:07 INFO  Connecting to [HOST-1] ([IP-1]:1433) as [USER-1]
2026-11-30 02:14:07 DEBUG ConnectionString=Server=[HOST-4];Database=Payroll;User Id=[USER-2];Password=[SECRET-4];
2026-11-30 02:14:08 WARN  Login failed for user '[EMAIL-1]' from [IP-2] (MAC [MAC-1])
2026-11-30 02:14:09 INFO  Tenant [GUID-1] token issued: [SECRET-1]
2026-11-30 02:14:10 INFO  Uploading to https://[HOST-2].blob.core.windows.net/nightly?sv=2024-01-01&sig=[SECRET-3]
2026-11-30 02:14:11 ERROR Gateway [IPV6-1] unreachable; subnet mask 255.255.255.0; retrying via [IP-3]
2026-11-30 02:14:12 INFO  AWS key [SECRET-2] used by username=[USER-3] on host [HOST-3]
2026-11-30 02:14:13 INFO  [TERM-1] nightly job finished for [TERM-2] Ltd
Secrets & keys: 4Email addresses & UPNs: 1IPv4 addresses: 3IPv6 addresses: 1MAC addresses: 1Domain & host names: 4Usernames: 3GUIDs: 1Your custom terms: 2
What to remove
Comma-separated: company, product, server or project names
These stay readable. A tenant name in front of them is still hidden.
Replacement style
Consistent tokens keep the log readable: the same server is always [HOST-1], so support can still follow what happened.
Show the token map (20) · stays on this device
This maps tokens back to the real values. Keep it to yourself: don’t send it with the sanitised log.
TokenTypeOriginal
[SECRET-1]secreteyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqYW5lIn0.c2lnbmF0dXJlLXZhbHVl
[SECRET-2]secretAKIAIOSFODNN7EXAMPLE
[SECRET-3]secretZm9vYmFyYmF6cXV4%3D
[SECRET-4]secretSummer2026!
[EMAIL-1]emailjane.doe@contoso.com
[MAC-1]mac3c:22:fb:9a:10:7e
[IPV6-1]ipv6fe80::1c2a:3bff:fe4d:5e6f%12
[IP-1]ipv410.20.4.15
[IP-2]ipv4203.0.113.42
[IP-3]ipv410.20.4.1
[GUID-1]guid72f988bf-86f1-41af-91ab-2d7cd011db47
[USER-1]userCONTOSO\svc-backup
[USER-2]usersvc-backup
[USER-3]userjdoe
[HOST-1]hostsql01.corp.contoso.com
[HOST-2]hostcontosobackups
[HOST-3]hostweb-02.contoso.local
[HOST-4]hostsql01
[TERM-1]termProject Falcon
[TERM-2]termContoso
Token map (CSV)
token,type,original
[SECRET-1],secret,"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqYW5lIn0.c2lnbmF0dXJlLXZhbHVl"
[SECRET-2],secret,"AKIAIOSFODNN7EXAMPLE"
[SECRET-3],secret,"Zm9vYmFyYmF6cXV4%3D"
[SECRET-4],secret,"Summer2026!"
[EMAIL-1],email,"jane.doe@contoso.com"
[MAC-1],mac,"3c:22:fb:9a:10:7e"
[IPV6-1],ipv6,"fe80::1c2a:3bff:fe4d:5e6f%12"
[IP-1],ipv4,"10.20.4.15"
[IP-2],ipv4,"203.0.113.42"
[IP-3],ipv4,"10.20.4.1"
[GUID-1],guid,"72f988bf-86f1-41af-91ab-2d7cd011db47"
[USER-1],user,"CONTOSO\svc-backup"
[USER-2],user,"svc-backup"
[USER-3],user,"jdoe"
[HOST-1],host,"sql01.corp.contoso.com"
[HOST-2],host,"contosobackups"
[HOST-3],host,"web-02.contoso.local"
[HOST-4],host,"sql01"
[TERM-1],term,"Project Falcon"
[TERM-2],term,"Contoso"

Always review the output before sharing. Pattern matching catches the common cases, but can’t know every name that matters to your organisation. Add those as custom terms.

What it does

  • Finds the sensitive stuffIPv4/IPv6, MAC addresses, emails, FQDNs, DOMAIN\user names, GUIDs, passwords, API keys, JWTs, AWS keys, SAS signatures and private keys.
  • Consistent tokensThe same value always becomes the same token ([HOST-1]), so support can still follow the log.
  • Your own termsAdd company, server or project names, and keep public domains like microsoft.com readable.
  • Never leaves your deviceRuns entirely in your browser. Nothing is uploaded, stored or tracked.

How to use it

  1. Paste a log or config, or open a file

    Up to 5 MB. Large files are processed when you press Sanitise.

  2. Choose what to remove

    Everything is on by default. Add your own terms, such as the company name.

  3. Review the output

    Check the counts and skim the result. Pattern matching can’t know every name that matters to you.

  4. Copy or download the sanitised version

    Keep the token map to yourself if you need to translate replies from support.

Questions people ask

Is my log uploaded anywhere?

No. The sanitiser runs entirely in your browser using JavaScript. The text you paste is never sent to a server, stored, or included in analytics.

What are consistent tokens?

Each unique value is replaced with a numbered token, and the same value always gets the same token. If sql01.contoso.com appears 40 times it becomes [HOST-1] every time, so the log still tells a coherent story.

Will it catch everything sensitive?

It catches common patterns reliably, but it cannot know every internal name. Short hostnames without a domain, customer names and project codes should be added as custom terms. Always review the output before sharing it.

Why are some domains kept?

Public service domains such as microsoft.com or windows.net help support understand the log. A tenant-specific name in front of them, like a storage account name, is still replaced.

Last updated 4 Dec 2026 · More in Security & Compliance

More Security & Compliance tools

See all →
Your product here. Reach IT engineers and architects who use these tools.Advertise →