Convert curl commands to JavaScript fetch() code. Useful for API testing. Runs in your browser.
Multi-line curl with backslashes is supported. Converts after you stop typing.
Result will appear here.
Explore these related free tools to enhance your productivity and workflow.
URL, -X/--request (method), -H/--header (headers, quoted or unquoted), -d/--data/--data-raw/--data-binary, --url, --form/-F, --data-urlencode, --cookie, --user. Multi-line curl with backslashes is supported. --location, --compressed and similar are ignored safely.
Conversion runs entirely in your browser. No data is sent to any server. Still, avoid pasting production secrets in shared environments.