Powerful proxy subscription parser & converter to Sing-Box JSON format.
- ✅ VMess
- ✅ VLess (with Reality)
- ✅ Trojan
- ✅ Shadowsocks
- ✅ Hysteria2
- ✅ TUIC
# Install dependencies
pip install requests
# Setup
mkdir -p data
echo "https://your-subscription.com" > data/Sub.txt
# Run
python convertor.pydata/Sub.txt - One subscription URL per line:
data/
├── sources/ # Raw subscription data
└── config/ # Organized JSON configs
├── vmess/
├── vless/
├── trojan/
├── shadowsocks/
├── hysteria2/
└── tuic/
{
"type": "vmess",
"tag": "",
"server": "",
"server_port": 0,
"uuid": "",
"security": "auto",
"alter_id": 0,
"transport": {
"type": "",
"path": "",
"headers": {},
"service_name": ""
},
"tls": {
"enabled": false,
"server_name": "",
"insecure": false,
"alpn": []
}
}{
"type": "vless",
"tag": "",
"server": "",
"server_port": 0,
"uuid": "",
"flow": "",
"packet_encoding": "xudp",
"transport": {
"type": "",
"path": "",
"headers": {},
"service_name": ""
},
"tls": {
"enabled": false,
"server_name": "",
"insecure": false,
"alpn": [],
"reality": {
"enabled": false,
"public_key": "",
"short_id": ""
}
}
}{
"type": "trojan",
"tag": "",
"server": "",
"server_port": 0,
"password": "",
"transport": {
"type": "",
"path": "",
"headers": {}
},
"tls": {
"enabled": false,
"server_name": "",
"insecure": false,
"alpn": []
}
}{
"type": "shadowsocks",
"tag": "",
"server": "",
"server_port": 0,
"method": "",
"password": ""
}{
"type": "hysteria2",
"tag": "",
"server": "",
"server_port": 0,
"password": "",
"obfs": {
"type": "",
"password": ""
},
"tls": {
"enabled": false,
"server_name": "",
"insecure": false,
"alpn": []
}
}{
"type": "tuic",
"tag": "",
"server": "",
"server_port": 0,
"uuid": "",
"password": "",
"congestion_control": "bbr",
"udp_relay_mode": "native",
"zero_rtt_handshake": false,
"heartbeat": "10s",
"tls": {
"enabled": false,
"server_name": "",
"insecure": false,
"alpn": []
}
}- Smart Base64 decoding
- Auto protocol detection
- Duplicate removal
- Full statistics
- Supports mislabeled configs