100% free forever · No sign-up or account, ever · We store none of your data · Files never leave your deviceFree forever · No account, ever · No data stored
💻 Dev tools

cURL to Code

cURL → fetch, axios or Python requests.

Free foreverNo account, everNo data stored

cURL to Code · SaralKit ↗

Guide & FAQ

Convert a cURL command (from Postman, Chrome DevTools or API docs) into JavaScript fetch, Axios or Python requests code. Free and private.

🆓 Free forever👤 No account, ever🔒 No data stored🔒 Runs on your device⚡ Instant🆓 No limits

In Chrome DevTools, right-click a request in the Network tab and choose Copy → Copy as cURL, then paste it here.

Example

Input
curl -X POST 'https://api.example.com/v1/notes' \
  -H 'Authorization: Bearer TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"title":"Exam prep","done":false}'
Result
const response = await fetch("https://api.example.com/v1/notes", {
  method: 'POST',
  headers: {
    "Authorization": "Bearer TOKEN",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "title": "Exam prep",
    "done": false
  }),
});
const data = await response.text();
console.log(response.status, data);

How to use the cURL to Code tool

  1. Paste or type your text in the box (or open a file).
  2. Pick the options you need. The result updates as you type.
  3. Copy or download the result.

Why SaralKit?

  • Free forever: no "credits", no trial, no premium tier, no watermark and no daily limit.
  • No account, ever: nothing to sign up for. Just open the page and use it.
  • No data stored: your files and the numbers you type are processed by your own browser. We never upload, store or see them.
  • Works offline: once the page has loaded, most tools keep working without internet.
  • Check it yourself: open your browser's Network tab while you use a tool. Your file is never sent.

Frequently asked questions

Is my text sent anywhere?

No. It is processed by your browser on your own device and never uploaded or stored.

Esc