Lossless Sing-box & Clash Subscription Conversion: Mapping JSON Schemas to YAML Profiles

Master seamless conversion between Clash YAML and Sing-box JSON subscription profiles. Learn how Subconverter maps protocol parameters, transforms routing rules, and deploy a self-hosted conversion backend for maximum privacy.


Key Takeaway (TL;DR): Many providers only expose Clash YAML feeds. Utilizing public online conversion sites risks token hijacking and node bandwidth theft. This guide covers two secure approaches: self-hosting Subconverter locally via Docker to ensure 100% offline conversion, and understanding the parameter mapping between Clash YAML properties and Sing-box JSON outbound descriptors.


1. Security Risks of Public Converters

Public web converters often log subscription URLs and resell bandwidth. Self-hosting Subconverter locally via Docker guarantees full privacy.

VERIFIED HIGH-PERFORMANCE CIRCUIT

Guangsu Cloud: Dual 2.5Gbps IEPL Dedicated Lines

Universally compatible with Clash Verge Rev, Sing-box, Shadowrocket, and OpenWrt routers. Verified 786.4 Mbps single-thread throughput with zero packet loss during peak hours. Featuring the Snooker 147 permanent 247GB package (pay once, never expires) and lightweight annual plan at ¥99/year. Use exclusive code AMM at checkout.