Became known for playing the titular role in Charlie and the Chocolate Factory and Peter in Finding Neverland. He has also landed lead TV roles such as Norman Bates in A&E's Bates Motel and Dr. Shaun Murphy in The Good Doctor. His other films include The Spiderwick Chronicles and August Rush.
He was in TV commercials by the age of seven. He made his film debut in the 1999 film Women Talking Dirty.
He was accepted into Cambridge and Emmanuel College.
His mother is a talent agent and his father is an actor. His mother's clients include Imelda Staunton and Daniel Radcliffe. He grew up with a younger brother named Albert.
He starred in the film The Art of Getting By with Emma Roberts.