Keep the request details
Convert methods, headers, inline request bodies, JSON, form data and Basic authentication. GET query parameters are supported with -G.
Turn cURL requests into C# HttpClient or JavaScript Fetch code.
Turn an HTTP request into C# HttpClient or JavaScript Fetch. Paste, convert, copy.
Use POSIX quotes and \ line continuations. Remove real credentials before sharing generated code.
.NET 6+ · Console application
Convert methods, headers, inline request bodies, JSON, form data and Basic authentication. GET query parameters are supported with -G.
Your command stays in this page. This tool does not execute cURL, contact the target URL or save your input.
File uploads, multipart forms, shell variables and unsupported flags produce an explicit error. Browser Fetch still follows CORS rules. Review the output before using it.
Choose a language and copy the result. C# output targets a .NET 6+ console app. Fetch output uses top-level await in a JavaScript module, or can be placed inside an async function.
No. Conversion only produces text. Requests run when you execute the generated code in your own environment.