Quick access

cURL Generator

Build and visualize cURL commands from form inputs.

cURL Command

Quick Headers

Presets

About the cURL Generator

cURL is a command-line tool for sending HTTP requests. The generator builds the full command, with headers, authentication, and a JSON body, from a simple form.

How to use it

  1. 1 Enter the URL and choose the method.
  2. 2 Add headers and a request body.
  3. 3 Copy the cURL command and run it in your terminal.

Frequently asked questions

How do I send JSON with cURL?

Add -H "Content-Type: application/json" and pass the body with -d '{"key":"value"}'.

How do I add a bearer token?

Add the header -H "Authorization: Bearer YOUR_TOKEN".

Does cURL work on Windows?

Yes. Windows 10 and later include curl.exe. In PowerShell, use double quotes and escape inner quotes, or run it in Git Bash.