cURL to Axios Converter
Convert cURL commands to Axios.js JavaScript code. Supports headers, request body, auth, cookies, and all common cURL flags.
Axios code will appear here...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.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.