cURL to Axios Converter
Convert cURL commands to Axios.js JavaScript code. Supports headers, request body, auth, cookies, and all common cURL flags.
Looks like this contains credentials. They are converted in this tab only — not uploaded, and not included in the link that Share or Copy link produces.
About cURL to Axios Converter
cURL is the universal command-line HTTP client, but Axios is often preferred in JavaScript and Node.js projects for its promise-based API and interceptor support. This converter parses your cURL command and generates the equivalent Axios call — including headers, JSON body (formatted as a JS object), basic auth via the auth option, and cookies. Paste any cURL command copied from browser DevTools or API documentation and get ready-to-use Axios code instantly.
Private & free — this tool runs entirely in your browser.