On this page
What VLESS is and where it comes from
VLESS appeared in 2020 in the V2Ray project as a lighter successor to VMess. Today it is developed mostly in Xray, the core made by the XTLS team, and Xray, sing-box and the clients built on them all understand it. It is a proxy protocol: the client opens a connection to the server, sends a short header with the user ID and the address it wants, and then the data goes through as it is.
Because the protocol does so little, it adds almost no overhead, and unlike VMess it has no clock check. The price is that VLESS encrypts nothing by itself. With security=none the traffic can be read along the way, so on the open internet VLESS runs over TLS or Reality: they encrypt the stream and make it look like an ordinary website.
The user is a UUID, a 36-character ID such as b084aee0-3421-4499-a473-f4ecbba7b3b8. The server keeps a list of allowed IDs and lets no one else in. A UUID is the login and the password at once; with one per device, you can remove a device without touching the others.
Transports: how the data travels
The transport is the type parameter of the link. It decides what the connection looks like on the wire and whether it can pass through a CDN or a web server in front of the VLESS server.
tcp— a plain TCP connection; Xray now calls itraw, and links may carry either word. The simplest and fastest option, used by Reality with the Vision flow.ws— WebSocket. It looks like a web app talking to its site and passes through CDNs and web servers such as nginx;pathandhostset the path and host name.grpc— gRPC on top of HTTP/2. It also passes through CDNs that support it; the service name is inserviceName.httpupgrade— a lighter relative of WebSocket: an HTTP request that turns into a bare data stream. Often used behind a CDN.xhttp— Xray's newer HTTP transport, formerly SplitHTTP. It can send upload and download as separate requests, works with TLS, Reality and CDNs, and has its ownmodeparameter. Of the two main cores, only Xray has it.kcp— mKCP, a transport over UDP with its own resending of lost packets. Rare in links, and missing from sing-box too.
Security: none, TLS or Reality
The security parameter says what protects the connection. This is where the encryption comes from, since VLESS itself has none.
none— no protection. Only for testing or when VLESS runs inside another encrypted layer; on the open internet anyone on the way can read the traffic.tls— ordinary TLS, as on any HTTPS website. The server needs a domain and a certificate, and the domain goes intosni. In return, with ws, grpc, httpupgrade or xhttp the connection can go through a CDN, and the server's own address stays hidden behind it.reality— the TLS handshake of a real website that belongs to somebody else. No domain or certificate of your own, and whoever probes the server sees that real site. It needs the server's public key (pbk) and a short ID (sid), and it doesn't go through a CDN.fp— the browser whose TLS fingerprint the client copies: chrome, firefox, safari and others. Without it the handshake looks like a Go program rather than a browser; with Reality it is required.
The xtls-rprx-vision flow
When you open an HTTPS site through a TLS proxy, there is TLS inside TLS: the browser's own handshake travels inside the proxy's encrypted stream, and the sizes and timing of those inner packets form a pattern a careful filter can recognize. The xtls-rprx-vision flow pads the inner handshake so the pattern disappears, and once the inner TLS is up, it passes the already encrypted data on without encrypting it a second time.
Vision works only with the tcp (raw) transport and only with tls or reality; with ws, grpc, httpupgrade and xhttp the flow stays empty. It must match on both sides: if the server's user entry has Vision and the link doesn't, or the other way round, the connection fails.
A vless:// link, field by field
A VLESS link is a whole profile in one line: vless://ID@address:port?parameters#name. Below is a typical Reality link. The address is from a range reserved for documentation, and the ID and keys are made up.
vless://b084aee0-3421-4499-a473-f4ecbba7b3b8@203.0.113.10:443?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.example.com&fp=chrome&pbk=eGjsq-1bTItSi448hnpbXv6_8OamCZWoemCtrZMB3KU&sid=07759ef874c6d4f8&type=tcp#Server-1b084aee0-3421-4499-a473-f4ecbba7b3b8— the UUID, your user ID on the server.203.0.113.10:443— the server's address and port. A domain name works too; 443 is the usual HTTPS port.encryption=none— VLESS's own encryption is off, as in almost every link. Newer Xray versions added optional VLESS encryption: such links carry a long value starting withmlkem768x25519plushere instead.flow=xtls-rprx-vision— the Vision flow; it must match the server.security=reality— Reality protects and disguises the connection.sni=www.example.com— the website name in the handshake: for Reality, the site it borrows; for TLS, your own domain.pbkandsid— Reality's public key and short ID. Both come from the server, and one changed character breaks the connection.fp=chromeandtype=tcp— the browser the handshake imitates, and the transport.#Server-1— only the name the client shows in its list.- Other transports — a WebSocket link with TLS has
security=tls&type=ws&host=cdn.example.com&path=%2Fwsinstead and noflow,pbkorsid;%2Fis an encoded slash.
VLESS and VMess
VMess is the older protocol of the same family. It encrypts the data itself and checks the time, so a device whose clock is off by more than a minute or two can't connect. VLESS dropped both and hands encryption to TLS or Reality. For a new server people pick VLESS today, most often with Reality; VMess stays where a service still hands out vmess:// links, usually over WebSocket with TLS. The separate guide on VMess and VLESS compares them in detail.
What VLESS doesn't do
- It doesn't encrypt by itself — without TLS or Reality the traffic is readable.
- It doesn't hide the server's IP address — if the address is blocked, no disguise helps.
- It isn't a VPN on its own — the client app captures the device's traffic and hands it to VLESS.
- It isn't one fixed thing on the wire — VLESS over ws with TLS and VLESS with Reality look completely different to a filter, so “VLESS doesn't work here” usually means one combination doesn't.