After winning the Finnish championship title with
IFK Mariehamn, on 15 December 2016, Viitala signed a 2.5-year contract with
Viborg FF on a free transfer. He made his debut in a 1–0 victory against
AaB on 8 April 2017. On 11 August 2018 Viitala signed for Swedish champions
Malmö FF. He signed a short-term contract for the rest of the year to replace injured back-up goalkeeper
Fredrik Andersson. He made his first appearance for Malmö FF on 23 September 2018, when he replaced an injured
Johan Dahlin at halftime in a 4–0 victory over
Kalmar FF. He made his first start a week later in a 0–0 draw against
GIF Sundsvall. On 2 December 2021, he joined
Inter Turku on a two-year contract. He retired after the 2023 season. ==International career==