Curl to Axios Converter

Generate Axios HTTP client code from curl

Paste curl and get a single axios config object with method, url, headers, data, and auth when applicable.

From the blog
Cursor Skills: How to Create and Use Agent Skills

A practical guide to Cursor Agent Skills: write your first SKILL.md, scope it with paths, add scripts, and ship reusable workflows your AI agent runs on demand

Read

Developer tools Latest posts Explainers

Supports multi-line commands with \ line continuations. Conversion runs as you type.

Convert to:

Example curl commands

Supported output targets

LanguageLibraryLanding page
Python requests or httpx curl to Python
PHP curl extension or Guzzle curl to PHP
Go net/http curl to Go
JavaScript axios curl to Axios
Java OkHttp curl to Java
C# HttpClient curl to C#
PowerShell Invoke-RestMethod curl to PowerShell

curl to Axios FAQ

Node or browser?

Output uses require('axios') for Node. In the browser, use import axios from 'axios' instead.

Multipart uploads?

Uses form-data package with fs.createReadStream for -F @file parts.