Karty committed to Stanford on a full-scholarship, on January 20, 2019. He held scholarship offers from multiple other schools, including Georgia, UNC, and Appalachian State.[3]
College career
In Karty's first season in 2021, he went 27 for 27 on extra points and ten for fifteen on his field goals.[7] During the 2022 season, he had his best performance versus Arizona State as he made five field goals as he helped Stanford beat Arizona State 15–14.[2] Karty also had another outstanding performance in week eight of the 2022 season, where he went three for three in a win over Notre Dame, where for his performance he was named the Pac-12 special teams player of the week.[8] Karty finished the 2022 season going 24 for 25 on his extra point attempts and 18 for 18 on field goal attempts, with a long of 61 yards.[9] For his performance on the season, he was a finalist for the Lou Groza Award which is awarded to the nation's best kicker.[10]
Heading into the 2023 season, Karty was named preseason first-team All-American.[11] In week seven of the 2023 season, Karty made a 47-yard game-tying field goal to send the game into overtime, and then made the game-winning field goal in overtime, as he helped Stanford come back down 29–0 to beat Colorado 46–43 in double overtime.[12] During the 2023 season, Karty went 21 for 21 on extra points and 23 for 27 on his field goal attempts.[13] After the conclusion of the 2023 season, Karty declared for the 2024 NFL draft.[14][15]