cURL Command Builder
- Files never leave your device
- Runs in your browser
- Free, no sign-up, no watermark
Import a curl command
Request
Output
How to use cURL Command Builder
Build a curl command from a method, URL, headers, body, and auth, or import one copied from your browser's DevTools to edit it. The same request can be written as curl, fetch(), Python requests, HTTPie, or wget. The page never sends the request.
- 1
Choose the Method and enter the URL, or paste an existing command under Import a curl command and click Import.
- 2
Fill in the Params, Headers, Body, Auth, and Options tabs.
- 3
Pick an Output: curl, fetch(), Python, HTTPie, or wget. For curl, choose the Shell: bash / zsh, PowerShell, or Windows cmd.
- 4
Copy the generated command and run it in your terminal or code.
Frequently asked questions
Does this tool send my request?
No. It only writes commands, and nothing leaves your browser. Credentials you enter stay in the tab and are never saved.
How do I import a request from Chrome or Firefox?
In DevTools, right-click a request in the Network panel and choose Copy as cURL, then paste it under Import a curl command. Options the builder doesn't support are listed as ignored.
Why does the PowerShell version use curl.exe?
In PowerShell, curl is an alias for a different command. curl.exe calls the real curl. Embedded double quotes pass through correctly in PowerShell 7.3 and later.
Can I send a file upload?
Yes. Set Body to Multipart and add a File field with the path to the file on your computer; the command reads the file from that path when you run it.
Which body types are supported?
None, JSON, Form URL-encoded, Multipart, and Raw. JSON bodies are checked as you type, and a Format button tidies them.