Zum Inhalt springen

🌀 cURL ⇄ fetch / axios / wget Konvertierung

Konvertiert cURL-Befehle in HTTP-Request-Code für verschiedene Sprachen und Bibliotheken. Bewahrt Header, Cookies und Request-Body.

100% Free No signup Browser-only 5 languages Dark mode

Unterstützte <code>cURL</code>-Optionen

-X, --request
-H, --header
-d, --data
--data-raw
--data-binary
--data-urlencode
-u, --user
-b, --cookie
-A, --user-agent
-e, --referer
-F, --form
--compressed
-k, --insecure
-L, --location
-I, --head

🔗 Verwandte Tools

📖 Wie man es benutzt

  1. 1
    Copy from DevTools
    In Chrome/Firefox DevTools Network tab, right-click any request → Copy as cURL.
  2. 2
    Paste the cURL
    Paste the cURL command. Multi-line backslash-continued commands are handled.
  3. 3
    Pick target language
    Choose from 13 targets: fetch, axios, Python requests, Go net/http, etc. Headers, cookies, body are preserved.

❓ Häufig gestellte Fragen

Is it fully compatible with DevTools Copy as cURL?
Yes. We support -X / -H / -d / --data-raw / --data-binary / --data-urlencode / -u / -b / -A / -e / -F / --compressed / -k / -L / -I and ANSI-C quoting. Chrome and Firefox output works as-is.
I want urllib instead of requests for Python
Pick "Python (urllib)" for a pure stdlib output — useful when you want to avoid extra dependencies (e.g., CI scripts).
How is multipart/form-data (-F) handled?
Each language gets its idiomatic form: JavaScript fetch → FormData, Python requests → files=, PHP cURL → CURLOPT_POSTFIELDS array.
How should I manage the Authorization token?
In production, store tokens in environment variables or a Secrets Manager — never commit them. Replace the token in our output with a placeholder before committing.
🐛 Sind Sie auf ein Problem mit diesem Tool gestoßen?

Vollständig kostenlos und ohne Registrierung. Auch Reproduktionsschritte sind ausreichend. Eingegangene Berichte werden direkt an die Betreiber weitergeleitet und dienen als Referenz für Korrektionen.

※ Um Probleme zu reproduzieren, werden Browser-Informationen (UA / Bildschirmgröße / Sprache / URL) automatisch gesendet