HAR to cURL, Fetch & Axios Converter
Paste a Chrome DevTools HAR export and generate ready-to-run curl, fetch, or axios snippets — entirely in your browser.
Batch workspace
Format multiple files locally in one run.
How to use the HAR to cURL / Fetch
Paste code or file
Paste your raw JSON text or upload directly.
Configure options
Choose indentation, dialect, or formatting preferences.
Format & export
Click format, then copy, download, or inspect in tree view.
What is a HAR to cURL / Fetch?
Paste a Chrome DevTools HAR export and generate ready-to-run curl, fetch, or axios snippets — entirely in your browser. This tool re-indents and organizes code according to standard style conventions while checking for syntax validity. Everything executes 100% inside your browser, guaranteeing zero latency and complete privacy for API keys, user tokens, and confidential database schemas.
Options Explained
| 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. |
Frequently Asked Questions
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.