How it works
Paste a cURL command and this tool translates it into equivalent code in the language you choose: Python, JavaScript, Go, PHP, Rust, and several more. It interprets the command's URL, method, headers, body data, and authentication and builds the corresponding HTTP request.
It is ideal when you copy a cURL command from the browser console or from an API's documentation and need to bring it into your code without manually rewriting each header and parameter. The conversion is done entirely in your browser.