HAR tools (HAR → JSON & HAR → cURL)
HAR → JSON & HAR → cURL
Convert HAR files to clean JSON and reproducible cURL — fast, deterministic, and privacy-first.
HAR utilities, without uploads
Captured a HAR file from Chrome/Edge/Firefox DevTools? HAR (HTTP Archive) is a JSON log of network activity: URLs, methods, headers, cookies, timings, and sometimes request/response bodies. This tool helps you turn that noisy capture into clean, shareable JSON or into cURL commands you can replay for debugging.
Use HAR → JSON to export normalized entries, requests-only, responses-only, cookies, or just errors (4xx/5xx). Sensitive values are masked by default (Authorization, Cookie, common token params), so you can share outputs with teammates more safely. Enable bodies only when you truly need them — HAR payloads can contain secrets.
For performance, parsing runs in a Web Worker with chunked reads, so large HAR files (10MB–50MB+) won’t freeze the UI. Filter by domain, method, status group, or content type, then copy or download results. Everything stays on your device — no uploads and no network calls.
Use cases
Turn a .har capture into a clean HAR → JSON export you can grep, diff, and attach to bug reports. Great when you need “har to json”, “har file to json”, or a quick request/response timeline without digging through DevTools.
Pick an entry and generate a deterministic cURL command (method, URL, headers, and body when available). This covers common needs like “har to curl”, “generate curl from har file”, and “curl from chrome har”.
Filter by domain/method/status and export multiple requests as a script. Helpful for “bulk curl export from har”, “export cURL for all requests”, or reproducing a full login/API flow in a terminal.
Mask sensitive headers (Authorization/Cookie) and token-like query params by default. This makes it easier to share a “sanitized har file”, “redacted har to json”, or “har remove cookies” output without leaking credentials.
Use the Errors-only JSON mode to isolate failing requests quickly. Great for “har 4xx 5xx filter”, “har errors to json”, and incident debugging when a HAR contains thousands of entries.
Use content-type groups (json/html/text/image) plus header previews to debug caching, CORS, redirects, and API content negotiation. Ideal when you need a “har viewer online” that’s privacy-first and fast.
Intent coverage
har to json • convert har to json online • har file to json • har to curl • har to curl command generator • generate curl from har file • chrome har to curl • export har as json • har viewer online • har parser in browser • open har file online no upload • sanitize har file • redact har authorization header • har remove cookies • har mask token query params • filter har requests by domain • filter har by status 4xx 5xx • har errors only export • bulk curl export from har • curl script from har • har post data to curl • har headers to curl • powershell curl from har • exclude hop-by-hop headers curl • har response body base64 • har response preview limit • large har file 50mb parse • har entries count • extract cookies from har • share redacted har output
FAQ
What is a HAR file?
HAR (HTTP Archive) is a JSON format exported by browsers to capture network requests and responses, including headers, cookies, timings, and optional bodies.
Do you upload my HAR file?
No. Processing runs fully in your browser. The tool does not upload or fetch anything.
Why are Authorization and cookies masked?
HAR files often include credentials. Masking helps you share outputs more safely without leaking secrets.
Can I include request/response bodies in JSON export?
Yes, but it’s off by default and we show a warning. Bodies may contain tokens or personal data.
Why is the response preview sometimes missing?
If a response body is base64-encoded (binary), we omit the preview. Use the Base64 tool to decode safely.
How do I generate cURL for a specific request?
Select an entry from the request list, then use Generate cURL. You can also generate from the details panel.
Can I export cURL for multiple requests?
Yes. Switch Scope to Filtered entries and download a script for the current filters.
Does it support PowerShell?
Yes. Switch Shell to PowerShell to generate curl.exe-friendly output.
What HAR schema is supported?
We require a valid JSON file with log.entries. Extra fields are ignored; outputs focus on reliable request/response data.
How do I export a HAR from Chrome?
Open DevTools → Network, reload the page, then right-click the request list and choose “Save all as HAR with content”.