cURL to Code Converter
Paste a cURL command and get the equivalent code in JavaScript, Python, Go or PHP as you type.
The cURL to Code Converter parses your cURL command (method, headers, cookies, request body, multipart form fields and basic auth) and generates equivalent code for JavaScript (fetch), Python (requests), Go (net/http) and PHP (cURL). Options it cannot convert are listed as warnings. No data leaves your browser.