cURL Command Builder
Enter the method, URL, parameters, headers, JSON body, and auth, and get a ready curl command with correct quoting. Handy for quick API tests.
The command is for bash, zsh, and Git Bash.
How to Use It
- Type the method and the URL.
- Add the parameters, headers, body, and authentication.
- Copy the command, and run it in a terminal.
Questions and Answers
Why are some values in single quotes?
The shell reads spaces, $, and other special characters. Single quotes keep the value as it is.
Is my token stored anywhere?
No. Everything stays on this page, and it is gone when you close it.
Good to Know
The tool does not send the request. The command is for POSIX shells (bash and zsh). The multipart form sends values as text, not as files.
Related Tools
- URL Parser and InspectorSplit a URL into scheme, host, path, and parameters, read internationalized domains (Punycode), and see the signs of a deceptive link.
- HTTP Header ParserPaste HTTP headers from the browser developer tools or curl to see each one explained, and to check the security headers and cookies.
- HTTP Status Code ReferenceEvery HTTP status code, from 200 and 301 to 404 and 503, with its name and a short explanation; search by code or word.
Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)