The word and its three formats
A V2Ray config takes one of three formats. One is a single line that starts with vless://, a share link. Another is an https address that returns a list, a subscription URL. The third is a block of JSON with inbounds and outbounds in it. v2rayN accepts all three.
So the first move is naming what you hold. A share link describes one server. A subscription URL points at a list of them. A JSON file describes how a whole core should run, with local ports and routing included. A V2Ray node is not a fourth format but one server entry inside the first two, and several nodes make the v2ray list you see in the window.
Three formats behind one word
- Share link | One line: vless://, vmess://, trojan:// or ss:// | Adds one server entry
- Subscription URL | An https address | Downloads a list and keeps it refreshed
- Custom JSON config | A file for a sing-box or V2Ray-family core, or a Clash or Hysteria file | Adds it as a custom profile, run as written
Why "list", "nodes" and "servers" sound alike
A config list, a list of v2ray nodes and a server list usually mean the same pile: many entries gathered in one place. In v2rayN the entries sit in a subscription group, and a group can also hold links you added by hand.
A subscription may contain VMess, Shadowsocks, SOCKS, VLESS, Trojan, Hy2, TUIC, WireGuard and Anytls entries. That range is wider than most guides admit, and it is why a text file full of mixed links imports without complaint.
The file extension tells you nothing. A config saved as txt is a list of share links, one per line, or a base64 blob of them. Open it in a text editor before you import it, because it is only text.
What the JSON version holds
A JSON config is the language the core itself reads. The Xray reference lists its top-level fields: "env", "log", "api", "dns", "routing", "policy", "inbounds", "outbounds", "stats", "fakedns", "metrics", "observatory", "burstObservatory", "geodata" and "version". Client and server use the same format, and only the contents differ.
You almost never write this by hand in v2rayN. The client builds it for you: basic inbound, log, routing and outbound parts first, then DNS, from your DNS settings and routing. Switch on a full config template, and v2rayN extracts only the outbound and drops the rest.
Your own settings land in a folder called guiConfigs. It holds guiNConfig.json, pac.txt and Mixin.yaml. The wiki documents only the parameters that have no switch in the window, and asks you to quit the app before editing guiNConfig.json. Whatever has a switch in the window is changed there.
How v2rayN reads what you paste
- Text starting with https is treated as a subscription.
- A standard protocol share link is added as a server.
- A SIP008 Shadowsocks payload and a WireGuard config are recognised next.
- A v2rayn:// link restores a stored profile.
- Single or multiple sing-box and V2Ray custom configs, and Clash or Hysteria files, come last.
- Anything else produces an error that asks you to check the link.
Which of the three do you hold?
Some meanings go deeper than a table can. The fields inside a VLESS link, the way a subscription refreshes a list and the sections of a JSON config are each a topic of their own. So are free lists, GitHub collections and conversion to Clash or sing-box files. Use the table above to work out which of the three you hold. A V2Ray config list that arrives as one https address is a subscription, and the same list pasted as text is a pile of share links.
Having a config is not a legal question by itself, but what you send through it can be one. Check the rules where you live or travel, and the terms of any network you connect from, before you rely on it.
This site also sells keys in a Telegram bot, and the first ten days are free. The bot tells you which app opens a key. We profit when you take that offer, so read our wording with that in mind.
Questions
Is a V2Ray config the same as a link I get in a message?
Usually it is a share link, which is one server in one line. A config in the strict sense is a JSON file for a core. v2rayN handles both, but the link only describes a server, while the JSON also fixes ports, routing and DNS. Check the first characters before you call it by name.
What does a node mean in v2rayN?
A node is one server entry in your list, the thing you pick as active and test. One subscription can create dozens of them, and each one corresponds to a single share link. Delete a node and the server is gone from the list, but the subscription may add it back at the next refresh.
Can I edit the JSON that v2rayN generates?
Not the generated file itself, because it is rebuilt each time. You can add a custom config or enable a full config template. The docs cover only parameters without a switch in the window and ask you to close the app before editing guiNConfig.json; whatever the window offers, change it in the window.
Why does a text file of links import in one go?
Because the clipboard import reads plain or base64 text and tries each format in turn. It starts with https and ends with custom configs, and it shows an error if none of them fits. A list of mixed links therefore needs no conversion first.
Is a V2Ray config generator the same as a config?
No. A generator fills a template, and its output is a config. v2rayN already builds one from the profile fields you set, so a generator only matters for custom files. Check that the output contains the routing and DNS parts you expect before you rely on it.
The key is a personal link from the Telegram bot, for up to 5 devices. Which app opens it, the bot tells you before you pay.
Get a key in the bot