
V2Ray vs Xray: What's the Actual Difference?
If you've spent more than ten minutes around stealth VPNs, you've seen both names. Someone on Reddit says "just use V2Ray." Someone else says "V2Ray is old, use Xray." Then your app is called v2rayNG but the settings say Xray. And your connection link starts with vless://, which apparently is a third thing.
Is it confusing on purpose? Not really. It's confusing because two open source projects grew out of the same family, kept a lot of the same parts, and the internet uses the names however it likes.
Here's the actual difference between V2Ray and Xray in plain English, what each one is good at, and why, for most people, the answer to "which one should I use?" is "whichever your app already uses."
The quick answer
V2Ray and Xray are both "cores": the engines that run inside proxy apps. They're close relatives. Xray started in 2020 as a fork of V2Ray and has since added newer stealth features.
V2Ray (maintained by the V2Fly community) is the original. It supports VMess, VLESS, Trojan, Shadowsocks and more.
Xray (from Project X) does everything V2Ray does, plus REALITY and XTLS Vision, the features behind today's hardest to block connections.
For you: you don't install either one directly. You install an app (like v2rayNG or Hiddify) that has a core built in. If you want VLESS + REALITY, use an app with the Xray core or the sing-box core.
First, what's a "core"?
Think of a car. The app is the dashboard: the buttons, the screens, the "Connect" switch. The core is the engine under the hood that actually does the work: encrypting your traffic, disguising it, and sending it to the server.
You never talk to the engine directly. You press buttons on the dashboard, and the dashboard tells the engine what to do.
That's why this gets confusing. People mix up three different layers:
The app: v2rayNG, Hiddify, v2rayN, and so on. What you tap.
The core: V2Ray, Xray or sing-box. The engine inside the app.
The protocol: VMess, VLESS, Trojan, Shadowsocks, Hysteria2. The "language" your device and the server speak.
So "V2Ray vs Xray" is an engine comparison. VLESS is a protocol both engines can speak. And v2rayNG is an app that, despite its name, can run either engine.
A very short history (with a little drama)
V2Ray came first. It launched around 2015 as part of "Project V," built to help people get around internet censorship. It introduced its own protocol, VMess, and became hugely popular, especially in China. When the original developer went quiet in 2019, the community kept it alive under the name V2Fly, which is who maintains it today.
Xray split off in late 2020. The developers behind a feature called XTLS had a falling out with the V2Ray community, including a dispute over how XTLS was licensed. They forked V2Ray and started their own project, Project X, with Xray as its core. The Xray-core GitHub page still says its first version "was forked from v2fly-core," and it cheekily describes itself as "also the best v2ray-core."
Since then, the two have gone their own ways. Both are still actively updated in 2026.
What they have in common
Because they come from the same code, V2Ray and Xray still share a lot:
Many of the same protocols: VMess, VLESS, Trojan, Shadowsocks and SOCKS.
Similar transports: ways of carrying traffic, like WebSocket, gRPC and plain TCP.
The same basic idea: flexible routing rules, so some traffic can go through the tunnel and some can go direct.
Open source and free. Neither one is a VPN service. They're software that needs a server to connect to.
So if you have an old VMess or plain VLESS link, it will usually work in apps built on either core.
The actual differences
1. REALITY and XTLS Vision (the big one)
This is the difference that matters most in 2026.
Xray added REALITY in 2023. REALITY lets your connection borrow the real security handshake of a real, popular website. To a firewall, it looks exactly like someone visiting that site. If the firewall pokes at the server to check, it gets passed through to the real website. Paired with XTLS Vision, which helps hide the telltale patterns of "TLS inside TLS," it's one of the hardest connections to detect and block today.
V2Ray doesn't support REALITY or XTLS Vision. The V2Fly project page lists VLESS and VMess, but neither of those Xray features.
That's why "VLESS + REALITY" connections need an Xray based app (or sing-box, more on that below). Our VLESS + REALITY + XTLS Vision explainer walks through how it works without the jargon.
2. Newer stealth tricks keep landing in Xray first
Project X has kept building on the anti censorship side. Recent additions include a transport called XHTTP and post quantum encryption options for VLESS. V2Ray tends to move more slowly and conservatively.
3. Different release styles
V2Ray uses classic version numbers (version 5.x in 2026). Xray switched to date style versions, like 26.9.9 for a September 2026 build, and releases often.
4. Different licenses
V2Ray uses the MIT license. Xray uses the Mozilla Public License 2.0. This matters to developers building apps, not to people using them.
5. Configuration files
Both use JSON config files, and Xray's still looks a lot like the classic V2Ray format. V2Ray version 5 introduced a newer config format of its own. Again, if you're using an app with a QR code or a link, you'll never see any of this.
V2Ray vs Xray at a glance
V2Ray (V2Fly)
Origin: the original, launched around 2015
Protocols: VMess, VLESS, Trojan, Shadowsocks, SOCKS and more
REALITY and XTLS Vision: no
Updates: steady, version 5.x
License: MIT
Best for: older setups and VMess connections
Xray (Project X)
Origin: forked from V2Ray in late 2020
Protocols: everything above, plus newer extras
REALITY and XTLS Vision: yes
Updates: frequent, date style versions
License: MPL 2.0
Best for: modern stealth setups, especially VLESS + REALITY
And then there's sing-box
You'll also see a third engine: sing-box. It's a separate, newer core, not a fork of either one, and it has become very popular because it speaks almost everything in one place: VLESS (including REALITY), VMess, Trojan, Shadowsocks, Hysteria2, TUIC, WireGuard and more.
That's why apps like Hiddify use sing-box. One engine handles both of the protocols OurVPNs Stealth mode uses: VLESS + REALITY and Hysteria2.
So the modern lineup really looks like this:
V2Ray: the original, solid, but missing the newest stealth features.
Xray: the stealth specialist, home of REALITY.
sing-box: the all rounder, great for apps that want many protocols at once.
Which apps use which core?
You choose an app, not a core. Here's how the popular ones line up:
v2rayNG (Android): despite the name, it supports both the Xray core and the V2Fly core, according to its own GitHub page. It handles VLESS + REALITY just fine. Our v2rayNG guide shows the setup.
Hiddify (Android, iPhone, Windows, Mac, Linux): built on sing-box, so it handles both VLESS + REALITY and Hysteria2. Our Hiddify guide covers every device.
Travel routers: routers running OpenWrt can run Xray or sing-box too, which is how a router can cover every device on your Wi-Fi. See our GL.iNet travel router guide.
Fun fact: the name "v2rayNG" stuck around from the early days, which is a big reason people still call everything "V2Ray" even when it's running Xray under the hood.
So which one should you use?
For almost everyone, the honest answer is: use the app your provider recommends, and let it pick the core.
A few practical rules:
Want VLESS + REALITY? You need Xray or sing-box. Plain V2Ray won't do it.
Want Hysteria2 too? Use a sing-box app like Hiddify, or an app that bundles Hysteria2 support.
Have an old VMess link from somewhere? Any of the three will run it, but VMess is easier to detect in strict countries like China. Our stealth VPN guide explains why newer protocols hold up better.
Running your own server? Xray is the go to for REALITY. That's a project in itself, though, and you'll still be landing on a datacenter IP.
Where OurVPNs fits
You don't need to care about cores to use OurVPNs. We handle the server side, and you get ready made Stealth profiles that work in Xray and sing-box based apps.
Stealth mode with VLESS + REALITY + XTLS Vision and Hysteria2, tested working from China, the UAE, Turkey and Russia as of October 2026.
A dedicated US residential IP on real home broadband, so your bank, streaming apps and work tools see a normal US home connection, not a datacenter server.
Works in the apps you already know: Hiddify, v2rayNG and our preconfigured routers.
Included on every plan: $35 a month (three devices, one location) or $350 a year (five devices, two locations).
Real humans, 24/7, by email, phone or Telegram, who can tell you exactly which app and profile to use.
Heading to China? Our VPN for China guide has the full pre trip checklist, and our NordVPN and ExpressVPN in China reality check explains why the big brands struggle there.
Quick answers
What is the difference between V2Ray and Xray? Xray is a 2020 fork of V2Ray. They share many protocols, but Xray added REALITY and XTLS Vision, the features behind today's hardest to block connections. V2Ray doesn't support them.
Is Xray better than V2Ray? For stealth in strict countries, usually yes, because of REALITY. For basic VMess or VLESS setups, they're similar.
Is V2Ray dead? No. The V2Fly community still releases updates in 2026. It just doesn't have Xray's newest stealth features.
Does v2rayNG use V2Ray or Xray? Both. v2rayNG supports the Xray core and the V2Fly core, despite the name.
Is VLESS a V2Ray protocol or an Xray protocol? Both cores support VLESS. VLESS with REALITY and XTLS Vision, though, needs Xray or sing-box.
What is sing-box? A separate, newer core that supports VLESS (including REALITY), Hysteria2, Trojan and more. Apps like Hiddify use it.
Is V2Ray or Xray a VPN? Neither is a VPN service. They're engines that apps use to connect to a server, like the one OurVPNs provides.
Which should I use in China? An app with the Xray or sing-box core and a VLESS + REALITY profile, set up before you fly, with Hysteria2 as a backup.
The short version
V2Ray is the original engine. Xray is its 2020 offshoot that went all in on stealth and gave the world REALITY. sing-box is the newer all rounder that speaks nearly everything. They're all engines inside apps, and you'll almost never touch them directly. If you want the hard to block setup, make sure your app runs Xray or sing-box, load a VLESS + REALITY profile and a Hysteria2 backup, and you're done. Want profiles that just work? Start your free trial and we'll send them over.