Skip to content
littlekit.app
All tools

fetch to cURL

Convert a static fetch call into a redacted cURL command without evaluating JavaScript.

Supports a quoted URL and a static options object with method, headers, body, or JSON.stringify({ ... }). Expressions are never evaluated.
Authorization, cookies and API-key headers stay redacted unless you explicitly opt in.
Generated cURL preview194 characters
curl \
  --request 'POST' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: [redacted]' \
  --data-raw '{"title":"Morning notes"}' \
  'https://api.example.com/v1/notes'
Processed on your device

How it works & useful details

Local-only workspace

This tool converts or inspects pasted text in your browser. It never sends a request, opens a URL, uploads a HAR, or stores your input.

Static fetch subset

Only quoted URL/string literals and static method, headers, body, and JSON.stringify values are read. No JavaScript is evaluated.