curl → Code Converter

Convert a curl command into JS fetch, PowerShell or .NET HttpClient code.

About this tool

Paste a `curl` command and instantly get the equivalent JavaScript fetch(), PowerShell Invoke-RestMethod or .NET HttpClient code.

An unhandled error has occurred. Reload ×