Skip to content
littlekit.app
All tools

cURL to fetch

Convert a bounded cURL command into a redacted, reviewable fetch request without sending it.

Supports URL, -X/--request, -H/--header, -d/--data, --url, -u and -I. Shell substitutions and unsupported flags are rejected.
Authorization, cookies and API-key headers stay redacted unless you explicitly opt in.
Generated fetch preview206 characters
fetch("https://api.example.com/v1/notes?limit=10", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "[redacted]"
  },
  body: "{\"title\":\"Morning 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.

Supported cURL syntax

Use basic quoted arguments with one HTTP(S) URL plus -X, -H, -d, --url, -u, or -I. Shell variables, command substitutions, multipart files, and unsupported flags are rejected rather than interpreted.