Ana sayfa
Tom Utilities

cURL'den koda dönüştürücü

HTML, CSS ve JavaScript

curl komutunu çalıştırılabilir JavaScript fetch, Node.js, Python requests veya PHP cURL koduna çevirin.

Nasıl kullanılır

Using the generated code

Paste any curl command, including multi-line commands with backslashes, then choose the target language. Headers, the HTTP method and the request body are preserved.

  1. Copy a curl command from an API's documentation.
  2. Paste it and pick a language.
  3. Copy the snippet into your project.

Sık sorulan sorular

Which curl options are supported?

Requests, headers, data, user credentials, cookies and common flags. Options that do not change the request, such as -s or -L, are ignored.

Is my command sent anywhere?

No, the parsing and code generation run entirely in the browser.