ToolBuddy
In Browser

cURL to Code

Convert a curl command into JS fetch, Node http, Python requests, PHP curl, or axios. Parsing is local and covers -X, -H, and --data.

Runs in your browser. Nothing is uploaded.

Target

0 characters · 0 lines

0 characters · 0 lines

About this tool

Parse curl -X, -H, and --data into JS fetch, Node http/https, Python requests, PHP curl, or axios. Quoted tokens are supported.

How to use: paste curl, pick a target, copy. Flags such as --compressed are ignored.

Example: a POST with JSON becomes fetch, a Node request, requests.request, or curl_init. Related: cURL generator to build the command first.

Related Ops tools