Why convert cURL to code?
Browser Network panels and API docs often expose requests as cURL. Translating flags, headers, and bodies into idiomatic client code is tedious and error-prone.
This converter parses common cURL options locally and emits ready-to-paste snippets for fetch, Axios, Python requests, Go net/http, Node, and Java HttpClient.
How to use this tool
- Paste a cURL string (line continuations with \\ are supported).
- Choose an output language/runtime.
- Copy the generated snippet. Share via URL hash for small payloads.
Frequently asked questions
Is my cURL uploaded?
No. Parsing and codegen run entirely in your browser.