Humpty is a egg-shaped robot who is the third opponent in the puzzle game Dr. Robotnik's Mean Bean Machine. He seems to have trouble balancing and has a bandage on his face which is peels at when worried. He is smarter than both Arms and Frankly, and takes things smoothly when battling.

As with most opponents from Dr. Robotnik's Mean Bean Machine, Humpty is derived from a very briefly appearing minion of Robotnik's in the Adventures of Sonic the Hedgehog pilot, "Super Special Sonic Search and Smash Squad ". Interestingly there appear to be several versions of him (two coloured completely green, another coloured red), all towering above Sonic (but easily evaded by him). A grey coloured variant of Humpty in western garb (dubbed "DOS Holiday" by Robotnik) also challenges Sonic in the episode "Magnificent Sonic". In Sonic Christmas Blast, several robots also have a similar design.

Humpty was inspired by the nursery rhyme of Humpty Dumpty in appearance.