HAR / log sanitizer

Strip cookies, auth headers, query values and bodies from HAR files, or known secret patterns from logs. Review before sharing: custom secrets can remain.

Tool guide

How to use HAR / log sanitizer

Remove selected sensitive fields and review a local before/after export.

  1. Choose or paste a HAR/JSON file in Structured HAR JSON mode, or select Pattern-based text log for TXT/LOG. Work from a copy and review the selected mode before processing.
  2. For example, a structured request URL https://example.com/path?token=private#section becomes https://example.com/path. Selected authorization fields, cookies and bodies are removed; the hostname and /path remain. Text mode applies its auth, secret and email patterns instead of parsing HAR structure.
  3. Inspect the entire downloaded JSON or TXT before sharing it, not just the bounded preview. Custom fields, hostnames, paths and secrets outside the supported patterns may remain sensitive. A removal count is not proof that every secret was found.
  4. Structured HAR removes cookies, query values, bodies and named secrets; URL credentials/query/fragment removed. Text mode uses disclosed auth/secret/email patterns. Hostnames, paths and custom fields can remain sensitive; review complete output before sharing. Depth32; no promise to find every secret.
  5. Resource limits: Standard: 100 MiB per file · 500,000 rows · 1,000 columns · 1,000,000 cells · 100 MiB cell text · 256 MiB output. Extended: 500 MiB per file · 2,000,000 rows · 1,000 columns · 3,000,000 cells · 300 MiB cell text · 1024 MiB output. Rectangular cells include blanks; the first reached budget applies. Large jobs need available device memory. Structured HAR: nesting 32, 2 million parsed values with standard limits / 6 million with extended limits. The first reached budget applies; previews are excerpts and accepted exports contain the complete supported result.
  6. Cancel stops local processing. Editing, clearing or leaving discards working results and download URLs; downloaded files remain on your device. Inputs and results are not uploaded or saved to your account.
Read the full guide