§ htark / tools

§ curl

curl.

Paste a curl command, see it broken down into method, URL, headers, body, and auth. Then re-emit as fetch (for browser / Node), Python requests, or HTTPie — whichever language you're reaching for next.

handles
shell-style quoting (single + double), backslash escapes, line continuations. parses -X, -H, -d / --data / --data-raw / --data-binary, -u, -A / --user-agent, -e / --referer, -G.
does not handle
multi-part forms (-F), file uploads (@filename), --data-urlencode interpretation, cookies (-b), OAuth, certificate flags.