OmniTool
中文

cURL Command Builder

Build a curl command without memorizing its syntax. Pick a method, paste the URL, add headers as key-value lines, optionally include a request body, and toggle flags like -i, -k and --compressed. The final command is generated live and copyable in one click.

🔒 Privacy: all processing happens locally in your browser. Nothing is uploaded.

Full URL including scheme.

curl -X POST \
  'https://api.example.com/v1/users' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <token>' \
  --data-raw '{"name": "Alice", "age": 30}'

Request body is sent with --data-raw. Add a Content-Length or rely on curl automatic behavior.

Related tools