cURL Parser
About this tool
Logs and docs often paste a full curl. This online cURL parser extracts method, URL, headers, and body, then formats a standard HTTP Request. Use the online cURL generator when you need to build a command from a request.
Features
- Splits method, URL, headers, body
- Compare docs with the real command
- Local; tokens in the command stay here
How to use
- Paste a curl command on the left. Line continuations and -X / -H / -d are supported.
- Inspect Method, URL, Headers, Body, and the reconstructed HTTP Request on the right.
- Copy the request text or JSON. Open the online cURL generator to build a command again.
When to use it
- Someone pasted a long curl
- Import into the API debugger
- Check duplicate -H or a missing Authorization
Examples
- curl -X POST https://api.example.com -d '{"a":1}' yields POST and a JSON body.
- Repeated -H flags become a header table.
FAQ
Is the command uploaded?
No. Parsing stays in the browser.
How is this different from the cURL generator?
This page is curl → HTTP Request. The online cURL generator builds a curl command from a request.
Back to DevOps Tools Hub