These steps use the iPhone / iPad interface. First, identify what your provider gave you: a subscription URL, a link for a single server, or server details to enter manually. QR codes and the clipboard are just ways to read a link; the import result depends on its contents. At the end, learn how to tell subscription groups from individual entries on Home and troubleshoot imports, updates, and connections separately.
First, identify whether the link is a subscription or a single server
A subscription URL points to a server list maintained by your provider and may change as the provider updates it. A server link describes one individual connection; even if its imported name matches an entry in a subscription, it will not update with that subscription. A QR code can contain either type of link, so you cannot tell which one it is just by looking at the image.
Choose the import method based on your provider's instructions
Subscription URL
- A common format is
https://example.com/sub?token=xxxx. This is a format example only and cannot be used for import. - Copy the entire URL, including the query parameters after
?. Copying only the domain or removing the parameters may prevent the list from loading. - Save it with
Subscribe, then check the subscription group and its entries onHome.
Single server
- Common link prefixes include
ss://,vmess://,vless://, andtrojan://. - If you have the complete link, use the QR code or clipboard method. If you only have the server details, enter them manually with
Add Server. - After saving, check the entry name and protocol on
Home.
Follow your provider's description of the link: a URL beginning with https:// may lead to a login page or configuration file, not a server subscription.
Method 1: Add a subscription URL with Subscribe
Config files manage settings such as rules; they are separate from the server list in Home. If your Config screen has a Subscribe form for server subscriptions, enter the URL there. If it only shows configuration file options, go to Home, tap “+” in the upper-right corner, then select Subscribe under Add Server → Type. Do not add a server subscription URL as a rule configuration file.
Copy the full link
Get a subscription URL for Shadowrocket from your provider. Copy only the URL itself—without explanatory text, quotation marks, or trailing punctuation—and do not remove any query parameters.
Select the subscription type
Go to
Home → + → Add Server → Typeand selectSubscribe. Enter the subscriptionURL; do not paste the full link into anAddressfield for an individual protocol.Paste and save
Paste the full URL into
URL. You can add a descriptive name in the remarks field to identify it, then tapSave. The remark helps identify the entry; it does not replace the URL from your provider.Check the entries in the group
Return to
Homeand check the subscription group. If no servers appear at first, pull down to refresh and check for a status message. Seeing a group name with no entries means the subscription record was created, but you still need to check whether its list loaded successfully.
Method 2: Enter a single server manually with Add Server
If you only have a hostname, port, and authentication details, open the form at Home → + → Add Server. Set Type first, then fill in the fields for that protocol. The two cards below are field references, not working connection details; use the port, authentication fields, and additional options provided by your service provider.
Shadowsocks
- Type
Shadowsocks- Address
- Hostname, for example
ss.example.com, withouthttps://. - Port
- The port specified by your provider, for example
8388. - Method
- Select the value specified by your provider, for example
aes-256-gcm. - Password
- Enter the password for this server, paying attention to capitalization and leading or trailing spaces.
A correct server address does not guarantee correct authentication details; check both Method and Password.
Trojan
- Type
Trojan- Address
- Hostname for the connection, for example
trojan.example.com. - Port
- The port specified by your provider, for example
443. - Password
- Enter the authentication password for this server.
- SNI
- Enter this value exactly as provided if your provider supplies it separately; do not infer it from
Addressalone.
443 is only an example. The same port does not mean the protocol or TLS settings are the same.
The same server name can use different connection settings. For example, if your provider specifies VMess or VLESS, select the corresponding Type and check the identifiers and transport options required by that protocol. Do not reuse another protocol's password or port. Tap Save, then return to Home to find the entry you added and test it.
Method 3: Scan a subscription or server QR code
A QR code is just a way to encode content. If it contains an https:// URL, first confirm that your provider identifies it as a subscription URL. Links such as ss:// usually represent a single server. If the code opens an account login page, get the link from the subscription section provided by your service provider instead; do not save the login page as a subscription.
- If the QR code is displayed on another device, open the scanner from Shadowrocket's
Homeand fit the entire code in the viewfinder. The first time you scan, grant the camera permission requested by the system. - If the QR code is only on your current device and the scanner has no photo picker, get the same link as text from your provider and use the clipboard or
Subscribeinstead. Subscription URLs may contain account credentials, so do not upload the original QR code to an online decoder. - When a result appears, check its content type before confirming the import. Return to
Homeand check whether the new entry is a subscription group or an individual server. If the result is not what you expected, check the original content rather than scanning again to try to change the import type.
Method 4: Import a link from the clipboard
If you can copy the text on the same device, there is no need to create a QR code first. Copy a complete link from your provider's page, then open Shadowrocket. If the app prompts you to recognize a link from the clipboard, check the content before confirming. If the system asks for permission to paste, allow it only after confirming that the clipboard contains the content you want to import.
- Copied a subscription URL: If it is not recognized automatically, there is no need to keep switching apps. Go to
Home → + → Add Server → Type → Subscribeand paste it intoURL. - Copied a single-server link: Keep every character, from the protocol prefix to the end. Do not paste the complete link into
Address. If no recognition prompt appears, use the QR code provided by your service provider or enter the server details manually. - Copied text from a chat or document: Remove leading numbering, bullets, and trailing punctuation, and copy one link at a time. Do not try to reconstruct the original by editing its encoding or joining broken characters; go back to the original page and copy it again instead.
After import: troubleshoot the list, updates, and connection separately
Subscription saved, but why are there no servers in the group?
First, pull down to refresh on Home and check for a status message. If the group is still empty, confirm that you saved the complete subscription URL, not your provider's homepage. Then ask your provider whether the link is valid and the returned list is compatible with Shadowrocket. A page opening in a browser does not prove that it returns an importable list.
Why didn't manually added servers change after updating the subscription?
An update affects only that subscription group. Entries added manually or imported from individual links keep their original settings. If your provider changes an individual server's address, port, or authentication details, edit that entry or import the new link and distinguish it from the old one.
The update timed out. Should I delete the subscription and add it again?
Keep the existing entry and try again on a Wi-Fi or cellular network with working internet access. If it still times out on another network, check that the URL is complete and ask your provider whether the subscription endpoint is reachable. Change only one condition at a time so you can tell network issues from link issues.
Why can't I connect even though the list contains servers?
Select the entry you want to test on Home, then run Connectivity Test. If the test also fails, first check the protocol, port, and authentication details. If the test returns a result but the target website behaves differently than expected, check Global Routing. For example, in Config mode, also check which rule the request to the target actually matches.
Get Shadowrocket
Get the iPhone / iPad version from the App Store for a one-time payment of $2.99. See the App Store listing for system requirements. The Mac (Apple Silicon / Intel), Windows, Android, and Linux versions are free; download the installers from this site's download page.