Code Generator
Turn captured requests into cURL, Swift, Python, Go, Kotlin, JavaScript, and other code snippets with the Proxyman Code Generator tab.
1. What's it?โ
Code Generator turns your captured HTTP/HTTPS requests into ready-to-use code for many languages and tools.
Supported languages and formats:
- cURL
- HTTPie
- HAR
- Postman Collection 2
- Axios
- Dart
- Go
- Java + HTTPClient
- JavaScript + jQuery
- Kotlin + OkHttp
- Node + HTTP
- Node + Fetch
- PHP + Guzzle
- Python + Request
- Rust + reqwest
- Objective-C + NSURLSession
- Swift + Alamofire 5
- Swift + Moya
- Swift + URLSession
2. How to open the Code Generator Tab?โ
- In the Request panel, click the "+" button
- The Custom Previewer Tab window appears -> check the Code Generator checkbox

How to open the Code Generator tab
- A new Code tab is added to the Request panel -> select any language to show the code
3. Missing your favorite library?โ
If you can't find your library, you can:
- Create a ticket on GitHub.
- Fork the Code-Generator-Plugin repository and open a PR. We appreciate your contribution ๐โโ๏ธ