cURL Command Parser
Parse a curl command into method, URL, headers, and body.
curl command
Structured breakdown
Query params
| Key | Value |
|---|---|
| active | true |
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Cookies
| Name | Value |
|---|---|
| session | abc123 |
Body
{"name":"Ada"}JSON representation
{
"method": "POST",
"url": "https://api.example.com/users",
"query": {
"active": "true"
},
"headers": {
"Content-Type": "application/json"
},
"cookies": {
"session": "abc123"
},
"body": "{\"name\":\"Ada\"}",
"forms": [],
"compressed": false,
"auth": null
}Capture real responses from any site with API Inspector
Our free browser extension lists every API request a page makes — JSON, XML, CSV, HTML and media — and opens each one in the right Coders Hub tool with a single click.
About the cURL Command Parser
Paste a curl command and get a structured breakdown of its method, URL, query parameters, headers, cookies, form fields, and body, plus a JSON representation. This is the reverse of converting curl to fetch.
Examples
POST with headers
Shellcurl -X POST https://api.example.com -H 'Content-Type: application/json' -d '{"a":1}'Output
JSON{"method":"POST","url":"https://api.example.com"}Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
cURL to Fetch Converter
API & HTTP
Convert a curl command into JavaScript fetch() code.
GraphQL Query Formatter
API & HTTP
Format and indent GraphQL queries and mutations.
GraphQL Schema Viewer
API & HTTP
Browse a GraphQL SDL schema's types, queries, and mutations.
HTTP Request Builder
API & HTTP
Send live API requests and generate curl, fetch, axios snippets.
Webhook Request Inspector
API & HTTP
Inspect a pasted webhook request and verify its HMAC signature.
WebSocket Tester
API & HTTP
Open a live WebSocket connection, send frames and read replies.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-10 · Runs entirely in your browser