cURL Converter

Python · JS · PHP · Go · Java · +10 more

Paste any cURL command and get ready-to-run code in 15+ languages -- Python, JavaScript (fetch/axios), Node.js, PHP, Go, Java, C#, Ruby, Swift, Kotlin, Rust, PowerShell, Ansible and HTTPie. Everything runs in your browser; nothing is sent to our server.

Multi-line commands with trailing \ are supported. Press Ctrl+Enter to convert.

History

Saved in this browser only -- click one to reload it.

No conversions yet this session -- convert a cURL command above and it'll show up here.