Humpty Alexander Dumpty is a character from the 2011 dreamworks animated shrek spin off/prequel Puss in boots. He is voice by Zach Galifianakis. He was Puss's best friend until he betrays him towards the end but decides to stick to being his friend . His plan in the film is to steal the golden goose because of the eggs it lays. He wears a golden egg suit in one scene in the film. W.Humpty also appears in the videos games Shrek superslam and shrek smash and crash racing and his grave is shown in shrek 4-D.