Generate
Curl Command Builder
Fill in the request details and get a copy-ready curl command. The command is generated locally in your browser — nothing is sent anywhere.
Generate
Fill in the request details and get a copy-ready curl command. The command is generated locally in your browser — nothing is sent anywhere.
Walkthrough
Use cases
Replicating a browser request. Grab the URL, method, and headers from DevTools and rebuild the exact request as a curl command.
Testing an API in a script. Build a curl one-liner for a CI pipeline or a documentation example without hand-typing quotes and flags.
Sharing a reproducible request. Paste a copy-ready command into a bug report or a teammate's chat — headers and body included.
FAQ
No. It only builds the curl command text, which you run yourself in your own terminal. Your URL, headers, and body never leave this tab.
--data-raw sends the body exactly as written, without curl stripping or interpreting characters like @ or newlines the way -d can.
The generated command uses single quotes and is safe to paste into bash, zsh, and most Unix-like shells. On Windows, paste it into Git Bash, WSL, or PowerShell 7+.
Related