Code Beautifier

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

OptionDescription
Output formatChoose 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.