HTTP Request Builder (cURL, fetch, Python)

Build an HTTP request with a form: URL, method, headers, body. The right pane shows the equivalent command in cURL, browser fetch, Python requests, and HTTPie. Useful for converting between formats — record a request in cURL from your browser devtools, paste here, get the requests code.

Headers

Body (JSON / form / raw)

Output

How to use the HTTP Request Builder (cURL, fetch, Python)

Fill in the URL, pick a method, add headers, set the body type and content. The output updates as you type. Switch the format dropdown to see equivalent commands in your tool of choice.

One request, many client formats

The same HTTP request looks different in every tool: a curl command, a JavaScript fetch call, Python requests code, an HTTPie line, a PowerShell invocation. Translating between them by hand is fiddly — quoting rules differ, headers move around, and JSON bodies need escaping — which is exactly the kind of busywork that introduces bugs.

Build the request once here with a form for the URL, method, headers, and body, and read the equivalent off in cURL, fetch, Python, HTTPie, or PowerShell. A common workflow is copying a request out of browser DevTools as cURL and converting it to requests code. To attach an HMAC signature for a webhook endpoint, use the webhook tester; to interpret the response headers you get back, the HTTP headers explainer.

Common use cases

  • Format conversion — turn a copied cURL command into fetch or requests code.
  • Documentation — show an API call in several languages at once.
  • Quick testing — assemble a request without remembering each tool's flags.
  • Onboarding — give teammates the call in whichever client they use.
  • Scripting — generate a starting command for a shell or CI step.

Frequently asked questions

Which output formats are supported?

cURL, JavaScript fetch, Python requests, HTTPie, and PowerShell, switchable from the format dropdown.

Can it convert a cURL command I already have?

Rebuild it from the form fields — URL, method, headers, body — and the other formats are produced for you.

Does it send the request?

No. It only generates the command or code; you run it in your own environment.

How do I sign a webhook request?

Use the webhook tester, which adds an HMAC signature header.
Embed this tool on your site

Free to embed, no attribution required (but appreciated). Paste this where you want the tool to appear: