Code and data

curl Converter

Paste a curl command and convert it to JavaScript fetch, Python requests or Node.js code.

  • Free
  • Runs in your browser: nothing is sent
  • API: 120 runs a minute without an account
  • No sign-up

Trycurl -X POST https://api.ex…curl https://openvibe.netwo…curl -I https://example.com

About curl Converter

Take a curl command — including one copied straight from your browser's network tab — and turn it into equivalent code, with headers, method and body carried across.

  • Converts to fetch, Python requests and Node.js
  • Preserves headers, method, body and authentication
  • Works with "Copy as cURL" output from browser devtools
Questions · 2

Where do I get a curl command to convert?

In any browser's devtools, right-click a request in the Network tab and choose "Copy as cURL". Paste it here to get code.

Are my headers sent anywhere?

No. The conversion is pure text processing in your browser, so authorization headers stay local.

Use it from code · API

Input: command, to. No account needed within the free limit; a token with tools.tool.run raises it.

curl -X POST https://openvibe.tools/api/v1/tools/curlconvert/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"command":"curl -X POST https://api.example.com -d x=1"}}'

JSON Schema · OpenAPI · API docs