Free online cURL to code converters
Turn cURL commands from API docs or your browser’s network tab into working HTTP client code in Python, JavaScript, TypeScript, Go, PHP, Ruby, Java, C#, Swift, Kotlin and Rust. All 11 tools are free, need no sign-up and run entirely in your browser.
cURL to Python
Turn cURL commands into Python (requests) code
cURL to JavaScript
Turn cURL commands into JavaScript (fetch) code
cURL to TypeScript
Turn cURL commands into TypeScript (fetch) code
cURL to Go
Turn cURL commands into Go (net/http) code
cURL to PHP
Turn cURL commands into PHP (cURL) code
cURL to Ruby
Turn cURL commands into Ruby (Net::HTTP) code
cURL to Java
Turn cURL commands into Java (HttpClient) code
cURL to C#
Turn cURL commands into C# (HttpClient) code
cURL to Swift
Turn cURL commands into Swift (URLSession) code
cURL to Kotlin
Turn cURL commands into Kotlin (OkHttp) code
cURL to Rust
Turn cURL commands into Rust (reqwest) code