Developer Tools TutorialTested & Verified100% In-Browser Privacy

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.

Quick Summary

Paste the HAR, choose whether to drop response bodies, and read the summary of what came out before you send the file.

HAR Sanitizer - Step-by-Step Tutorial & Verified Guide
Developer Tools WorkflowHAR Sanitizer
Verified Step-by-Step Guide
Execution Architecture

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.

4 Easy Steps
1
INPUTPaste your input
2
CONFIGUREChoose your 3 settings
3
PROCESSPress Sanitise the HAR
4
COPYCopy the answer
Process Architecture • HAR SanitizerInteractive Workflow Graphic
Input SourceSOURCE
Unprocessed Asset
In-Browser EngineWebCrypto & AST Syntax Evaluator
0% Server Upload100% Private
Verified ResultTARGET
Ready for Production
Figure 1.1: Verified end-to-end processing pipeline for HAR Sanitizer. Data is transformed entirely within local browser memory with zero network roundtrips.
Pre-Flight Readiness

Before You Start

Ensure your source assets and browser environment meet the verified execution requirements.

The text you want to run it on, ready to paste
A current browser with JavaScript on. HAR Sanitizer runs inside it, so nothing you enter is sent anywhere.
Interactive Walkthrough

Step-by-Step Instructions

Follow these verified steps to execute the task with HAR Sanitizer.

Step 01Input

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.

Input Example
Paste the contents of a .har file...
Expected Output
Input read as you type
Helpful Tip: Type or paste straight into the page — there is no file to pick.
Step 023 settings

Choose 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.

Configuration & Quality Presets
JPG (Optimal 85%)PNG (Lossless)WebP
Compression Level: 85% (Recommended)Sweet Spot
Applied: Remove response bodies on · Redact credential-looking URL and POST parameters on · Extra header names to redact blank
Helpful Tip: Remove response bodies starts at on, and there are 2 more settings beside it.
Step 03Sanitise the HAR

Press 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.

In-Browser Client Execution (0 ms Network Delay)HTML5 WASM
Input: Sanitise the HARHAR Sanitizer runs on your device
Helpful Tip: Runs in this tab. Nothing is uploaded, so the speed is your device's.
Step 04Copy

Copy the answer

The answer sits at the top of the result panel with a copy button beside it. It never left your browser.

Input Example
Copy the figure
Expected Output
On your clipboard
Runtime Virtualization & Sandbox Architecture

Under 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.

Configuration Options

Settings & Options Explained

Fine-tune quality, format, and compression parameters for your exact workflow.

Settings & Configuration Guide

SettingRecommended ValueHow It Works & Impact
Remove response bodieson

Takes on or off.

Impact: Left on, which is what the tool does when you change nothing.
Redact credential-looking URL and POST parameterson

Takes on or off.

Impact: Left on, which is what the tool does when you change nothing.
Extra header names to redactLeave 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.
Optimization Advice

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.
Diagnostics

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.

Solution: Fill the input first, then run it.
100% In-Browser Privacy Guarantee: HAR Sanitizer processes data strictly inside your local device memory using HTML5 Canvas and WebAssembly. Your files and data are never transmitted or stored on any remote server.
Common Inquiries

Frequently Asked Questions

Everything you need to know about formats, privacy, and browser support.

It removes what it can recognise and tells you what it took. It cannot find a secret under a field name it does not know, so read the output first.