Everyday Tools
Search

curl Command Generator

Build a properly-escaped curl command from an HTTP method, URL, headers and request body, without memorizing curl's flags.

Headers

curl command

curl \
  'https://api.example.com/users' \
  -H 'Content-Type: application/json'

Processing happens locally in your browser. Nothing you enter is uploaded.

How It Works

Choose a method, enter the URL, add any headers and a request body if needed — the curl command updates live below.

Example

A POST to https://api.example.com/users with a JSON body generates: curl -X POST 'https://api.example.com/users' -H 'Content-Type: application/json' -d '{...}'

Frequently Asked Questions

Does this send the request?
No — it only builds the command text for you to copy and run yourself.
Is my data uploaded anywhere?
No — the command is built entirely in your browser.

Related Tools