Is Clash compatible with Shadowrocket?
Subscriptions and common nodes continue to work, while the original routing experience can be recreated in Clash.
If you already use a provider subscription in Shadowrocket and the provider returns mihomo YAML from an HTTPS URL, you can usually add the same subscription URL to Clash. The same server can be used when its protocol and parameters match.
How do I import a Shadowrocket subscription?
- Copy the active subscription URL from Shadowrocket.
- Add it as a remote configuration in Clash.
- Update the profile and check its nodes and policy groups.
- When the provider offers multiple formats, change the subscription User-Agent and select Clash / mihomo output.
- Test latency, choose a node and connect.
How to use share links and QR codes
QR codes offer a quick way to add an HTTPS subscription URL that returns mihomo YAML. For ss://, ssr://, vmess://, vless://, trojan://, hysteria2://, tuic://, anytls:// and Base64 node lists, organize the server, port, credentials, TLS and transport parameters as mihomo YAML, or add them in the node editor.
What to recreate in Clash
- express the original routing logic with Clash rules;
- recreate module, rewrite and script needs with matching features;
- set node groups and scenarios to match your workflow;
- use Clash profile management and backup options for your setup.
This keeps your existing nodes useful while giving the configuration a clear structure that matches Clash.
Use standalone node parameters
Inspect or export the node parameters in Shadowrocket, then recreate the node in Clash from its server, port, authentication, TLS, and transport parameters, or organize them as mihomo YAML.
Can I keep using the same server?
The same server can work when Clash supports the protocol and the protocol version, transport, TLS, authentication and other parameters match.
Return to the compatibility overview, or see all supported protocols.