DevTools

cURL ↔ Fetch

Turn a curl command into standard fetch(), or a fetch call back into curl. Anything that does not translate is listed, not dropped.

Converted in this tab; requests are never sent.

cURL → FetchFetch → cURL
fetch()

Paste something on the left.

Note: fetch follows redirects by default; curl only does with -L.