Paste a cURL command and get a ready-to-use fetch() snippet. Runs entirely in your browser.
API docs and support tickets often ship as cURL. Front-end and Node developers usually want fetch(). Hand-translating headers and JSON bodies is error-prone.
This converter parses common cURL flags client-side and emits a starter fetch call.
\ are fine).-X / --request, -H / --header, -d / --data*-u basic auth, -A user-agent, --url, -INo. It only generates code. Use the API Tester tool if you want to fire a request.
Parsing is local. Do not paste production secrets into public machines. Privacy Policy.