cURL Command Generator

Fill in URL, HTTP method, headers, and body to generate a copy-ready cURL command.

How to use

  1. Enter the request URL and select HTTP method.
  2. Add headers (one per line, Key: Value format) and optional body.
  3. Copy the generated cURL command.

Frequently asked questions

Does this send the request?

No. This only generates the cURL command string. Run it in your terminal to execute.

How do I add headers?

One header per line in Key: Value format, e.g. Content-Type: application/json

Can I generate POST requests?

Yes. Select POST/PUT/PATCH and enter a request body.

Is my data sent to a server?

No. Command generation happens entirely in your browser.

Last updated

Powered by maratool