cURL Converter
Convert cURL commands into fetch, Axios, HTTPie, Python, Node.js, Go or PHP.
Code generation and parsing run locally in your browser. Clicking Send dispatches your URL, headers, and request body directly from your browser via fetch() to the target endpoint (never proxied through PufferKit).
How to use cURL Converter
Paste any cURL command (including multiline backslash continuations, -X, -H, -d, -u, --json) and click Import into request.
Inspect parsed headers/body or stay on the Code tab and pick fetch, Axios, HTTPie, Python, Node.js, Go, or PHP.
Copy the translated snippet directly into your project.
Frequently asked questions
How are -u user:pass credentials translated?
Basic auth credentials convert automatically into an Authorization: Basic <base64> header.
Are -G / --get flags handled?
Yes. With -G, data parameters append onto the URL query string cleanly under GET.