Skip to content

HAR → cURL Converter

Paste HAR JSON or upload a .har file, pick one or more requests, and get ready-to-run curl commands. Sensitive headers (Authorization, Cookie, and similar) are redacted by default. Everything runs in your browser — nothing is sent to a server.

HAR to cURL controls

or paste JSON below

Frequently asked questions

What is a HAR file?

HAR (HTTP Archive) is a JSON format that records HTTP requests and responses from a browser session. Developers export HAR from DevTools to debug network calls, share repros, or convert traffic into scripts such as cURL.

Does my HAR leave my browser?

No. Parsing and conversion run entirely in your browser with JavaScript. Your HAR is not uploaded to a server. Redact sensitive headers is on by default so Authorization and Cookie values are replaced with REDACTED in the cURL output.

How do I export a HAR from Chrome DevTools?

Open DevTools (F12 or Ctrl+Shift+I), go to the Network tab, reload or reproduce the requests, then right-click in the request list and choose Save all as HAR with content. You can paste that JSON here or upload the .har file.

Is this HAR to cURL converter free?

Yes. The Formattly HAR to cURL converter is free to use with no signup required.