In 2012, he won the 2012 FIS Ski Flying World Championships and thus became the Slovenia's third World Champion in ski jumping and the first in ski flying. He also set a new national record. At the same championship, he won the bronze medal in team competition. In the same season, Kranjec also won his second ski flying World Cup title.