cURL to Fetch

Convert cURL commands to fetch().

Loading tool…

How it works

  1. Paste a cURL command.
  2. Click Convert.
  3. Copy the fetch() snippet.

Features

  • Headers and body support
  • Method detection
  • Readable fetch output
  • Local conversion

FAQ

Which cURL flags are supported?

Common flags like -X, -H, -d, -u, -A, and -k are parsed.

Is my command uploaded?

No. Parsing runs in your browser.