PowerTraces

cURL to code converter

Turn a curl command into the same request in JavaScript, Python, C# or Go.

How it works

The command is read like a shell would read it: quotes, escapes and line continuations. Method, headers, body and basic auth are carried over.

Questions

Which curl options are supported?

-X, -H, -d and its variants, --json, -u and --url. Other options are ignored.

Should I keep tokens in code?

No. Move them to environment variables or a secret store before committing.

Related tools

All tools