cURL Command Parser

Parse a curl command into method, URL, headers, and body.

Support
Works Offline
Privacy First
No Login
No API

curl command

Structured breakdown

POST
https://api.example.com/users

Query params

KeyValue
activetrue

Headers

NameValue
Content-Typeapplication/json

Cookies

NameValue
sessionabc123

Body

JSON
{"name":"Ada"}

JSON representation

JSON
{
  "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.

Get the extension

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

Frequently asked questions

Version 1.0.0 · Updated 2026-08-10 · Runs entirely in your browser