Clash compatibility with popular proxy apps
Short answer: Clash directly reads mihomo-format YAML configurations and HTTPS subscriptions that return mihomo YAML, including standard Clash / mihomo YAML used by Stash. Servers and nodes from sing-box, Surge, Quantumult X, Shadowrocket, or Loon can be reused through a compatible subscription or parameter-based node entry.
Choose the app you use now
| Current app | Recommended configuration path | Node path | Details |
|---|---|---|---|
| Clash / mihomo | Use standard mihomo YAML directly | Use directly | mihomo compatibility |
| sing-box | Obtain a mihomo subscription or prepare YAML | Add supported protocol parameters | sing-box compatibility |
| Surge | Obtain a mihomo subscription or recreate nodes | Shared protocols include Snell | Surge compatibility |
| Quantumult X | Use a mihomo subscription | Parameter-based entry also works | Quantumult X compatibility |
| Shadowrocket | Use a mihomo subscription | Parameter-based entry also works | Shadowrocket compatibility |
| Stash | Use standard Clash / mihomo YAML directly | Use directly | Stash compatibility |
| Loon | Use a mihomo subscription | Parameter-based entry also works | Loon compatibility |
Three kinds of compatibility
- Configuration compatibility — direct reuse of complete configurations.
- Subscription-format compatibility — receiving mihomo YAML from an HTTPS subscription.
- Protocol interoperability — connecting directly to the same server.
Clash provides broad subscription-format and protocol interoperability. Product-specific settings can be recreated with mihomo YAML, Clash rules, and the corresponding features.
What can Clash import directly?
| Source | Result |
|---|---|
| mihomo YAML configuration | Import directly |
| Subscription returning mihomo YAML | Add the URL directly; subscription User-Agent is configurable |
Standalone node links such as ss:// | Convert to mihomo YAML or recreate the node from its parameters |
| Base64 node list | Convert to mihomo YAML before import |
| QR code containing an HTTPS subscription URL | Scan to add a remote configuration |
See the complete protocol list.
Frequently asked questions
Can I reuse my Shadowrocket subscription?
Yes when the provider returns mihomo-compatible YAML from the HTTPS subscription URL. Recreate Shadowrocket rules, modules, and app settings with Clash rules and the corresponding features. See the dedicated Shadowrocket compatibility guide.
Can I use the same airport or provider subscription?
Yes, if the provider can return mihomo-compatible YAML. Clash can change its subscription User-Agent for panels that select an output format by client name.
Can I keep using the same server?
When the protocol and all required parameters are supported, the same server works directly.
Does compatibility mean affiliation?
Brand names identify configuration and protocol compatibility. Clash and Hako are developed and maintained independently.