HTTP Request Parser

HTTP Request Parser

Paste a raw HTTP request to parse method, path, HTTP version, query parameters, headers, and body; convert between cURL commands and JavaScript fetch() code in either direction; or convert a Postman/Insomnia collection to cURL commands or an OpenAPI skeleton.

Paste a raw HTTP request on the left to parse it

Parse raw HTTP request text, convert between cURL and Fetch API syntax, convert Postman collections to cURL/OpenAPI (and back), or build a GraphQL request and generate cURL/Fetch/Axios/Python/HTTPie/PowerShell/Go code for it.

HTTP Request Parser

Paste a raw HTTP request to parse method, path, HTTP version, query parameters, headers, and body; convert between cURL commands and JavaScript fetch() code in either direction; or convert a Postman/Insomnia collection to cURL commands or an OpenAPI skeleton.

Common uses

  • Parse a raw HTTP request copied from DevTools
  • Convert a cURL command to fetch() or paste fetch() to get cURL
  • Convert a Postman collection export to cURL commands
  • Generate an OpenAPI skeleton from a Postman collection

Frequently asked questions

Can I use HTTP Request Parser to parse a raw HTTP request copied from DevTools?

Yes. HTTP Request Parser can parse a raw HTTP request copied from DevTools, directly in your browser.

Can I use HTTP Request Parser to convert a cURL command to fetch() or paste fetch() to get cURL?

Yes. HTTP Request Parser can convert a cURL command to fetch() or paste fetch() to get cURL, directly in your browser.

Can I use HTTP Request Parser to convert a Postman collection export to cURL commands?

Yes. HTTP Request Parser can convert a Postman collection export to cURL commands, directly in your browser.

Is my data uploaded to a server?

No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.