Oct 21, 2026 · Getting Started · About 9 min

How to Import a Subscription URL: v2rayN and v2rayNG Setup & Format Guide

Learn where to add subscription URLs in v2rayN and v2rayNG, and how Base64 subscriptions differ from individual share links.

At a glance

First, tell subscription URLs apart from individual node links, then choose the right import option. On desktop, save the URL in v2rayN's subscription group settings; on Android, add it in v2rayNG's subscription settings. In both apps, you must update the subscription before nodes appear in the list. This guide covers format checks, setup on both platforms, update errors, and post-import verification—useful for a first-time setup or when a saved URL doesn't add any nodes.

Identify the format first: a subscription URL isn't a node link

A subscription URL is the address a client uses to retrieve a list of nodes, and it often starts with https://. An individual share link usually starts with vmess://, vless://, or trojan:// and contains the settings for one node. Pasting a share link into the subscription URL field—or using an account page URL as a subscription URL—will cause the import to fail.

Base64 describes how the response is encoded; it isn't a proxy protocol. A common format is a list of node share links, one per line, encoded together as Base64 text. The client downloads the content, decodes it, and parses each link. The list may still contain multiple protocols, including VMess and VLESS.

Subscription URL

Typical prefix
https://
Where to enter it
URL field in subscription settings
What it returns
A list of nodes the client can parse
How to update
Request the URL again to refresh the group

Subscription URLs often contain access tokens. Treat them like account credentials.

Individual share link

Typical prefix
vmess://、vless://
Where to enter it
Clipboard import option
What it contains
Connection settings for one node
How to update
Import again or edit manually

Importing a link by itself won't connect it to future updates from the original subscription.

A URL's file extension alone won't tell you whether the subscription is compatible. An HTTPS URL might return node data, a login page, an expiration notice, or a structured configuration. On the provider's site, choose a subscription format explicitly intended for v2rayN or v2rayNG. Don't assume that any YAML or JSON file will work in a subscription field just because it contains proxy settings.

v2rayN: Add a subscription group and update it

On desktop, you need to do two things: save the group URL and update the subscription. The menu names below are from the commonly used Chinese interface. Some versions may shorten “subscription group” to “subscription,” but group settings and updating subscriptions are still separate actions. If you save the URL and close the window without updating, it's normal for no new nodes to appear in the main list.

  1. Copy the full URL

    On the provider's site, select the subscription format for v2rayN and use the copy button to get the full URL. Don't copy the account page URL from your browser, and make sure you include everything after the question mark.

  2. Open group settings

    In the main window, go to “Subscription Groups” → “Subscription Group Settings” and select “Add.” Enter a label you can recognize, such as “Daily subscription,” then paste the URL into the Address or URL field.

  3. Save the group

    Check that there are no spaces, line breaks, or punctuation added by a chat app at either end of the URL, then save. If you're unsure about the auto-update interval, leave its current value for now and adjust it after a successful manual update.

  4. Update the subscription

    Return to the main window and choose “Subscription Groups” → “Update All Subscriptions (without proxy).” Use this option the first time if you don't have a working proxy. If your version lets you update a selected group, you can update just the one you added.

  5. Check for nodes

    Switch to the group you just added and check whether its nodes appear, then select one as the active server. If the list is empty, check the update log first rather than creating another group with the same name.

To import just one node, you don't need to create a subscription group. Copy the complete node share link, then use a clipboard import option such as “Servers” → “Import batch URLs from clipboard.” Menu wording may vary slightly between versions; look for clipboard import, not subscription group settings.

v2rayNG: Add a subscription, then update the list

On Android, saving a URL doesn't mean the nodes have been retrieved. v2rayNG's subscription settings save the source; the update action on the main screen downloads and parses it. For your first import, don't start a connection yet. Update the list and select a node first, then grant VPN permission when prompted by the system.

  1. Open subscription settings

    Open v2rayNG's side menu, go to “Subscription settings,” and tap “+” in the upper-right corner. This adds a subscription source, not a manually configured node on the main screen.

  2. Enter the subscription URL

    Enter a source name in the Remarks field, then paste the full subscription URL into “Optional URL” or the equivalent address field. Make sure the subscription entry is enabled, then tap the confirmation icon to save.

  3. Run an update

    Return to the main screen, open the menu in the upper-right corner, and select “Update subscriptions.” Some versions show “Update current group subscription” or “Update all subscriptions.” Choose the group you just added or all groups, as needed.

  4. Select a node and connect

    When the update finishes, switch to the relevant group and select a node, then tap the connect button. When Android first requests VPN permission, confirm that the request is from v2rayNG and allow it. Check the connection log for errors.

If you have an individual share link, tap “+” on the main screen, then “Import from clipboard.” For a QR code, use the scanner. A QR code may also contain a subscription URL; check whether scanning added a node or a subscription. A successful scan alone doesn't mean the node list has been updated.

Subscription setup compared: desktop and Android

Desktop: v2rayN
  • Save the source in “Subscription Group Settings.”
  • Choose whether to update through a proxy or without one.
  • After selecting an active node, check system proxy or TUN settings separately.
Android: v2rayNG
  • Save the source in “Subscription settings” in the side menu.
  • Return to the main screen menu and update the subscription.
  • Select a node, start the VPN connection, and check per-app proxy settings.

You can use the same subscription URL on both platforms if the provider allows it and the returned format is compatible. Each client keeps its own list, so you must update both to pick up changes from the source.

Subscription update failed? Check the request, then the response

An update failure can happen at three stages: the URL is invalid, the network can't retrieve the content, or the client can't parse it. Check the first error in the log before deciding what to do next. Switching node protocols, changing routing rules, or reinstalling the client repeatedly usually won't fix an invalid subscription URL.

443
HTTPS uses the default port unless the URL specifies another one
200
A successful HTTP request still requires checking the response body
403
An HTTP access denial calls for checking permissions and access requirements
Log message or symptomWhat to check firstNext step
Domain name resolution failedThe subscription server hasn't been reachedCheck the domain spelling and local DNS, then try updating over another network for comparison.
Connection timed outThe network route or server response may be the problemTry a direct connection first; if you have a working proxy, compare by trying that route too.
HTTP 401 or 403Token, permission, or access policy issueReturn to the provider account page to get a fresh URL, and check its expiration and device limits.
HTTP 404The URL path is invalid or the address wasn't copied in fullCopy the full subscription URL again, including its path and query parameters.
Request succeeded, but no nodes were parsedThe response is empty, incompatible, or uses an unsupported protocolUse the client-specific format provided by the source and check the first parsing error.
Certificate verification failedPossible system clock, certificate chain, or network interception issueCorrect the system clock and check for a network sign-in page. Don't disable certificate verification.

HTTP 200 only means the server returned a successful response; it doesn't guarantee that the body contains a subscription. A login page, network sign-in page, or error message may also be returned with a 200 status. If the log shows HTML or unrecognized content, check whether you copied an account page URL and whether the network requires web-based authentication first.

Import succeeded, but there's no internet: check three things separately

Seeing nodes in the list only confirms that the content was parsed. It doesn't prove the connection settings work or that app traffic is routed through the client. Subscription updates, node connections, and traffic routing are three separate checks. Verify them in order to avoid mistaking a local settings issue for a subscription problem.

For testing, stick to one node, one app, and one network. First open a known-working HTTPS page, then compare the logs. If you change the node, DNS, routing, and network at the same time, even a changed result won't tell you what made the difference. Once connected, restore custom settings one at a time and repeat the same test after each change.

Why does it work on desktop but not on Android after import?

First confirm that both clients use the same source, have been updated, and have the same node selected. Then compare the actual networks and check feature support in each client and core, followed by Android VPN permission and per-app proxy scope. The same subscription URL may return different content depending on the client making the request, so comparing group names alone isn't enough.

Will updating a subscription undo manual node changes?

Nodes in a subscription group are usually maintained by the source and may be replaced or regenerated during an update. Whether changes are preserved depends on the client settings. To keep manual adjustments, back them up first, copy the nodes into a separate manual group, and note that they won't sync automatically with the original subscription.

Ongoing maintenance: keep the source and avoid duplicate imports

For routine maintenance, update existing groups instead of creating a new subscription each time. The source controls node names, counts, and availability; a shorter list after an update doesn't automatically mean the client is broken. Check the update log first, then compare it with the plan, expiration date, and node notes on the provider's site.

The first import is complete when four things check out: the update log shows what content was retrieved, the node list has refreshed, the selected node connects, and the test app's traffic is routed as expected. Verify each separately. If the list is empty, an update fails, or a connection drops later, you'll know which stage to investigate.

Download v2rayNChoose your OS and architecture