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.
What it does
- Sectional track (R1 to R4 curves, straights and points) for HO, OO, N and O scale, and flex track bent to any curve
- Turnouts, curved and three-way points, wyes, diamonds, double slips and scissors crossovers
- Bridges, tunnels, grades and track on several levels
- Turntables, engine sheds and roundhouses
- Stations, platforms, buildings, roads, level crossings, hills and trees
- Trains made up car by car, with coupling, uncoupling and shunting
- Victorian (Australian) style signals, blocks and route setting like a signal box
- Trains that run themselves round a loop of stops, kept apart by the signals
- A dispatcher list, a follow camera and a minimap of the whole layout
- A layout checker for clearances and loose ends
- Left- or right-hand running, undo and redo, copy and paste, snap to grid
- Mouse and keyboard, or touch on a tablet
Who it's for
- Planning a layout. Try a track plan at scale before you buy track or cut a baseboard, and run trains on it to see whether it works.
- Running trains without a layout. No room for a train set? Build one on screen and watch it run.
- Learning signalling. Set routes like a signal box and see how blocks and signals keep trains apart.
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.