Developer ToolsDebugging ToolsFree Tool
cURL to HTTP
Parse a real curl command into its equivalent raw HTTP request format (method, path, headers, body).
How to Use cURL to HTTP
- 1Paste your curl command
- 2Click Process
- 3Review the equivalent raw HTTP request format
Frequently Asked Questions
It genuinely parses it — extracting the URL, -X method, -H headers, and -d body via pattern matching, then reconstructs the equivalent raw HTTP request line, Host header, and body.
Only -X (method), -H (headers), and -d (data/body) are parsed; other flags (like -u for auth or --cookie) are ignored, so the reconstructed request may be incomplete for complex commands.
No — it's a pure text transformation; nothing is sent anywhere.
It shows an error message asking you to ensure the command starts with `curl 'https://...'`.
Related Tools
Regex Tester
Test a regex pattern against sample text and see every match, using the real JavaScript regex engine.
Regex Debugger
Test a regex against sample text and see each match with its index position and any named/numbered capture groups.
Regex Replace
Run a real find-and-replace on text using a regex pattern and replacement string.
Regex Split
Split text into parts using a regex pattern as the delimiter, and see each resulting piece.