Skip to tool content
cURL Command Builder
request.sh
curl \ -L
Request
Headers
No custom headers. Click "Add" to add one.
Authentication
Body
SSL/TLS
Connection & Output
Recipes
What is cURL?
cURL (Client URL) is a command-line tool for transferring data using various protocols, most commonly HTTP/HTTPS. It's installed by default on virtually every Linux, macOS, and modern Windows system. cURL is the de facto standard for testing APIs, downloading files, and debugging HTTP connections.
Common cURL Options
| Flag | Description |
|---|---|
| -X METHOD | HTTP method (GET, POST, PUT, DELETE) |
| -H "Header: Val" | Add custom header |
| -d 'data' | Send request body |
| -u user:pass | Basic authentication |
| -L | Follow redirects |
| -o file | Write output to file |
| -k | Skip SSL verification |
| -v | Verbose output |
Code Generation
This tool can convert your cURL command to equivalent code in Python (requests), JavaScript (fetch), Go (net/http), PHP (curl_*), Ruby (net/http), and Java (java.net.http). Select a language tab above the command output to see the generated code. You can also import an existing cURL command to populate all fields automatically.
Related Tools & Resources
JWT Decoder & Creator
Decode JWTs from API responses
JSON Formatter & Diff
Format JSON API responses
Base64 & Hex Encode/Decode
Encode/decode Base64 for API auth
SSL Certificate Decoder
Debug SSL issues with curl
Tcpdump Command Builder
Capture and analyze HTTP traffic
Runbook: Debug backend errors with curl
Step-by-step troubleshooting guide
Runbook: Diagnose timeout issues with curl
Step-by-step troubleshooting guide
Debug TLS connections with curl
Blog article