Shadowrocket runs on iPhone, iPad, Mac, Windows, Android, and Linux. iPhone and iPad are a one-time App Store purchase of about US$2.99. Mac, Windows, Android, and Linux are free from this site's download page. The format of a subscription is decided by your own provider. It is not included with the app, and this site does not issue subscriptions. Your job is to recognize which kind of text you are holding and which entry point it uses.
The placeholder https://example.com/sub?token=EXAMPLE only shows that something is an https subscription URL. What it returns depends on the provider. You cannot guess the format from a file name. The body decides whether it is Base64, YAML, or SIP008. A single link usually does not start with https.
Read the start, then pick the entry
- Starts with https: this is a Subscribe URL. Set Type to Subscribe and paste the whole string into URL. Do not put it in the Host of a single server.
- Starts with ss://, vmess://, vless://, trojan://, or hysteria2://: this is one node. Scan the QR code or import from the clipboard. Do not paste that prefix into the Subscribe URL.
- Opens as a long block of letters and equals signs: that may be Base64. Base64 is usually returned by the subscription URL. Keep the URL. Do not paste the decoded text into the URL field.
- Opens with a YAML key such as proxies: this is a YAML subscription, often called Clash YAML. That names the document shape. It does not ask you to install another client.
A wrong entry has a fixed result. A vmess:// string in Subscribe fails the update or returns zero nodes. An https address in Host leaves you with one empty server forever. The add flow is also in how to add a subscription link.
Base64 node lists
After Base64 is decoded, you usually see one ss:// or other protocol link per line. Shadowrocket decodes it when Subscribe updates. You do not need to publish the decoded result.
- The URL is complete and the token was not cut at an ellipsis.
- After the update, the node count is greater than zero. At zero, suspect a cut URL, missing padding, or an error page from the provider.
- If names are question marks, confirm that address and port are still present. An encoding problem in the name is not the same symptom as a list with no nodes at all.
- Do not paste the Base64 body into an online decoder. The body is the nodes, and the URL still contains the token.
When the padding characters at the end are missing, the block may not decode. The update seems to finish and the list stays empty. Copy the URL again and update. If it is still empty, ask the provider whether the response is a Base64 node list or an HTML page.
YAML and SIP008
A YAML subscription is structured text with many nodes and the protocol fields of each one. Import is still Type set to Subscribe, with the URL pointing at that text. Success is several rows, and opening one shows address, port, and protocol. If you have only a file and no https address, ask your provider for the subscription URL. Do not paste the full YAML into the URL box.
SIP008 is another node list, commonly JSON, with an array of Shadowsocks servers. The entry is again the Subscribe URL. A successful parse adds Shadowsocks nodes. If the JSON is typed into Host as ordinary text, the array never expands.
Both formats can show a name even when fields are incomplete. After the name appears, check TLS, SNI, transport, Path, and Host for that protocol. That is the next step, separate from recognizing the format. The order for a failed update is in subscription updates.
Single protocol links
Each of ss://, vmess://, vless://, trojan://, and hysteria2:// is one node. If a QR code scans to one of those prefixes, import it as a single node. After one link enters the list, you should see one new row, not a whole group.
A single link can still carry a remark, a transport, and an SNI. After import, open the details and see whether those boxes have values. If SNI or Path is missing, stop explaining it as a format problem. The format step is done. The next step is the fields. WireGuard and TUIC are often a set of keys rather than one line. If the provider gave keys, add them manually. Do not force them into Subscribe.
The link itself contains a password or a UUID. Treat it like a subscription token. Do not post it on a public page. After a leak, ask the provider to retire that node or reset the subscription, delete the old row in Shadowrocket, and import the new one.
What a wrong format looks like
- The update errors, and the URL field contains vmess:// or hysteria2://.
- The update does not error and the list is empty. The body may be empty Base64, empty YAML, or undecodable.
- There is one server with an empty Host. The https address was stored as a single server.
- Many nodes have garbled names. The format already arrived. The problem is encoding. Do not change Type.
- Nodes are present and latency times out. The format step succeeded. Move on to fields, the network, and the connectivity test.
A number on the connectivity test is still one probe. After the format is right, open the same address you care about and leave Global Routing alone. When you compare Config, Proxy, and Direct, switch only one, as described in routing modes. UDP is not decided by the format either. Confirm it only after a node can already complete a test.
Recognizing the format is how an existing subscription reaches the right entry. The app purchase does not include a particular format. Ask your provider which one they return, then import through the entry above. Keep the live token off any page you might share, and keep the example.com placeholder as the only address you write down in notes that leave the device.
A format round you can repeat
Suppose the clipboard starts with https and the provider said the body is Base64. You create one Subscribe entry, paste the URL, and update. The list grows by more than one row, so you stop calling this a format problem. You open the first row, confirm a host and a port, and only then care about the name. If instead the update ends with zero rows, you do not create a second Subscribe entry with the same URL. You copy the URL once more from the provider, replace the field, and update again. Two entries with the same token only double the mess if the body later starts working.
Suppose the clipboard starts with vless://. You import it as a single node and expect one new row. If you also paste that string into a Subscribe URL, the failed fetch is not news. Delete the bad Subscribe entry and keep the single row. Then check SNI and transport on that row alone. YAML and SIP008 stay on the URL path even when someone has also mailed you the raw document. The document is for your own reading. The URL is what Shadowrocket should fetch. If the only copy you have is the raw document, ask the provider for the https address rather than pasting the document into the URL field and calling the failure a broken app. After the right entry is in place, latency and UDP are later checks. They do not tell you which prefix you started with.