A Go command-line tool that converts HTTPie collection files to Postman Collection Format v2.1.0.
It aims to unblock users who need to migrate their API collections from HTTPie to Postman or any other tool that supports Postman collections.
- Please look at the release page to have your prebuilt binary:
- Linux (x64):
httpie-to-postman-linux-amd64
- Linux (ARM64):
httpie-to-postman-linux-arm64
- macOS (Intel):
httpie-to-postman-darwin-amd64
- macOS (Apple Silicon):
httpie-to-postman-darwin-arm64
- Windows (x64):
httpie-to-postman-windows-amd64.exe
- Windows (ARM64):
httpie-to-postman-windows-arm64.exe
- Download the binary for your platform
- Make it executable (Linux/macOS):
chmod +x httpie-to-postman-*
- Move to your PATH or run directly
- Make sure you have Go installed (version 1.24.3 or later)
- Clone or download this repository
- Build the tool:
cd httpie-to-postman-converter
go build -o httpie-to-postman main.go
httpie-to-postman collection.json output.postman.json
### Example of output
Migration completed successfully!
Total APIs input: 52
Converted: 52
Output file: output.postman.json
If output.postman.json
already exists, it will create output_1.postman.json
, output_2.postman.json
, etc.
{
"meta": {
"format": "httpie",
"version": "1.0.0"
},
"entry": {
"name": "Collection Name",
"requests": [...]
}
}
{
"info": {
"_postman_id": "...",
"name": "Collection Name",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [...],
"variable": [...]
}
This project is open source and available under the MIT License.