cURL Converter

Convert curl commands to fetch or Python.

curl command

Paste anything copied from your terminal or browser devtools.

MethodPOST
URLhttps://api.example.com/v1/users
Content-Typeapplication/json
AuthorizationBearer sk_live_123
Body{"name":"Ada Lovelace","role":"admin"}

Code

Everything runs locally — the request is never sent.