On this page
Which one to take
A new panel from scratch
Take3x-ui
WhyMaintained, one install command, SQLite in a single file
Marzban with hundreds of people
Takeneither
WhyPasarGuard: an in-place move with its own guide
WireGuard, AmneziaWG, TUIC or Hysteria2
Take3x-ui
WhyMarzban gives out only VMess, VLESS, Trojan and Shadowsocks
A cap on devices
Take3x-ui
WhyIP limit and HWID devices; a Marzban user has no such fields
MySQL or MariaDB as the database
TakeMarzban
Why3x-ui stores data in SQLite or PostgreSQL
Subscriptions for v2rayNG, Clash and sing-box
Takeeither
WhyBoth build them; a ready sing-box JSON comes only from Marzban
Side by side
Versions and prices change. Everything in the table was checked on December 1, 2026 against the sources at the end of the page.
What it is
3X-UIWeb panel for an Xray server: inbounds, clients, subscriptionsMarzbanWeb panel for proxy accounts on Xray: users first, not inboundsCore
3X-UIXray; AmneziaWG, TUIC and MTProto run as separate built-in serversMarzbanXrayProtocols
3X-UIVLESS, VMess, Trojan, Shadowsocks, WireGuard, AmneziaWG, TUIC, Hysteria2, MASQUE, MTProtoMarzbanVLESS, VMess, Trojan, ShadowsocksSubscriptions
3X-UIOwn subscription server: links, Xray JSON, Clash/Mihomo; the format follows the appMarzbanOne link per person: V2Ray links, Clash, Clash Meta, sing-boxGetting links out
3X-UILink and QR code for each client,.confandvpn://for AmneziaWGMarzbanCopy Subscription Link, Copy Configs and a QR code on the user's rowServer
3X-UIYour own: Linux on amd64, arm64, armv7 and others, or WindowsMarzbanYour own: Linux, the script adds DockerUsers and limits
3X-UITraffic, expiry date, number of IPs, devices by HWID, automatic renewalMarzbanTraffic with a reset period, expiry date, on hold until first use; several adminsSeveral servers
3X-UIOther 3X-UI panels join the main one by API token or mTLSMarzbanMarzban-node: a separate container on other serversWhere data is kept
3X-UISQLite by default, PostgreSQL as an optionMarzbanSQLite by default, MySQL or MariaDBInstallation
3X-UIOne command as root, or Docker; a certificate for a domain or a bare IPMarzbanOne command; the panel opens over HTTPS, so a domain and certificateAPI and bots
3X-UIREST API with scoped tokens, MCP (off by default), Telegram and Discord botsMarzbanREST API, webhooks, Telegram botInterface
3X-UIWeb page in 14 languages and thex-uimenu over SSHMarzbanWeb page and themarzbancommandCode
3X-UIGPL-3.0MarzbanAGPL-3.0Latest version
3X-UI3.12.0, November 29, 2026Marzban0.8.4, January 9, 2025State of the project
MarzbanNo new release since 9 January 2025; last commit in the dev branch, 8 June 2026. The repository isn't archived (1 December 2026)Where to get it
Systems
Both: Linux server
Price
Both: Free
One panel that moves, one that stopped
Marzban 0.8.4 came out on 9 January 2025. Work went on in the dev branch, at the end mostly on the look of the dashboard, but no stable release grew out of it, and since June 2026 there are no commits there either. The Marzneshin fork went quiet too: 0.7.4 in July 2025, last commits that October. PasarGuard is the one still releasing, 5.6.0 on 3 November 2026. It adds WireGuard and Hysteria2 to the same four protocols, device limits and admin roles. Marzban's README doesn't mention it, so it isn't an official successor.
In a running Marzban the Xray core can be replaced separately with marzban core-update, and the core's settings are plain JSON under “Core Settings”. But the panel itself builds the links and the subscription, and it knows nothing about what appeared in Xray after January 2025. There are no fix releases either.
3x-ui goes the other way. Release 3.12.0 is built with Xray-core v26.11.9, treats nodes and outside subscriptions as untrusted input, and ships an MCP server that is off by default. The price of frequent releases is the “Before you upgrade” section in the notes: take a copy of the database every time.
People first or ports first
In Marzban you create a person and tick protocols, and the names, addresses and SNI of the links are set elsewhere, in “Host Settings”. The inbounds themselves are one JSON. Comfortable when the core is set up once and then you only add people.
In 3x-ui an inbound is a form: protocol, transport, security, port, Reality keys by a button. A client is attached afterwards, and one client can belong to several inbounds with a shared term and quota. A Marzban node is a Marzban-node container; a 3x-ui node is another full panel joined by an API token or mTLS.
The first login differs as well. Marzban's dashboard doesn't open by IP: a certificate for a domain is needed, or ssh -L 8000:localhost:8000 for a while. 3x-ui opens by IP at once, on a port and path the installer picked at random, and a certificate can be issued for a bare IP too; it lasts about six days and renews by itself.
Leaving Marzban
There is no ready-made move from Marzban to 3x-ui. What travels is what you can type in: UUIDs, passwords, Reality keys, terms and limits.
- 1
Take a copy
The folders
/opt/marzbanand/var/lib/marzbanwhole:.envand docker-compose in the first, the panel's data in the second. - 2
Write people down
“Copy Configs” on a user's row gives the links, with UUID, port, SNI and keys inside. For a long list use the REST API; its description opens with
DOCS=True. - 3
Repeat the inbounds in 3x-ui
Same port, transport, keys and Reality short ID. On the same server stop Marzban first, the port is taken.
- 4
Create the clients
Clients, “Add Client”: enter the old UUID or password, term and limit. In place of on hold there is “Start After First Use”.
- 5
Hand out the new subscription
Single links with the same keys, port and address go on working. The subscription address changes: 3x-ui uses port 2096 and a random path.
- 6
Or PasarGuard on the same server
The guide stops the containers, renames
/opt/marzbanand/var/lib/marzban, corrects the paths in.envand the image in docker-compose. From 0.8.4 the database driver changes as well.
What people trip over
- Used traffic doesn't survive a manual move. Counters start at zero, so lower the limits right away.
- 3x-ui doesn't take the database of the old x-ui, and other panels' even less. “Import clients” is the counterpart of its own “Export clients”.
- In 3x-ui TUIC and AmneziaWG get into links and Clash, but not into the JSON subscription, so a program that reads Xray JSON won't see them.
- The IP limit in 3x-ui is enforced by Fail2ban. A Docker container needs
NET_ADMINandNET_RAW, otherwise bans are only logged. - The 3x-ui README says personal use only, not production. If somebody else's access depends on it, keep that in mind.
- Marzban's subscription address comes from
XRAY_SUBSCRIPTION_URL_PREFIX. With a panel port other than 443 add the port, or the Telegram bot will give out a broken link.
Sources
- Marzban docs: script
- 3x-ui repository: README
- 3x-ui docs: inbounds and protocols
- 3x-ui security advisory: default admin account, fixed in 3.11.0
- 3x-ui docs: subscription
- 3x-ui docs: multi-node and managed hosts
- 3x-ui docs: AmneziaWG
- 3x-ui docs: migration
- Marzban repository: README
- Marzban repository: commits of the dev branch
- Marzban docs: installation
- Marzban docs: subscription
- Marzban docs: node
- PasarGuard docs: from Marzban to PasarGuard