cURL to Fetch Converter
Paste a curl command and get equivalent JavaScript fetch(), axios, and a copyable request kit with .env.example, request.http, and a Node smoke test. Handles headers, request bodies, HTTP methods, and authentication placeholders in your browser.
Ctrl+Enter to run | Ctrl+K to switch tools | Recent button shows input history
Repeating this work? Turn this kind of browser utility into an API batch, MCP prompt, extension workflow, or shared team recipe.
Buy Pro Browse tool packsFAQ
Where can I get a curl command?
In Chrome DevTools → Network tab, right-click any request → Copy → Copy as cURL. Any API documentation that shows curl examples works too.
What is in the request kit?
The request kit includes environment placeholders, a REST Client style request.http file, and a small Node smoke test so you can turn a copied API request into a repeatable local check.
Does this support all curl flags?
-X (method), -H (headers), -d and --data (body), -u (basic auth), --data-raw, and --data-urlencode are supported. Less common flags like --cert or --proxy are noted but not converted.