Topic guides
Shadowsocks to Clash Converter
Convert ss:// Shadowsocks links into Clash or Mihomo proxy snippets for manually maintained proxy configs.
On this page
When to use it
- You only have
ss://links and need Clash or Mihomo YAML. - You want to batch-convert Shadowsocks nodes into
proxies. - You need to inspect cipher, password, port, and plugin parameters.
Notes
Some Shadowsocks plugin fields are not supported equally by every client. Test the converted node before merging it into a long-lived config.
Follow one example from URI to fields
Open the node converter, paste the URI below, select Mihomo and inspect a basic output first. The documentation address and password are fictional: this example is for parsing, not for connecting to a server.
ss://[email protected]:8388#SS-Demo
Your complete output may also contain a prefix, groups and rules. Locate these fields under proxies; other generated settings need not match this extract:
proxies:
- name: SS-Demo
type: ss
server: 192.0.2.10
port: 8388
cipher: aes-128-gcm
password: demo-password
The Base64 user information decodes to aes-128-gcm:demo-password, which supplies the cipher and password. #SS-Demo supplies the name, not authentication. SS is not SSR, and Base64 is not encryption.
Replace the example carefully
Use a node you own or are authorized to use. Start with one URI and compare its address, port, cipher and password. Preserve correct URI encoding when credentials contain delimiters such as @ or :. A localized display name does not change the password.
Check the actual core version inside your client. Selecting Mihomo output does not add SS 2022 or plugin support to an old Clash core. When a source uses a plugin, compare the plugin and its options as well. Only after these fields agree should you apply a template, prefix and routing rules, validate the configuration and test the individual node.
Match the fix to the failure
No parsed node usually calls for checking a truncated URI, invalid Base64 or an HTML page pasted as a subscription. An unsupported cipher or plugin at import time calls for a compatible core. A node that imports but times out calls for checking reachability, firewall and credentials. YAML conversion does not perform a proxy handshake.
For maintaining several changing sources, continue with multi-source subscription management. This page focuses on SS field conversion.