Open the
Network
tab in the
DevTools
Right click (or Ctrl-click) a request
Click "Copy" →
"Copy as cURL"
"Copy as cURL (
bash
)"
Paste it in the
curl command
box above
This also works in
Safari
and
Firefox
.
Warning
: the copied command may contain cookies or other sensitive data. Be careful if you're sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Safari
Open the
Network
tab in the
Developer Tools
Right click (or Ctrl-click or two-finger click) a request
Click "Copy as cURL" in the dropdown menu
Paste it in the
curl command
box above
This also works in
Chrome
and
Firefox
.
Warning
: the copied command may contain cookies or other sensitive data. Be careful if you're sharing the command with other people, sending someone your cookie for a website is like sending them your password.
curl from Firefox
Open the
Network Monitor
tab in the
Developer Tools
Right click (or Ctrl-click) a request
Click "Copy" → "Copy as cURL"
Paste it in the
curl command
box above
This also works in
Chrome
and
Safari
.
Warning
: the copied command may contain cookies or other sensitive data. Be careful if you're sharing the command with other people, sending someone your cookie for a website is like sending them your password.
Privacy
We do
not
transmit or record the curl commands you enter or what they're converted to.
This is a static website (hosted on
GitHub Pages
) and the conversion happens
entirely in your browser
using JavaScript.
There is also
a VS Code extension
and a command line tool you can install from
npm
with
npm install -g curlconverter
Similar Tools
Postman
,
Insomnia
and
Paw
curl-to-Go
curl-to-PHP
curl-to-ruby
http-translator
(to Python and JS)
curl's
--libcurl
(to C)
uncurl
(to Python)
hrbrmstr/curlconverter
(to R)
curl-to-elisp
HAR-to-curl
curlify
(Python to curl)
Bash2py