Convert cURL commands to Code
Instantly convert curl to Python, JavaScript, Node.js and 30+ more — runs entirely in your browser.
How to copy a curl command from DevTools
Most browsers can export any network request as a ready-to-paste curl command.
Chrome / Edge
- Open DevTools (F12 or Cmd/Ctrl + Shift + I)
- Go to the Network tab and reload the page
- Right-click a request → Copy → Copy as cURL
Firefox
- Open the Network Monitor in DevTools
- Right-click a request → Copy Value → Copy as cURL
- Paste it in the input above
Safari
- Enable the Develop menu in Settings → Advanced
- Open Web Inspector → Network tab
- Right-click a request → Copy as cURL
Your data stays in your browser
We never transmit, store, or log the curl commands you paste. All parsing and conversion happens client-side using JavaScript.
Watch for secrets
Curl commands copied from DevTools often contain cookies, bearer tokens, or API keys. Never share converted code without scrubbing those values first.
Coming soon
Features we're building next to make curlcode the most useful tool in your dev workflow.
AI Explanation
Plain-English breakdown of headers, auth, body, and what the request actually does.
Fix my curl
AI-assisted repair for malformed curl commands and quoting issues.
Reverse conversion
Paste fetch, axios, or Python requests code and get the equivalent curl back.