💻 Developer Tools

HTTP Request Converter

Convert HTTP requests such as cURL and fetch into nine formats. Your input stays in your browser.

How to convert an HTTP request

Copy a request from the Network panel in DevTools and paste it above. Choose an output format to see the URL, method, headers and body in that syntax. For raw HTTP with a relative path, choose the scheme used by the original connection.

Other clients use their own transport settings, including TLS verification and compression. An error identifies the part that could not be read. Check the result before sharing because it includes credentials present in the input.

Frequently asked questions

Which inputs can I paste?
Paste a Chrome Network panel copy as cURL (bash or cmd), fetch (browser or Node.js), or PowerShell. Raw HTTP/1.x and Python requests.get, post and request calls with literal values or literal assignments are also supported.
What happens to cookies and files?
Cookies and Basic credentials present in the input are included in the output. A fetch credentials setting alone contains no cookie values. Multipart boundaries and pasted text are preserved. File references and arbitrary code cannot be imported.
Does conversion send the request?
Conversion and copying take place in your browser. The destination is contacted when you run the generated code in your own environment.