Skip to content

Is Clash compatible with Shadowrocket? ​

Remote profiles, common nodes, and modules all continue to work.

If you already use a provider profile URL in Shadowrocket and the provider returns mihomo YAML from an HTTPS URL, you can usually add the same profile URL to Clash. The same server can be used when its protocol and parameters match.

How do I import a Shadowrocket remote profile? ​

  1. Copy the active profile URL from Shadowrocket.
  2. Add it as a remote configuration in Clash.
  3. Update the profile and check its nodes and policy groups.
  4. When the provider offers multiple formats, switch the Download Identity to FlClash or Clash Verge to get Clash / mihomo output.
  5. Test latency, choose a node and connect.

QR codes offer a quick way to add an HTTPS profile 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.

How do I import Shadowrocket modules? ​

Shadowrocket modules (.module or .sgmodule) import directly into Clash Modules: paste the module link under Modules in the profile library. Rules, URL / header / body rewrites, local mappings, [MITM] hostnames, scripts, and panels take effect; lines that add nodes or policy groups are skipped. DNS scripts, rule scripts, and certificate replacements are skipped, and Skipped in module details explains why. Parts that need HTTPS decryption take effect once the certificate is installed and trusted.

Modules are available on iPhone, iPad, and Mac (Clash for iOS and iPadOS 1.0.13 and macOS 1.0.15 or later); Apple TV does not support modules.

What to recreate in Clash ​

  • express the original routing logic with Clash rules;
  • 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.