BackendGen.dev

Universal Backend Generator for games

Your game backend, dedicated servers and LiveOps tools, under your control.

Generate a self-hosted Node.js backend with matching clients for Unity, Godot, Unreal Engine and JavaScript. Advanced adds leaderboards, parties and guilds, matchmaking, dedicated servers and an installable dashboard to run the live game.

Try the generator free See how it works

Free account to try it, pay once to download. No subscription. Already have an account? Sign in

Running a shop, salon, clinic or trade? BackendGen.dev also builds business backends: a staff portal, an online shop and bookings. BackendGen for businesses →

Prefer to generate inside the Unity Editor? Universal Backend Generator is available now on the Unity Asset Store. New versions reach the web generator first, while Asset Store updates wait a few days for Unity's review. Bought it there? Your web licence is free.

Included with Advanced

Run your own dedicated servers with Omni Cluster

Already paying for dedicated servers by the hour? Omni Cluster is a program for Windows and Linux machines that starts your Unity or Unreal dedicated servers, keeps them running, adds one when a game mode fills up and lists them in your backend so players can find them. It can carry voice chat between your players too, with a ready-made voice chat for Unity games.

Omni Cluster's CLUSTER tab: the cluster is running, with one server per game mode and the servers listed by the backend.
Omni Cluster running one server per game mode (addresses and names blurred).

Runs any build headlessly

Unity with -batchmode -nographics, Unreal with -NullRHI, on cheap Windows or Linux VPS nodes with no graphics card. Your normal Unreal build can run as a listen server, with UE4SS for console commands on Windows.

Heals itself

Crashed servers restart straight away, long-running ones restart on a schedule to clear built-up memory, and another server starts when a game mode fills up.

No per-hour cloud bill

Pay once for Advanced and rent a plain Windows or Linux VPS by the month, an EU node and a US node, say. No per-minute orchestration fees like the big cloud services charge.

Set up in about 15 minutes, with scoped keys

Import the setup file from your download and add a ubgs1. server key with only the fleet and matches scopes: your admin password never touches a game server machine.

What a month of game servers costs

An example: game servers using 8 vCPUs, running all month (730 hours) in the US, at on-demand prices.

Where your servers runPer month
Omni Cluster on a rented serverHetzner CCX33: 8 dedicated vCPUs, 32 GB, Ashburn$165.99
Amazon GameLift Servers4 × 2-vCPU Linux instances at $0.099 an hour, US Eastabout $289
Edgegap8 vCPUs at $0.00115 per vCPU-minute (about $0.069 an hour)about $403
PlayFab Multiplayer Servers4 × D2v2 (2 vCPUs) at $0.252 an hour, US Eastabout $736

Plus Advanced, paid once. Prices exclude tax and network traffic, which each provider charges differently; Hetzner's also excludes an IPv4 address. Hetzner's price as listed on 18 November 2026, the others on 12 November 2026: they change often, so check before you decide. How many game servers fit on 8 vCPUs depends on your game. The hosted services can cost less when your servers sit idle for much of the day, because they bill only while servers run, and they add machines in more regions by themselves. Hetzner, Amazon GameLift, Edgegap and PlayFab are trademarks of their owners; BackendGen.dev is not affiliated with them.

Good to know: Omni Cluster runs on Windows and Linux, not macOS. Unreal dedicated servers haven't been tested end to end with it yet (it's on the roadmap). The voice relay works with any engine; the ready-made voice chat is made for Unity and hasn't been tested on iOS yet.

See Omni Cluster Advanced pricing

Voice chat · Full comparison with GameLift, Edgegap and PlayFab · Windows or Linux

Star Raiders, the demo game: a ship firing at asteroids, with the live leaderboard beside it

🎮 Play the demo game

Star Raiders: a real game on a generated backend

A 60-second Godot game in your browser. Pick a gamertag, set a score and watch it land on the live leaderboard. Sign-in, scores and cloud saves all run on a backend made with BackendGen.dev.

Play now →

Tested, and you can check it yourself

A self-test for your live server, every access rule in plain English, and load tests we ran ourselves, with the numbers.

Deploy with confidence

Check your live server in one command

Every backend comes with a self-test. Point it at your live server and you get a pass/fail report in seconds: is it reachable over HTTPS, is the admin side locked down, can players only change their own data, are old game versions turned away, are backups recent.

In Unity it's the Verify My Backend button. Anywhere else, one command. New to servers? Follow the step-by-step deploy guide.

node verify-backend.js https://api.mygame.com
Verify My Backend - https://api.mygame.com

  PASS  [server] Server is reachable
  PASS  [config] Admin password is strong
  PASS  [admin] Tampered admin session is refused
  PASS  [security] Anonymous users cannot download the whole database
  PASS  [security] Path tricks (../) are refused
  PASS  [security] Outdated game versions are refused (426)
  PASS  [rules] A player cannot sign in on someone else's gamertag
  PASS  [rules] Players cannot change someone else's data
  PASS  [routes] Writes the rules forbid are refused (28 tried)
  PASS  [backups] Backups are recent
    ...

  31 passed, 0 warning(s), 0 failed

What it generates

🎮 Live Multiplayer Backend

Player identity, match results and skill ranking out of the box. The Advanced Add-on runs everything around your game servers: matchmaking, parties, guilds, economy and live ops.

Included

Match Results & SR Ranking 1v1, Teams & 200-Player FFA Unity, Godot & Unreal Clients Player Profiles & Friends Access Rules Table & Tester

With the Advanced Add-on

Matchmaking Queues Parties & Guilds Game Server Fleet & Join Tickets Leaderboards Economy & IAP Checks Trades & Auction House Coupons & Loot Tables Realtime Rooms & Lobbies

🏢 Apps & SaaS

A JSON data API with per-path access rules, a typed JavaScript client and an OpenAPI spec, so it works with any front end, not just Unity.

Included

Per-Path Access Rules Staff & Moderator Roles JavaScript Client & OpenAPI Data Export & Delete

With the Advanced Add-on

PostgreSQL Admin Dashboard Analytics & Retention

💬 Chat & Community

Chat, friends and notifications as data paths, with push, social sign-in and moderation in the Advanced Add-on.

Included

Chat, Friends & Notifications Player Rename & Profile Transfer

With the Advanced Add-on

Push Notifications Social & Platform Sign-In Player Reports & Moderation Chat Block Enforcement Guild Chat & Player Mail Direct Messages Over WebSocket

The Advanced Add-on comes with the Advanced licence, or as an upgrade if you already own Base.

Works offline, even at a game jam. The database (SQLite) is built in, so your backend runs on your own PC with no internet, no cloud account and no Docker: double-click start-local (or Generate & Boot Local Server in Unity) and point your game at localhost. Teammates on the same Wi-Fi or LAN can connect to your PC's address. You only need the internet once, to install its packages the first time.

Running a game jam?Every entrant gets Advanced free for the length of your jam, and the top 3 games win a permanent licence. It costs you nothing. For jam organisers → Prototyping a multiplayer idea?Find out if the loop is fun before anyone builds a server: a real backend running on a laptop today, ready for production if it's greenlit. For prototypes & R&D →

Prototyping a multiplayer idea?

For studio R&D teams, incubators and anyone pitching a game: find out if the loop is fun before anyone builds a server.

Running today, not next sprint

It runs on a laptop in minutes: no cloud account, no Docker, no waiting for IT to set up servers. Teammates on the same network can join straight away.

Your gameplay team codes against the real thing

Not a mock: real sign-in, saved data and match rankings from day one, plus leaderboards and matchmaking with Advanced, through the Unity, Godot and Unreal clients that come with it.

Greenlit? Keep it.

The same code goes on a server, and Advanced adds PostgreSQL and more servers when you grow.

Scrapped? It cost a licence, not weeks of backend work.

More on prototyping and R&D → · Several people on the team using the generator? See studio licences.

Code you'd write yourself

Generated code is often a mess nobody wants to touch. This is plain JavaScript and Express, commented, in files named for what they do. Tick what your game needs and see what you'd get.

You choose

Your engine
What your game needs

Needs Base · 43 files

A taste of the generator: the real one has every setting, and each says what it does and which file it ends up in. Try it free.

You get

// StarRaidersClient.cs is in your download: add it to a GameObject
var backend = StarRaidersClient.Instance;

backend.SignIn("Ann", callback: (ok, reply) =>
{
    if (!ok) { Debug.LogWarning("Sign-in failed: " + reply); return; }

    // access-rules.json lets Ann change her own profile, nobody else's
    backend.SetDbNode("users/Ann/profile/bio", "\"Top fragger\"");
    backend.GetDbNode("users/Ann/profile", (_, json) => Debug.Log(json));
});
Your game: calling the backend from Unity

The calls and files come from real backends generated for “Star Raiders”. The server part is a short excerpt; your download has every file, in full. Play the Star Raiders demo to see it running.

Built on tools you already know

No custom framework and no black box. Your backend is plain, readable code on a standard stack, so any Node.js developer can pick it up and change it.

The backend

Base

  • Node.js and Express
  • SQLite (better-sqlite3 in WAL mode), backed up automatically
  • Signed sessions, per-path access rules and limits on repeated sign-in attempts
  • A built-in self-test to check it's working

The clients

Base

  • Unity C# client that works in WebGL and IL2CPP builds
  • Godot 4 client: a GDScript plugin with an example scene, for every export including the web
  • Unreal Engine 5 plugin: Blueprint nodes and C++, plus game-server nodes for your dedicated servers with Advanced
  • JavaScript client with TypeScript types, for websites and web apps (React, Vue, Next.js or plain JavaScript)
  • An OpenAPI description, for any other front end

Scaling up

Advanced

  • PostgreSQL (including Neon and Supabase) and multiple servers
  • Redis, Docker, Kubernetes, PM2 and nginx load balancing
  • Ready-made hosting: VPS with HTTPS (Caddy), Render, Fly.io and Railway

Works with the networking you already use. Use Mirror, Netcode for GameObjects or Fish-Net for the gameplay itself. Your backend runs everything around it: accounts, player data and rankings, plus matchmaking and your game-server fleet with Advanced. Step-by-step guides with the code: Mirror, Fish-Net, Netcode for GameObjects, Godot 4 multiplayer and Unreal Engine.

Pay once, or pay as you grow?

How a backend you own compares with a hosted platform such as PlayFab, Firebase or BACKND.

ComparedBackendGen.devHosted platformPlayFab, Firebase, BACKND…
How you payOnce, for the licence. Then your own hosting: a small server is enough for most games.Free to start, then usage-based charges that grow with your players.
Source codeYours: plain Node.js and Express. Change any line.Closed. You use their API and SDKs.
Your dataOn your server, in your own database.On the platform's servers.
Moving awayNothing to move away from. It doesn't need BackendGen.dev to run.Usually means rewriting the parts of your game that talk to it.
Running itYou do, with automatic backups, a self-test and step-by-step guides.They do it for you.

The full comparison, including when BackendGen.dev isn't the right choice →

Hosted platforms' features and prices change over time; this describes how they work in general, as of November 2026. PlayFab is a trademark of Microsoft. Firebase is a trademark of Google. BACKND is a product of AFI, Inc.

Pricing

Pay once and keep it: unlimited projects, code that's yours to ship, and free updates for all of 1.x.

Base

Everything you need for a single-server backend.

$249
one-time payment
∞ Includes unlimited projectsFree 1.x updates
  • Node.js + Express backend: full source, host anywhere
  • SQLite database (single server)
  • Player sign-in with signed sessions
  • Per-path access rules with staff & moderator roles
  • Match results & SR ranking: 1v1, teams and free-for-all up to 200 players
  • Player rename, profile transfer, data export & delete
  • Automatic backups, plus update packages that upgrade a live backend in one step
  • Unity C# client (incl. WebGL & IL2CPP), Godot 4 client, Unreal Engine 5 plugin (Blueprints & C++), JavaScript client & OpenAPI spec
  • Built-in self-test to check your backend
Buy Base

Advanced

Base plus the Advanced Add-on, for live production games and apps.

$449
one-time payment · already own Base? Add the add-on for $249
∞ Includes unlimited projectsFree 1.x updates
  • Everything in Base, plus:
  • Omni Cluster: run your dedicated game servers on your own Windows or Linux machines, with no per-hour server fees (voice chat between players in Unity games included)
  • PostgreSQL (incl. managed hosts such as Neon & Supabase) & multiple server replicas
  • Matchmaking queues: skill-based, parties kept together, game server reserved
  • Web admin dashboard (installs as an app on your phone)
  • Parties & guilds with roles, invitations & guild chat
  • Game server fleet: server keys, one-use join tickets & zone handoff
  • Live updates & a two-way realtime WebSocket (rooms, lobbies, direct messages)
  • Steam, Epic, Google, Apple, Game Center, Discord & OpenID Connect sign-in
  • Word filter, mutes, bans, player reports & moderation tools
  • Remote config & maintenance mode
  • Cloud saves & daily / weekly / all-time leaderboards
  • Economy: currencies, inventory & Google Play / App Store purchase checks
  • Player mail, safe trades & an auction house
  • Coupons (one code for everyone or one-off codes, plus a web page to redeem them) & probability tables (loot boxes, gacha, drops) with published odds
  • Analytics: daily players, retention, custom events & CSV export
  • Push notifications (Firebase Cloud Messaging)
  • Prometheus metrics & API docs
  • Docker, Redis, Kubernetes, PM2 & nginx load balancing
  • Hosting templates: VPS with HTTPS (Caddy), Render, Fly.io & Railway
Buy Advanced

🤝 Small studio making an online game? Become a partner: a free Studio licence in return for honest feedback.

Base is $249, £199 or €229; Advanced is $449, £359 or €409; the add-on for Base owners is $249, £199 or €229. Prices include VAT for buyers in the UK and EU. Elsewhere, any sales tax that applies is added at checkout, and the checkout always shows the final price before you pay.

When a new major version comes out, owners get a discounted upgrade.

14-day refundFull refund if you haven't downloaded a backend yet. Refund policy
Secure checkoutPayments are handled by Paddle, our reseller. We never see your card.
Ship it, no royaltiesUse it in commercial games and apps, yours or your clients'.
Yours for goodYour backend doesn't need BackendGen.dev to keep running.

Questions before you buy

Is it a subscription?

No. You pay once and keep it, with free updates for all of 1.x. The only running cost is your own hosting: a small server (VPS) from a few dollars a month is enough for most games, and you can start on your own PC for free.

Can I use it in a commercial game, or for a client?

Yes. The backends and client files you generate are yours to use, change, host and ship in commercial products, with no royalties, for your own projects or for clients. What you can't do is resell the generator itself or pass generated code off as a starter kit. The terms have the details.

Do I need to know Node.js?

Not to get started: you double-click start-local and it runs. Putting it online takes a few more steps, and the included guides walk you through them. Knowing some JavaScript helps when you want to change how the server works, because it's all plain, commented code.

How many players can one server handle?

On SQLite, the default, one server comfortably answered 2,200 requests a second on a desktop Ryzen 5 and 500 on a small 8 GB Windows VPS in our load test. If each player calls the backend once every 30 seconds, that's roughly 66,000 and 15,000 players online. For more, Advanced's PostgreSQL mode runs several servers behind a load balancer: four on the same desktop answered 3,750 requests a second (over 110,000 players online). Gameplay itself runs on your game servers. Every download includes load-test.js so you can measure your own server. For real-time chat and lobbies (Advanced), one 8-core cloud server kept 50,000 players connected and delivered 76,000 room messages a second.

If I change the code, will an update wipe my changes?

No: updates are modular and non-destructive. Your own game endpoints and scheduled jobs go in their own plugins/ and jobs/ folders (one .js file each), so your custom logic is never overwritten. Updates never touch your settings files, .env or the database either. Only the files the generator makes, such as server.js, are swapped for the newer version. If you edited one of those directly, the preview lists it before anything changes and keeps your copy in update-backups/. And if the server doesn't come back healthy, the update rolls back by itself.

What happens if BackendGen.dev closes down?

Your backends keep running. They never connect to BackendGen.dev: there's no licence check, no phone-home and no telemetry in the code. The only outside services a backend talks to are the ones you switch on yourself, such as Steam sign-in or push notifications. The code you've downloaded is yours to keep and change.

Does it replace Mirror, Netcode for GameObjects or Fish-Net?

No, it works alongside them. Your networking library runs the gameplay; your backend runs accounts, player data and rankings, plus matchmaking and your game-server fleet with Advanced. Your game server checks each player's session with the backend before letting them in: see the guides for Mirror, Fish-Net, Netcode for GameObjects and Godot 4 multiplayer.

Can my team use one licence?

One person generates the backend, and everyone on the team can use and change the code it makes: it's yours. Each person who uses the generator needs their own licence. Buying for several people? A studio licence gives you 5 or 10 Advanced seats for less than single licences: you give each seat to someone by email on your account page, and move it when people change. For a bigger team, email hello@backendgen.dev.

Can I try it before I buy?

Yes. Create a free account and try the generator: every setting and check works, Add-on included, and you see exactly which files you'd get. You only need a licence to download, and your settings are kept while you buy. If you change your mind after buying but before downloading anything, you get a full refund within 14 days.

I bought it on the Unity Asset Store. Do I pay again?

No. Your BackendGen.dev web licence is free: claim it with your invoice number. It's also the quickest way to get updates: new versions reach the web generator first, while Asset Store updates wait a few days for Unity's review.

I bought on BackendGen.dev. Do I get the Unity Asset Store version too?

No. The free licence only works one way: Asset Store buyers get a free web licence, but a BackendGen.dev licence doesn't include the Unity Asset Store package (the version that runs inside the Unity Editor), which is sold by Unity. You don't need it to make Unity games: every download includes the Unity C# client to add to your project.

Is BackendGen.dev the same as BackendGen on GitHub?

No. BackendGen.dev has nothing to do with other projects, packages or repositories with a similar name, such as the backendgen projects on GitHub. It's made and sold only here, by Michael Rowley in the UK, and it's the web version of Universal Backend Generator on the Unity Asset Store. Licences, downloads, updates and support only ever come from backendgen.dev and hello@backendgen.dev, so code, issues or support from those other projects aren't ours.

Not making a game?

It also builds the system behind a small business

For a shop, salon, clinic or trade: a portal your team signs in to, the records you keep, and an online shop and bookings for your website. It runs on your own server, as full source code.

Same licences and prices as for games: pay once, unlimited projects, no monthly fees.