πŸ” Utilities

cURL to Code Converter

Paste any curl command and convert it to Python (requests), JavaScript (fetch & axios), Go (net/http), PHP (Guzzle), Ruby (Net::HTTP) and more β€” with full support for headers, auth, request body and query parameters.

⌨️ cURL Command
GET request POST JSON Bearer auth Form upload Custom headers Basic auth
πŸ“‹ Generated Code
Paste a curl command above to generate code…
πŸ“– How to Use This Tool
β–Ό
1
Paste a curl command into the input
2
Select target: Python, JS Fetch, Go, PHP, Ruby
3
View parsed request summary
4
Copy the generated code
πŸ“ Examples
POST
Input: curl -X POST -d '{}'
Output: requests.post(url, json=data)