Sanitize server, firewall, and JSON logs locally

Presets for Nginx/SSH, firewall drops, and JSON payloads with separate Public/Private IPv4 toggles and one-click restore.

Original text
0 chars
Masked outputReady
Repeated values receive the same numbered token (e.g. [PUBLIC_IP_1], [EMAIL_1]) so AI keeps full context.
Runs in browser RAM only · 0 bytes uploaded

Session mapping table

Detected entities and the RAM-only restore lookup appear here once you paste text.

Log sanitization use cases

Nginx / SSH access and auth log triage

Keep HTTP status codes, endpoints, and timestamps intact while consistently anonymizing external client IPs, internal upstream IPs, and Bearer tokens.

Before
203.0.113.88 - admin@corp.net "POST /api/v2/export" 200 upstream=10.0.4.19
After
[PUBLIC_IP_1] - [EMAIL_1] "POST /api/v2/export" 200 upstream=[PRIVATE_IP_1]

Firewall, IDS, and VPN log sharing

Share UFW, Palo Alto, Fortinet, or pfSense drop logs with vendors or AI assistants without exposing internal RFC1918 subnets, MAC addresses, or VPN tokens.

Before
SRC=185.220.101.45 DST=172.16.12.8 MAC=aa:bb:cc:dd:ee:ff token=xoxb-1234...
After
SRC=[PUBLIC_IP_1] DST=[PRIVATE_IP_1] MAC=[MAC_1] token=[API_KEY_1]

Structured JSON application and audit logs

Sanitize nested JSON values containing PII, credit cards, RRN, phone numbers, and cloud keys while preserving valid JSON syntax for parsers and LLMs.

Before
{"clientIp":"198.51.100.204","podIp":"10.42.3.18","x-aws-key":"AKIA..."}
After
{"clientIp":"[PUBLIC_IP_1]","podIp":"[PRIVATE_IP_1]","x-aws-key":"[API_KEY_1]"}

Log preset matrix and detection scope

Server / Web Log Preset [PUBLIC_IP_1], [PRIVATE_IP_1], [API_KEY_1]
Nginx, Apache, SSH, K8s ingress logs

Public/Private IPv4, IPv6, MAC, Email, API keys/JWT, Custom Terms

Firewall / IDS Log Preset [PUBLIC_IP_1], [PRIVATE_IP_1], [MAC_1]
UFW, iptables, Fortinet, Palo Alto, VPN logs

Focuses on Public/Private IPv4, IPv6, MAC addresses, and auth tokens; skips numeric IDs

JSON / API Payload Preset [EMAIL_1], [CARD_1], [API_KEY_1]
REST/GraphQL audit logs, billing worker traces

Full PII + Secret coverage while preserving JSON keys and brackets cleanly

Private vs Public IPv4 Toggle [PRIVATE_IP_1] vs [PUBLIC_IP_1]
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10

Keep attacker public IPs visible while hiding internal topology (or mask both)

Verify zero-upload processing in 10 seconds

  1. Press F12 to open DevTools > Network and clear the request log.
  2. Paste sample data above and run masking, restoration, or IOC extraction. Confirm 0 outgoing requests.
  3. Switch DevTools throttling to Offline or disconnect Wi-Fi. Every tool continues working identically.

Frequently asked questions

Can I keep public attacker IPs visible while masking only internal private IPs?

Yes. Public IPv4 and Private IPv4 have separate toggles inside Options. Turn off "Public IPv4" and keep "Private IPv4" on to hide your internal 10.x / 172.16-31.x / 192.168.x infrastructure while keeping external IPs intact.

Does masking break JSON log structure?

No. MaskPrompt replaces only the sensitive string values inside quotes (e.g. "10.42.3.18" -> "[PRIVATE_IP_1]") without inserting unescaped quotes or newlines, keeping your JSON valid and parseable.

Why are timestamps like 14:20:01 not mistaken for IPv6 addresses?

Our IPv6 validator enforces strict RFC structure (8 hex groups or valid :: compression) so 3-part timestamps like 14:20:01 and port pairs are never falsely flagged as IPv6.

Is there a size limit or server upload for large logs?

Everything executes locally in your browser without any server upload or API quota. Multi-megabyte log excerpts typically sanitize in milliseconds.