HAR Viewer & Sanitizer
View and sanitize HAR files online for free. Inspect requests and headers, then download a copy with tokens, cookies, API keys and passwords redacted — all in your browser.
Drop a .har file here, or
Export one from DevTools → Network → "Save all as HAR" (with content if you want bodies)
About HAR Viewer & Sanitizer
Open a HAR file exported from browser DevTools and inspect every request — method, URL, status, size and timing — with a detail view of request and response headers and bodies.
The sanitizer detects and redacts secrets before you share the file: Authorization and Cookie headers, API keys, session tokens in query params, JWTs and passwords in request bodies. Everything runs locally — a HAR file often contains live session credentials, so it never leaves your device.
How to use HAR Viewer & Sanitizer
- Drop a .har file (DevTools → Network → 'Save all as HAR') or paste the JSON.
- Browse the request table — click a row to inspect its request/response headers and body. Secrets are already shown redacted, the way the sanitized download will contain them.
- Press Download sanitized HAR to get a shareable copy with tokens, cookies, API keys, JWTs and passwords replaced by [REDACTED].
Frequently asked questions
What does the sanitizer redact?
Authorization/Cookie/Set-Cookie headers, API keys and auth-token headers, query parameters whose name contains token/key/secret/auth/session/signature/jwt, JWT strings anywhere, Bearer tokens, and JSON body fields like password, secret, access_token and refresh_token.
Why sanitize a HAR before sharing?
A HAR exported from DevTools often carries live session cookies and API tokens — anyone receiving it could hijack your sessions. The sanitized copy keeps the debugging info but removes the credentials.
Can every secret be detected?
The rules catch the common patterns, but an API key in an unusually-named field or a secret inside an encoded blob can slip through — review the detail view before sharing.
Is the file uploaded?
No — parsing, inspection and sanitizing all run in your browser. Given HAR files routinely contain live credentials, this tool was built local-first on purpose.