SiteTidy
Home /Tools /HTTP Request to cURL

HTTP to cURL Converter

Paste your raw HTTP request from DevTools, Burp Suite, or logs, and get a ready-to-run cURL command.

HTTP Request to cURL

Instantly convert raw HTTP requests (like those captured from Chrome DevTools or proxy logs) into fully executable curl commands.

Raw HTTP Request

cURL Command

terminal

Valid cURL command will appear here once you paste a proper HTTP Request.

Why use this tool?

Often when debugging APIs, security testing, or reading network logs, you encounter raw HTTP requests. Manually converting these into a format that can be easily replayed in your terminal (like cURL) is tedious and error-prone. This tool automates the process, safely escaping characters and handling headers.

Supported Formats

The tool expects standard raw HTTP request formatting:

POST /api/login HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer mytoken

{"username": "admin", "password": "password"}

Note: The empty line between the headers and the body is required, as per the HTTP specification.

Related Guides

Deepen your understanding with our expert articles.