MiniRail is a Java/Swing-based application for the planning of model railway systems. It integrates an extensible railway-piece library, automated end-fitting, railway reports and much more in an easy-to-use,zoomable,flexible track planner user interface.