curl2ts 🔒 100% client-side

cURL to TypeScript

Paste a cURL command. Get typed interfaces and a production-ready client function. Runs entirely in your browser.

cURL command

Why curl2ts?

Supported cURL flags

-X / --request, -H / --header, -d / --data / --data-raw / --data-binary, --json, -u / --user, -b / --cookie, --url, plus single, double and $'…' quoting and \ line continuations (Chrome / Firefox "Copy as cURL" works).