How to Sanitize HAR Files & Redact API Tokens Online

Published: Sept 14, 2026Author: ShiftTools Engineering Team5 min read

When troubleshooting web application issues, API timeouts, or authentication errors, tech support teams and cloud vendors often ask for a HAR (HTTP Archive) file. However, unredacted HAR files contain your live session cookies, OAuth Bearer tokens, passwords, and personal data.

The Risk of Unsanitized HAR Files

A HAR file records every HTTP request and response sent by your browser. This includes:

How to Safely Redact HAR Files in Your Browser

Instead of uploading your sensitive network logs to unknown third-party servers for cleaning, ShiftTools provides a 100% client-side HAR Sanitizer that runs directly inside your browser memory.

  1. Export your .har file from Chrome DevTools (Network tab → Export HAR).
  2. Open the ShiftTools HAR Sanitizer & Secret Redactor.
  3. Drop your .har file onto the dropzone.
  4. Select secrets to scrub: Authorization Headers, Cookies, API Keys, and Custom Regex Patterns.
  5. Click Sanitize & Download Clean HAR.

Sanitize Your HAR File Now

100% Client-Side. No server uploads. Zero data leaves your browser.

Launch HAR Sanitizer →