cURL Builder
Turn a small JSON description of a request into a cURL command you can paste into a terminal.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your request JSON, then click “Run tool”.
Type, paste or drop a file
JSONLn 1, Col 1Spaces: 2UTF-854 bytes
Output
cURL command (read-only).
Read-only
JSONLn 1, Col 1Spaces: 2UTF-80 bytes
Using the cURL Builder
Overview
Turn a small JSON description of a request into a cURL command you can paste into a terminal.
Turn a request you can describe into a command you can paste into a terminal or share in a bug report.
How to use it
- Paste or type your JSON into Input, drop a file onto it, or press Example to load a sample.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Request JSON.
Output
cURL command.
- Method, URL, headers and body
- Shell-safe single quoting
- JSON bodies serialised for you
- Rejects unsafe methods and URLs
Tips
- Describe a request as JSON with method, url, headers and body.
- A generated command is text: read it before you run it.
- Query parsing accepts a full URL or a bare query string.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar