This document describes the design and development of a device to detect cracks in railway tracks. Sensors like IR sensors, ultrasonic sensors, PIR sensors, GPS and GSM modules are used. The IR sensor detects cracks in the tracks, ultrasonic sensor detects obstacles, and PIR sensor determines if obstacles are moving or stationary. When a crack is detected, the GPS module identifies the location which is sent via GSM module as an SMS to the nearest station master. The device is designed with a modular aluminum chassis and runs on batteries to autonomously inspect railway tracks for cracks and obstacles. Testing showed it can run for 3 hours and cover 32 km while achieving the target speed of 3 m/s. This automatic crack detection