HAR to cURL / Fetch
Paste a Chrome DevTools HAR export and generate ready-to-run curl, fetch, or axios snippets. · Updated
Options
Output format:
Entry index (0-based):
json
Formatted Outputjavascript
Draft saved locally.
Options
| Option | Description |
|---|---|
| Output format | Choose the client snippet style to generate from the selected HAR entry. |
| Entry index (0-based) | Which request in log.entries to convert when the HAR contains multiple calls. |
FAQ
How do I export a HAR from Chrome?
Open DevTools → Network, reproduce the request, then right-click the list and choose Save all as HAR with content.
Does this upload my HAR (cookies/tokens)?
No. Conversion runs entirely in your browser. Still treat HARs as sensitive — they often contain auth headers.
Can I convert a specific request in a multi-entry HAR?
Yes. Set Entry index to the 0-based position of the request inside log.entries.
What output formats are supported?
cURL, browser fetch(), and axios config objects.
Does it pair with the cURL to Fetch tool?
Yes. Generate curl here, then open the companion cURL to Fetch tool if you need alternate language clients.
Related tools
cURL to Code
Convert raw cURL shell commands into clean JavaScript Fetch, Axios, or Python requests code instantly.
HTTP Headers & Security Inspector
Parse HTTP headers, audit critical security headers (HSTS, CSP, X-Frame-Options, CORS), and calculate a security grade.
JSON Formatter
Format, validate, and explore JSON with a collapsible tree view.
URL Parser & Params Builder
Deconstruct URLs into protocol, host, port, path, hash, and structured query parameters with full decoding.