ModelRailPro logo ModelRailPro

Modern control
for your model railway

Free and self-hosted. Run your model railway from your phone, tablet or PC — driving, turnouts, block control and automatic running. For DCC-EX, Roco Z21, Märklin, ESU ECoS, Fleischmann Twin Center, Lenz and Uhlenbrock.

Web · PWAFree & open DCC-EX · Z21 · Märklin · Twin Centertowards full automation

Live preview

This runs entirely in your browser (simulation — no layout needed). Exactly the real controls: turn on track power, pick a loco, give it throttle, toggle functions. As you drive, a "train" runs through the blocks.

simulator · live
0/126

What it does

From manual driving to a layout that runs itself.

🎚 Driving & turnouts

Smooth throttle, direction, functions (lights/sound) and turnouts — from any device, with multiple operators at once.

🗺 Block control

Per-block occupancy and collision prevention: a route is refused if a block is occupied.

🤖 Automatic running

Trains follow routes block by block — reserve, drive, arrive, wait, continue. Manual override any time.

🧭 Learn mode

Drive a lap and the layout discovers itself: blocks and routes are built from the occupancy feedback.

☁️ Control from anywhere

Operate your layout remotely via the web version with a secure pairing code. Or purely local on your own Wi-Fi.

🌍 Multilingual & free

Dutch, English and German. Free and open; no subscription, no cloud lock-in.

Supported command stations

One app — pick your command station at startup.

Command stationConnectionStatus
Simulator✅ works
DCC-EXWiFi / TCP✅ works
Roco / Fleischmann Z21UDP · LAN🟡 ready, verify on layout
Digikeijs DR5000UDP · LAN🟡 ready, verify on layout
ESU ECoS / ECoS 2TCP🟡 in progress
Märklin CS2 / CS3UDP · CAN🟡 ready, verify on layout
Fleischmann Twin Centerserieel · P50X🟡 ready, verify on layout
Lenz · Roco multiMaus (XpressNet)serieel🟡 in progress
Uhlenbrock · LoDi (LocoNet)serieel🟡 in progress

Download & install

Free. Runs on Windows, Mac, Linux or a Raspberry Pi.

✨ Recommended: standalone (no Node.js needed)

One file, unzip, double-click. Pick your system:

Unzip → double-click modelrailpro → the browser opens. Set your command station in the app (Manage → Connection). Works with network stations (DCC-EX, Z21, DR5000, ECoS, Märklin). For serial stations (Twin Center, Lenz, Uhlenbrock) use the Node.js version.

Or: the Node.js version (all stations, incl. serial)

How it works

  1. Unzip the file.
  2. Start the program (double-click) — your browser opens automatically.
  3. Pick your command station in Manage → Connection and save.
  4. On your phone, open the address shown (same Wi-Fi) and control your layout.

Control from anywhere

Besides local on your own Wi-Fi, you can also control your layout over the internet.

🏠 Local

Fastest and offline — open the program on your network and control from any phone in the house.

☁️ Cloud (optional)

Set a secret pairing code in the app and control your layout from anywhere via this website. The program connects outbound — no port forwarding.

Free now

ModelRailPro is completely free and open. A licensing mechanism is built in for future, further-developed versions (one-off or yearly) — but what you install now keeps working.