IT
OmnvertImage • Document • Network
HAR tools (HAR → JSON & HAR → cURL)
Your data stays in your browser. No uploads.

HAR → JSON & HAR → cURL

Convert HAR files to clean JSON and reproducible cURL — fast, deterministic, and privacy-first.

Input
Output
Output size:
Selected entry
Select a request to see details.

HAR utilities, without uploads

HAR files — short for HTTP Archive — are the standard way to capture and share a browser's network activity, and the format ends up being central to almost any web debugging session that involves figuring out why a page is slow, why an API call is failing, or what data is actually moving between the client and the server. Every modern browser's DevTools network panel can export to HAR with a single click, producing a JSON file containing every request, response, header, timing, and (optionally) body that occurred during the recording. The trouble is that the resulting HAR file is essentially unreadable in raw form — verbose, deeply nested, full of metadata that nobody reads, and including content most people would rather not share by accident. This tool is the bridge between the noisy raw HAR and something you can actually work with.

The most common reason people convert HAR files is to share them with teammates while debugging. A backend developer hands the frontend developer a HAR file showing a failing API call; the frontend developer opens it expecting to find the issue in five minutes and instead spends fifteen scrolling through hundreds of unrelated tracking pixel requests, font preloads, and CDN-served static assets that make up modern page loads. Filtering down to just the relevant requests, by domain or by status code or by content type, is what turns a HAR file from a haystack into a focused debugging artifact. The tool here exposes those filters as one-click operations, so the back-and-forth of 'can you send me just the API requests' becomes unnecessary.

Privacy considerations are central to how HAR sharing should work, because HAR files often contain content that shouldn't leave the company. Authorization headers carrying bearer tokens, Cookie headers carrying session IDs, request bodies containing user input, response bodies containing user data — all of these end up in HAR files unless they're deliberately stripped before sharing. The default behavior here masks the obvious secrets (Authorization, Cookie, common token parameter names) automatically, which catches the most common accidental disclosure pattern. For HAR files that contain genuinely sensitive data beyond those defaults, the rule is to be deliberate about what gets shared and what doesn't, and to verify the masking before sending the file outside the team.

HAR-to-cURL conversion is the other half of this tool that earns the most regular use. Reproducing a failing request from a HAR file is one of the most common debugging tasks: you see the request that failed in DevTools, you want to run it again with slight modifications to see what changes, but reproducing it manually requires copying the URL, headers, body, and method into a cURL command character by character — slow and error-prone. The HAR-to-cURL conversion produces a ready-to-run cURL command that's byte-identical to what the browser sent, which means running it from the terminal reproduces the exact request the browser made. From there, you can modify pieces (try with a different Authorization header, omit a particular cookie, change a query parameter) to isolate what's actually causing the failure.

Use cases

Convert HAR to JSON for API debugging

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.

Generate reproducible cURL from captured requests

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

Bulk-export cURL for filtered entries

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.

Share sanitized HAR outputs with teammates

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.

Find errors fast (4xx/5xx) and export only failures

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.

Inspect response headers and content types

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.

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