.http → cURL converter
Paste a .http request — file-level @variables and {{refs}} included — and get a ready-to-run cURL command. It all happens in your browser: nothing is uploaded.
Converts automatically as you type — nothing leaves your browser.
Your cURL command will appear here.
What it does
- Resolves file-level @variables and {{refs}}
- Emits one curl per request in a ###-separated file
- Maps headers to -H and the body to --data-raw
- Omits -X for plain GET requests
- POSIX/bash quoting; on Windows cmd, swap \ for ^
Next steps
Run the command in any terminal — or skip the round-trip and keep your requests as .http files. New to the format? Read the .http guide.
Going the other way? cURL → .httpCommon questions
How do I convert a .http request to cURL?
Paste the request above — it's parsed in your browser into a ready-to-run cURL command. A file with several ###-separated requests produces one curl per request.
Does it resolve @variables and {{refs}}?
Yes. File-level @name declarations are substituted everywhere they're referenced, so the command comes out with real values, not placeholders.
Will the cURL command run on Windows?
The output is POSIX/bash quoted, so it runs as-is in Git Bash, WSL, PowerShell, macOS, and Linux. On Windows cmd, swap the trailing \ for ^.
Is my .http request uploaded anywhere?
No. Conversion runs entirely in your browser — nothing you paste leaves your machine.
Keep your requests as .http files.
Karve is a native Windows workspace for .http files — organize them across repos and run them without leaving the app.
15-day free trial · No account · No subscription · No metered requests
25% off until Sep 1