BRev Free Tools
At BRev Digital, essentials should be a right — free, forever.
Open in workspacekeep several tools open at once
All tools
cURL converter

curl to Python (requests)

The fastest path from "it works in DevTools" to a Python script: right-click the request, Copy as cURL, paste it here. Headers become a dict, the query string becomes params, cookies and Basic/Bearer auth carry over — and multi-line bash or the Windows cmd variant with ^ carets both parse.

The conversion knows the difference that trips most hand ports: a JSON body becomes json={...} (requests sets the Content-Type and serializes for you), while form bodies stay data={...}. Sending a dict with data= when the API expects JSON is the classic silent 400 — this tool picks the right one from the curl flags.

Privacy is the point here: curl commands routinely embed live bearer tokens, session cookies and API keys. Everything on this page runs in your browser, so those credentials never leave your machine.

curl commandbash or Windows cmd — multi-line is fine
Private by design: curl commands often carry auth tokens, cookies and API keys — everything here runs in your browser and nothing leaves this page.
Converted codepick a target — conversion runs locally
Paste a curl command above — the converted code appears here.
Code → curlpaste a fetch(…) call and get the equivalent curl command back
fetch source
curl
Paste a fetch call to convert it.
Import from a HAR fileexport a .har from the DevTools Network tab — the file is read locally
Drop a .har file here, or click to choosePick a request, get its curl and code.
Powered by curlconverter (MIT) running in your browser — commands, tokens and HAR files never leave your device.