About
Turn a copied curl command into JavaScript fetch or Python requests code.
Read a curl command and write the same request as JavaScript fetch or Python requests code.
How it works. The command is split into tokens with a small quote aware parser. Known flags such as -X, -H, -d, -G, -u, -F and --json are read into a method, address, headers and body. The command is never executed, and no request is made.
Who runs it. cURL to code is run by the Utility Sites team. Contact contact@webutils.net.
Use it at your own risk.