HAR to cURL Converter

Convert HAR (HTTP Archive) files from browser DevTools to cURL commands. Reproduce network requests in your terminal for debugging and testing.

Options

HAR File Input

Why Convert HAR to cURL?

HAR files capture all network requests from your browser. Converting them to cURL lets you replay specific requests from the command line, share reproducible API calls, and debug issues outside the browser.

FAQ

How do I export a HAR file?
In Chrome/Firefox DevTools, go to the Network tab, right-click on any request, and select 'Save all as HAR with content'. You can also use the export button in the Network tab toolbar.
Why are some headers skipped?
Certain headers like :method, :path, Host, and Content-Length are automatically set by cURL based on the request. Including them would cause errors or duplicates.
Can I convert a single request?
Yes, you can export a single request as HAR from DevTools. Alternatively, use browser extensions that let you copy requests directly as cURL commands.