cURL → Code
Convert a curl command into JavaScript (fetch), Python (requests) or PHP (cURL).
Output
Best-effort parser for common options (-X, -H, -d). Touch up complex commands manually.
Daily limit for this tool reached. An account or Premium unlocks higher limits.
How it works
- Paste a curl command
- Choose the target language
- Copy the code