Convert cURL to Go
Generate Go net/http code from a cURL command.
💡 Paste any curl command — including multi-line commands with \ continuations — and get equivalent code. Parsing happens entirely in your browser; your request (and any tokens in it) never leave your device.
Go tips
Outputs a complete net/http example with the request, headers, and body reader set up.
A handy starting point for wiring an external API into a Go service.
Basic auth from -u is mapped to req.SetBasicAuth for you.
Parsing is fully client-side, so credentials in the command stay private.
Como funciona
Por que usar o noso?
Also check out…
Convert cURL to Python
Turn a cURL command into Python requests code, rea
Convert cURL to JavaScript fetch
Generate a browser/Node fetch() call from a cURL c
Convert "Copy as cURL" from DevTools
Paste a request copied from your browser's network
Understand What a cURL Command Does
See a cURL request rewritten in a language you kno
