Paste a simple curl command and get an equivalent fetch() call.
Supports -X, -H, -d/--data, -u and the URL. Flags such as --compressed or -L are ignored. Review the output before use; secrets in your command stay in your browser.
Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter
More free tools: 150+ free online calculators · Free printable planners