HAR File Sanitizer
Remove cookies, tokens, API keys and JWTs from a HAR file before you share it with support. Processed on your device.
Designed to run in your browser. See the privacy policy.
About HAR File Sanitizer
A HAR file is a recording of everything your browser sent and received on a page: every URL, header, cookie and body. Support teams often ask for one to debug a problem, but the same file usually holds your session cookies, bearer tokens, API keys and sometimes passwords, which is enough for someone to sign in as you. This HAR sanitizer finds those values and removes them before you share the file.
It looks in request and response headers (Cookie, Set-Cookie, Authorization, X-Api-Key and any header named like a token or key), cookie lists, URL query strings and fragments, form fields, JSON request and response bodies, and it replaces JWTs wherever they appear. You see a list of what was found, grouped by type, with each value masked so the list itself is safe to look at. Each group has its own switch, and you can also drop request and response bodies entirely.
The file is read in your browser and processed on your device, so the secrets in it are not sent to us to be cleaned. The result is still a valid HAR file that opens in Chrome, Firefox and HAR viewers.
How to use
- Export a HAR from your browser: open developer tools, go to the Network panel and choose Save all as HAR (or Export HAR).
- Drop the .har file onto the box, or paste its contents into the text box below.
- Review what was found. Values are masked, showing only the first few characters and the length.
- Switch off any group you want to keep, or switch on "Drop request and response bodies" if the bodies are not needed.
- Click Download sanitized HAR and check the new file before sending it.