Paste a curl command — the kind you copy out of your browser's "Copy as cURL" menu, a Burp request, or an API doc page — and this tool emits the equivalent code in Python (requests), JavaScript (fetch), Node.js (native http), PHP (curl), or Go (net/http). Method, headers, JSON / form / url-encoded bodies, basic auth, and cookies all carry across.
Parsing is done by a small shell tokenizer that runs entirely in your browser — no request bodies are sent to a server. Bearer tokens, cookies, and credentials in your curl command stay local.
import requests
headers = {
"Authorization": "Bearer eyJhbGc...",
"Content-Type": "application/json",
}
data = "{\"name\": \"test\", \"qty\": 3}"
response = requests.post("https://api.example.com/v1/widgets", headers=headers, data=data)
print(response.status_code)
print(response.text)Right-click a request in Burp, copy as curl, paste here, and you have a working Python/Node script for fuzzing, retesting, or PoC writing.
"Copy as cURL" in Chrome / Firefox network tab, paste here, get production-ready code for whatever language your service is in.
Vendor docs almost always show curl examples. Drop them here for instant idiomatic code in your stack.