Skip to content

Sign In

Sign in to manage your subscription

BessyConnect
Author: Pavel Onuchin, VPN and network security specialist

12 min read

VLESS keys: how to read a vless:// link and why a key stops working

A VLESS key is a link of the form vless://uuid@адрес:порт?параметры#имя (uuid@address:port?parameters#name). It contains the whole connection: your identifier on the server, the address, the camouflage method and the transport. The format is described in the Xray project's link standard (discussion XTLS/Xray-core #716, open since December 19, 2020). For Reality, the standard requires two more fields, pbk and fp: without the public key pbk, the client won't pass the server check. Below we go through each parameter, the difference between a key and a subscription, suitable apps and the reasons a key stops working. The general question of where to get VPN keys is covered in a separate article: VPN keys and where to paste them.

If you need a VPN that works rather than fiddling with strings, we recommend BessyConnect. It runs on the same VLESS with Reality, but you don't need to paste a key: the servers are already inside the app. Download BessyConnect from the download page: there's a trial period, and registration is optional.

What is a VLESS key?

A VLESS key is a single string from which a client app builds a connection to an Xray server. The secret part of it is the uuid: the server lets you in by it, not by a username and password. The Xray documentation says exactly this: VLESS authenticates by UUID, and the protocol doesn't depend on system time.

VLESS by itself doesn't hide traffic. The Xray documentation requires using it with an outer protection layer, TLS or Reality (the exception is the new VLESS Encryption mode), so a working key almost always contains security=reality or security=tls. How VLESS differs from WireGuard and OpenVPN as a protocol is covered in the comparison VLESS, OpenVPN or WireGuard. Here we talk only about the key.

This is what a Reality key looks like. The values are made up: an all-zero UUID and example.com domains.

vless://00000000-0000-0000-0000-000000000000@vpn.example.com:443?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.example.com&fp=chrome&pbk=EXAMPLE-PUBLIC-KEY&sid=0123abcd&type=tcp#Example

What parameters does a vless:// link contain?

The uuid, address and port are required, plus pbk and fp for Reality. The standard allows the rest to be omitted or left empty. Field order doesn't matter, a field can't be repeated, and letter case matters.

FieldExampleWhat it meansWhat happens if it's wrong
uuid00000000-…-000000000000your identifier on the server; according to the Xray documentation, a UUID or a string of up to 30 bytesthe server won't recognize you and won't let you in
addressvpn.example.comthe server's domain or IP; IPv6 is written in square bracketsno connection at all
port443an integer from 1 to 65535; the field is requiredtimeout
encryptionnoneencryption of VLESS itself; none by default, can't be emptythe new value mlkem768x25519… must match the server and requires a recent core
flowxtls-rprx-visionXTLS Vision mode; works only over TCP with TLS or Realityif flow is set on the server but not in the key, the connection won't be established
securityrealitythe outer protection layer: none, tls or realitywith none, traffic is unprotected
sniwww.example.comthe website the connection pretends to be visiting; must be in the server's serverNames listthe server won't recognize the client and will pass the connection to the real website
fpchromethe TLS fingerprint the client imitates; chrome by defaultwith Reality, the standard forbids omitting this field
pbkEXAMPLE-PUBLIC-KEYthe Reality public key, derived from the server's private key; for the client it's the passwordafter the server's keys are changed, the old key is dead
sid0123abcda short ID: characters 0–f, even length, no more than 16; can be empty if the server allows itif the server doesn't have this ID, you can't get in
spx/the initial path of the Reality "spider"; the field can be left emptyusually doesn't cause problems
typetcptransport: tcp, ws, grpc, xhttp, kcp, httpupgrade, httpan old client may not know a new transport
#имя (name)#Examplethe label in the server listdoesn't affect how it works

Why fp is set to chrome is explained by the standard itself: the fingerprint of Go's standard TLS library has already become a target for filters, while Chrome is the most widespread browser, and its fingerprint gets lost in the general flow. The Reality fields pbk, sid and spx were added to the standard on March 19, 2023.

You can spot a broken key before importing it. Before pasting, check five things:

  1. The string starts exactly with vless://, with no leading space or quotation marks.
  2. There are no line breaks or spaces inside: a long link copied from a chat may get split.
  3. If it has security=reality, the key contains non-empty pbk and fp.
  4. No field appears twice: the standard forbids this.
  5. Special characters in path, spx and the name are encoded (/ looks like %2F), as the standard requires.

If everything is in place but the app says the configuration isn't valid, the problem is in the client or on the server.

How is a VLESS key different from a subscription?

A key describes one server and doesn't change by itself. A subscription is an address from which the app downloads a list of keys and updates it on a schedule. If the server in a key breaks, you need a new key. If a server in a subscription breaks, the owner changes the list, and the update arrives by itself.

vless:// keySubscription
How it startsvless://usually https://; in Happ it can be an encrypted happ://crypt5/
What's insideone servera list of keys: base64 or plain text, one link per line
Updatingmanualautomatic; the interval is set in hours by the profile-update-interval header
Expiry and trafficnot visiblethe subscription-userinfo header: uploaded, downloaded, limit and the expire end date
Can you read the parametersyes, they're in the string itselfnot in an encrypted Happ subscription: the user can't see or edit the configurations

Subscription formats are described in the Incy and Happ documentation, and Hiddify's description on GitHub explicitly lists support for V2Ray subscriptions "in Base64 or as plain links".

Which apps can you paste a VLESS key into?

vless:// keys are accepted by clients built on the Xray or sing-box core. The steps are the same: copy the string, tap "+" in the app, choose to add from the clipboard, and turn on the connection.

ClientPlatformsVersion as of 17.11.2026Worth knowing
HappiOS, macOS, Android, Windows, Linux, Apple TV, Android TV6.4.0 in the App Store (US), 11.11.2026not in the Russian App Store; no servers of its own
HiddifyAndroid, iOS, Windows, macOS, Linux5.5.5 on GitHub, 04.11.2026open source, understands subscriptions in several formats
v2rayNGAndroid2.3.15 on GitHub, 01.11.2026for computers, the author has a separate client, v2rayN
StreisandiPhone, iPad1.7.1 in the App Store (US), 11.11.2026not in the Russian App Store
v2RayTunAndroid—available on Google Play
Incy——according to its documentation, understands vless, vmess, trojan, ss, hysteria2, socks and wireguard links

Step-by-step guides for specific clients: how to add a key to Happ and how to add a key to Incy. If you're choosing among the others, see the comparison of v2rayTun, Hiddify and Streisand.

Why does a VLESS key stop working?

There are three groups of reasons: the server owner revoked the key, the server changed its settings, or traffic isn't reaching the server. You can work out what exactly happened from the parameters of the key itself.

What happensLikely causeWhat to do
The connection "hangs", then times outthe uuid was deleted or has expired; in a subscription, expire shows the dateget a new key from whoever issued it
It worked for a long time, stopped with no changes on your side, and re-importing doesn't helpthe owner reissued the server's keys and the old pbk no longer fits; or removed your sid or sni from the listask for a new key; the old one can't be "fixed"
An error right after importingthe key was damaged when copying, or it contains a value an old client version doesn't know, such as the new encryption=mlkem768x25519…check the string against the list above and update the app
It connects only some of the timethe server is overloaded: strangers are using the public key at the same timeonly switching servers helps
Doesn't work on mobile internet, works on Wi-Fiwhitelist restrictions: only approved addresses get throughno key will help; details in the article on whitelists and VPNs
Doesn't work on one particular phonethe clock is off, and the server has the maxTimeDiff time tolerance enabledturn on automatic date and time

One more thing that's rarely mentioned. Reality removes the server's recognizable TLS fingerprint, but the server's address stays visible: the connection goes to the IP in the key. In the Reality README, the developers themselves advise choosing a camouflage website with an IP close to the server so that the picture "looks more reasonable". If the address gets blocked, camouflage won't save it; you need a different server.

What's risky about free VLESS keys?

A free key from a public list is a pass that everyone who saw the list has copied at the same time. The server owner is unknown. They see your IP, the time and volume of your connections, and the addresses of the websites you visit. They can't see the contents of HTTPS pages, but they can see your list of websites.

It gets worse from there. The owner can disable the key at any moment, and you won't know why. They may hand out the key for free in order to sell the same access later. And with an encrypted subscription, you can't even see which server your traffic goes to: that's how these subscriptions are designed. Clients like Happ have no servers of their own. Happ's App Store description explicitly warns about scammers offering an "official Happ VPN": the app doesn't sell or give away VPN services.

Keys labeled "for whitelists" don't change the picture: whether they work depends on the address where the server sits, not on the parameters in the string. Why that is is explained in the same article on whitelists.

Why we recommend BessyConnect

If you want a key in order to have a VPN that works, we recommend BessyConnect. Inside it's the same VLESS with Reality camouflage discussed above, but you don't need to find, check and paste a vless:// string: the app connects to its own servers by itself.

  • No key needed. There's no string that can be revoked and no giveaway that will run out.
  • You know whose server it is. The servers and the app belong to the same service, and no logs are kept.
  • Spare addresses. There are more than 100 servers: if one address is unreachable, there's plenty to choose from.
  • Camouflage. VLESS with Reality, so traffic looks like ordinary HTTPS.
  • You can try it. Registration is optional, and there's a trial period. BessyConnect can also be set up on a router.

Apps:

Now about the limits. If you have your own server and your own keys, you need a client like Happ or Hiddify, not BessyConnect: it works with its own infrastructure. There's no Windows app. BessyConnect isn't in the Russian App Store either, so installing it on an iPhone requires an Apple ID from another country. And when whitelists are in effect on mobile internet, no VPN will connect, ours included.

The bottom line. If you have your own server, keep your key in Happ or Hiddify and check the parameters against the table above. But if you're looking for a new free key every week, we recommend a different route. Download BessyConnect from the download page: VLESS with Reality is already set up there, and you won't need vless:// strings anymore.

Frequently asked questions

What do pbk and sid mean in a VLESS key? pbk is the Reality public key, derived from the server's private key; for the client it works like a password. sid is a short ID from the server's list: up to 16 characters 0–f, of even length. If the owner changed the keys or removed your ID, the old link stops working.

Can I make a VLESS key myself? Yes, if you have your own server with Xray: the xray uuid command generates a uuid, xray x25519 generates a Reality key pair, and panels like 3x-ui do the same through a web interface. Without your own server, you can't "make" a key: a string without a server means nothing.

How is a vless:// key different from a subscription? A key describes one server and doesn't update by itself. A subscription is an address with a list of keys that the app re-downloads at an interval set in hours, and it shows the expiry date.

Is it safe to use free VLESS keys? It's risky. The owner of someone else's server sees your IP and the addresses of the websites you visit, can disable the key at any moment, and one key is used by many people at once, which causes overload.

Do I need a VLESS key for BessyConnect? No. BessyConnect runs on VLESS with Reality, but it connects to its own servers by itself; you don't need to paste a key. There are apps for iPhone, iPad, Mac, Apple TV, Android and Android TV; there's no Windows app.

Related articles