cURL to Code Converter

Convert cURL commands into JavaScript fetch, Axios, and Python requests.

Request converter

Paste a cURL command and choose your target language.

Supports common URL, method, header, data, cookie, user-agent, and basic-auth options.

Generated code

Review the output before using it in your application.

Converted code will appear here.

Detected POST https://api.example.com/users