The machine is designed for flash butt welding of rails with cross-sectional area of from 6,500 mm to 10,000 mm in field conditions, through continuous or pulsating flashing, and removes flash immediately after welding. The machine is equipped with a welding process control system, which allows monitoring the welding process and and issues data sheets for every welded joint