cURL Converter
Turn any curl command into fetch, Python, Go, PHP, or Rust.
Runs in browser
Use from your agent
Streamable HTTP at https://benchline.fabwaseem.com/mcp. No key. The tool name is convert_curl.
mcp.jsonjson
1{
2 "mcpServers": {
3 "benchline": {
4 "url": "https://benchline.fabwaseem.com/mcp"
5 }
6 }
7}
tools/calljson
1{
2 "jsonrpc": "2.0",
3 "id": 1,
4 "method": "tools/call",
5 "params": {
6 "name": "convert_curl",
7 "arguments": {
8 "command": "example",
9 "target": "fetch"
10 }
11 }
12}
Related tools
- HTTP headersFollow redirects and grade the security headers on a public URL.HTTPMCPNew
- URL encoder and parserEncode or decode a URL, then break the query string into parameters.URLsMCPNew
- JSON formatterPretty-print, minify, and validate JSON, with the exact line and column when it fails.JSONMCPNew
- GraphQL ClientQuery any GraphQL endpoint with variables, headers, and history.HTTPMCPNew
How it works
Free curl converter. Paste a curl command and get equivalent code for JavaScript fetch, Python requests, Go net/http, PHP cURL, and Rust reqwest. Headers, bodies, basic auth, and common flags are translated automatically.
- 01
Paste the curl command
Drop in a curl command, including multi-line ones with backslash continuations.
- 02
Pick the target
Switch between fetch, Python, Go, PHP, and Rust tabs.
- 03
Copy the snippet
Each tab has copy and download buttons. Check the warnings for ignored flags.