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 fetch (JavaScript)

Paste a curl command — straight from a README or from DevTools’ Copy as cURL — and get an equivalent fetch() call: method, headers and body mapped into the options object, query string preserved, JSON bodies passed through JSON.stringify rather than pasted as fragile string literals.

Some curl flags are no-ops in a browser and the output says so instead of faking them: --compressed is automatic (browsers negotiate encoding themselves), and a -b cookie jar becomes an explicit Cookie header — which browsers only honour from extensions or same-origin contexts, so the note matters.

Toggles add what production code needs anyway: an async/await wrapper, response-status error handling (fetch does not reject on a 404 — a real gotcha), and TypeScript typing.

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.