Aspect ratio calculator / HAR Sanitizer

HAR Sanitizer

Drop a .har file or a server log and the tool finds sensitive values such as tokens, cookies, emails, IP addresses and card numbers, masks them, keeps only the requests you care about, and exports a safer file or a short summary you can paste into a bug report or an AI question.

Tool · 2026 · Aspect ratio calculator

Load the sample first to see how it works. The sample data is fake. It has more room in full screen. Free to use.

What it is

A HAR file is a recording of a browser session that tools like Chrome DevTools can export. It is very useful for debugging, and it often contains cookies, tokens and personal data. HAR Sanitizer helps you remove those before you share it.

How to use it

  1. Drop a .har, .json, .log or .txt file, paste content, or load the sample.
  2. Choose the masking method and which kinds of values to detect.
  3. Optionally filter to failed or slow requests, or to lines with errors.
  4. Review the findings and tick Keep for values that do not need masking.
  5. Compare before and after, then download or copy the safe HAR or the summary.

Good to know

This is a helper, not a guarantee. It can miss values that look ordinary, and it can mask things you wanted to keep. Always read the output, and treat a leaked token as compromised whatever the tool says.

Files and license

Your files are processed in your browser and are not uploaded or stored. The tool claims no rights in your files or output. The tool itself is provided to use on this page and is not offered for download or copying. A Korean version is here.

Questions

Does my HAR file leave my device?

No. The tool runs in your browser. The page has a content security policy that blocks network connections, and it shows a live counter of external requests so you can see for yourself.

What does it mask?

JWT and Bearer or Basic tokens, common API key formats, private key blocks, email addresses, IPv4 and IPv6 addresses, Korean mobile numbers and resident registration number formats, card numbers that pass a Luhn check, values of sensitive headers and cookies, and values under keys such as password or token. You can add your own header names, key names and regular expressions.

Is the masked file guaranteed to be safe?

No. It masks the patterns it knows about and then scans the result again. Names, addresses and company-specific IDs are not detected unless you add a rule for them. Read the result before you share it.

What is the difference between the two masking methods?

Pseudonyms replace each value with a stable name such as [EMAIL_1], so the same value looks the same everywhere and relationships stay visible. Full redaction replaces every value with the same text, so those relationships are lost.

What is the AI summary?

A Markdown summary of the requests that failed or were slow, with masked headers and short bodies, plus a sentence asking for an analysis. It is meant to be pasted into a chat or a ticket. The token count shown is a rough estimate.

How big a file can I use?

The tool tells you when a file is over 250 MB because the browser may run out of memory. Use the filters, such as failed requests only or removing binary bodies, to make the output much smaller.

Can it handle plain logs?

Yes. A text log is masked the same way, and you can keep only the lines with errors plus a few lines around them.

Related tools and guides