cURL Command Generator

Build a cURL command from a method, URL, headers, and body.

Loading tool…

About this tool

Fill in an HTTP method, URL, headers, and request body to generate a ready-to-run cURL command — no request is actually sent.

How to use

  1. Select the HTTP method and enter the URL.
  2. Add any headers and a request body if needed.
  3. Copy the generated cURL command.

FAQ

Does this send the request?

No, this only generates the command text for you to run yourself in a terminal.

Can it handle JSON bodies?

Yes, paste a JSON body and it will be properly escaped and quoted in the generated command.