RailwaySim: a model train simulator in your browser

Build and run a model railway in your browser. Lay track on a baseboard, build stations, yards and scenery, make up trains car by car, then drive them yourself or let them run on their own under working signals. Free, with no download.

Open the simulator

A large model railway layout with a town, stations and trains running

What it does

Who it's for

New to it? Open one of the example layouts, or read the guide.

Questions

Is RailwaySim free?

Yes. It runs in your web browser with nothing to download or install, and no account.

Can I use it to plan a real model railway or railroad layout?

Yes. Sectional pieces and flex track are drawn to scale in HO, OO, N and O, on a baseboard of the size you choose, and the layout checker points out tight clearances and track left unjoined. Then run trains on the plan to see how it operates before you buy track.

Can trains run by themselves?

Yes. Give a train a loop of stops and it runs round them on its own, stopping at each and obeying the signals. Or drive any train yourself with the throttle.

Where are my layouts saved?

In your browser: each layout saves itself as you work. Download a layout to keep a copy or to share it; anyone can open the file in the app.

Does it work on a tablet?

Yes. It is made for mouse and keyboard first, and works by touch on a tablet too.

What does it need?

A recent browser with WebGL, such as Chrome, Edge, Firefox or Safari.