The Hamburglar was originally portrayed as stealing hamburgers in McDonald's advertising.
Introduced as part of the McDonaldland character world, the Hamburglar was a mischievous figure whose defining behavior was trying to take hamburgers. His name directly reinforced the joke: it combined “hamburger” with the word “burglar.”
The earliest version of the character looked very different from the smaller, younger design many viewers remember. The original Hamburglar was a short, somewhat sinister-looking character with a long striped outfit. McDonald's later redesigned him with a more child-friendly appearance and made him a recurring comic figure.
The character was not created to describe a real crime or restaurant incident. He was a fictional advertising device that made the hamburger central to McDonald's playful brand universe and gave commercials a recurring conflict.