🔁
🐹

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.

ມັນເຮັດວຽກແນວໃດ

1
ເຂົ້າ
Enter your data into the tool above. Everything stays local to your browser.
2
ຂະບວນການ
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
ດາວໂຫຼດ
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

ເປັນຫຍັງຕ້ອງໃຊ້ຂອງພວກເຮົາ?

ບໍ່ເສຍຄ່າຢ່າງສົມບູນ - ບໍ່ມີຄ່າໃຊ້ຈ່າຍທີ່ເຊື່ອງໄວ້, ເຄີຍ
ບໍ່ມີບັນຊີ, ອີເມວ, ຫຼືເຂົ້າສູ່ລະບົບ
ໄຟລ໌ບໍ່ເຄີຍອອກຈາກອຸປະກອນຂອງທ່ານ
ບໍ່ມີຂອບເຂດຈໍາກັດຂະຫນາດໄຟລ໌ໃດໆ
ບໍ່ມີ watermarks ໃນຜົນຜະລິດໃດໆ

Also check out…

ຄໍາຖາມທີ່ຖາມເລື້ອຍໆ