How to Strip Secrets From a HAR Before You Share It
A HAR captured while signed in is a complete working set of credentials: session cookies, bearer tokens, API keys in query strings, and usually every response body. People attach them to public bug reports every day. This covers what to remove, where sanitisers typically fall short, and the limit you should not talk yourself past.
Paste the HAR, choose whether to drop response bodies, and read the summary of what came out before you send the file.

Workflow Lifecycle & Pipeline
Visual execution flow showing how HAR Sanitizer processes data directly in your local browser sandbox.
HAR Sanitizer Interactive Process Pipeline
Fast, zero-latency execution directly in your browser memory.
Before You Start
Ensure your source assets and browser environment meet the verified execution requirements.
Step-by-Step Instructions
Follow these verified steps to execute the task with HAR Sanitizer.
Paste your input
Type or paste into the input box on the page. HAR Sanitizer works on what is in it — there is no file to choose.
Paste the contents of a .har file...Input read as you typeChoose your 3 settings
Remove response bodies takes on or off, Redact credential-looking URL and POST parameters takes on or off and Extra header names to redact takes a block of text. Leave them alone and HAR Sanitizer uses on and on, and leaves Extra header names to redact blank.
Remove response bodies on · Redact credential-looking URL and POST parameters on · Extra header names to redact blankPress Sanitise the HAR
Sanitise the HAR starts the work in this tab. Nothing is uploaded, so how long it takes is down to your own device.
Sanitise the HARHAR Sanitizer runs on your deviceCopy the answer
The answer sits at the top of the result panel with a copy button beside it. It never left your browser.
Copy the figureOn your clipboardUnder the Hood: Sandboxed WASM Execution & Isolated Web Workers
Development tools and code sandboxes execute inside sandboxed Web Workers with isolated thread runtimes. Code scripts cannot access DOM scopes, cookies, or local network interfaces, providing high security and bare-metal performance.
Real-Time Stdin Stream
Interactive inputs pipe directly into std::cin, sys.stdin, and ReadLine buffers via simulated virtual teletypes.
Zero Egress Guarantee
Algorithm logic, API keys, and test queries remain confined to the client virtual machine.
Near-Native CPU Performance
Precompiled WebAssembly modules execute with near-native JIT performance on V8 and SpiderMonkey engines.
Settings & Options Explained
Fine-tune quality, format, and compression parameters for your exact workflow.
Settings & Configuration Guide
| Setting | Recommended Value | How It Works & Impact |
|---|---|---|
| Remove response bodies | on | Takes on or off. Impact: Left on, which is what the tool does when you change nothing. |
| Redact credential-looking URL and POST parameters | on | Takes on or off. Impact: Left on, which is what the tool does when you change nothing. |
| Extra header names to redact | Leave it blank unless you need it | One header name per line, on top of the built-in list. Takes a block of text. Impact: Read as written, so stray spaces and characters count. |
Best Practices & Key Considerations
Avoid common quality pitfalls and maximize output performance.
Expert Recommendations
- A HAR stores query parameters twice — in the parsed array and inside request.url. Redacting only the array leaves the token in the field people actually read.
- Dropping every response body is the safest setting and can also delete the evidence the bug report needed. If the problem is in a response, keep bodies and read them yourself.
- Add your own header names if your stack uses custom auth headers. The built-in list cannot know them.
Common Mistakes to Avoid
- Not noticing that Remove response bodies starts on.
- Assuming the input is sent somewhere — HAR Sanitizer runs in this tab, and nothing you enter leaves it.
Troubleshooting & Fixes
Quick solutions for common browser constraints, format issues, and edge cases.
Troubleshooting & Common Issues
Pressing the button does nothing
Possible Cause: Extra header names to redact is empty, and HAR Sanitizer has nothing to work on until it is filled.
Frequently Asked Questions
Everything you need to know about formats, privacy, and browser support.
Related Step-by-Step Guides
Explore companion workflows, optimization techniques, and verified tutorials.