Request Converter

Convert between cURL, Fetch, and Axios.

Paste a request snippet and convert it to another format. Best for common cases with method, headers, and JSON payloads.

Inputs cURL / Fetch / Axios
Outputs cURL / Fetch / Axios
Runs Locally in your browser

Input

Tip: this converter focuses on common patterns (method, URL, headers, JSON body).

Output

Waiting for input
--

Conversion tips

Headers

Ensure header casing matches your server expectations, especially auth headers.

JSON bodies

When sending JSON, include Content-Type: application/json.

Query params

Keep query strings in the URL so each format preserves them correctly.