Import a subscription
Four import routes that differ only in where the link comes from. Choosing the right one removes most "import failed" cases. Shortest path first, then when to use each.
Importing from a URL (the usual case)
-
01
Copy the whole link
A subscription URL is a long
https://address ending in a token parameter. Copy all of it — one missing character breaks parsing.Do not use "copy link address" on a button on a provider page. That is usually a landing page, not the subscription itself.
-
02
Open the Profiles tab
Second tab at the bottom. Tap the plus button at the lower right.
-
03
Choose Import from URL
Paste into the URL field. Leaving the name blank fills in the domain; rename it to something you recognise, such as provider plus plan.
Importing the same URL twice creates a second profile rather than overwriting. Renaming is less work.
-
04
Wait for download and parse
When the bar completes it reports the profile as activated. Subscriptions with rule sets take a few extra seconds the first time.
-
05
Set auto-update
In the profile details, set "Auto update (minutes)" to 720 for a 12-hour refresh. Left empty means it never refreshes.
Four routes, four situations
| Route | When to use it | Watch out for |
|---|---|---|
| Import from URL | You have a subscription link — the default | The link contains your token; never share or screenshot it |
| Import from file | You have a .yaml / .yml file, or the provider only ships files | The file must be in device storage with the right extension |
| Import from QR code | The provider gave a QR code, or it is on another device | Asks for camera permission; gallery images work too |
| Import from clipboard | The link is already copied | Fails immediately if the clipboard is not yaml |
Scroll the table sideways
All four end up as the same yaml. Only the transport differs; behaviour after import is identical.
What a subscription URL looks like
A Clash subscription returns yaml containing at least proxies and proxy-groups, usually with rules. Opened in a browser it should show a wall of text, not a web page. If you land on a login or pricing page, the link is wrong.
The URL normally carries a token or a ?clash=1 style parameter. That is your account credential: anyone with the link can use your traffic. Do not screenshot it, post it in a group, or paste it into a public issue.
Keeping several profiles
The Profiles tab holds any number of profiles, with exactly one active. Switching means tapping another entry: the core reloads and open connections are closed.
A common layout is one daily line, one backup, and one stripped-down profile with a few nodes. Switching beats re-importing, especially when the network is flaky.
- Long-press a profile to rename, duplicate, export or delete it.
- Export writes a yaml file to device storage — useful before changing phones.
- Spaces and non-Latin characters in profile names are fine.
Read the part after the colon
Failures name a cause: timeout, 401, EOF, yaml: unmarshal errors. Each means something different; work through them in subscription update fails. Do not tap retry repeatedly before reading it.
Import questions
Import succeeds but the Proxies tab is empty
proxy-groups, or proxies is empty. That usually means the provider gave single-node links instead of a Clash subscription. Ask for a standard Clash config, or write one.