Genie is the spirit of the magic lamp and is a recurring character and Summon in Kingdom Hearts, Kingdom Hearts: Chain of Memories, and Kingdom Hearts II. He is originally from the Disney movie Aladdin. As a genie, he holds the cosmic power of granting three wishes to the one who holds his lamp.
 Kingdom Hearts
Genie's lamp was first discovered by Aladdin in the Cave of Wonders. He planned to use his three wishes to help Jasmine and then win her heart, but all of his wishes ended up being wasted on getting him and his friends out of trouble. The first wish was spent on getting rid of a Heartless attack and the second one to rescue Jasmine from Jafar. Eventually, Iago steals Genie's lamp and gives it to Jafar, who forces Genie to show Jafar the Keyhole of Agrabah and assisting him in fighting Sora, Donald, Goofy and Aladdin. To become more powerful, Jafar demands Genie turn him into an all-powerful genie. After Jafar is defeated, Jasmine is kidnapped and taken to another world. Genie offers Aladdin to return Jasmine, but Aladdin wishes Genie free from his lamp prison as he'd promised earlier. He then becomes a Summon for Sora. Unlike many of the other Summons, he does so of his own free will instead of being summoned from a gem.
 Kingdom Hearts: Chain of Memories
Genie serves as a fragment of Sora's memory in the Agrabah floor. After Sora defeats Jafar, who is also a fragment of his memory, Genie gives Sora his summon card.
 Kingdom Hearts 358/2 Days
Genie reappears in Kingdom Hearts 358/2 Days in Agrabah where he talks to Roxas and Xion. By this time, Genie and Carpet are on their way to travel the world. Once Genie hears that Agrabah is in trouble he decides not to go on his tour, but sways his decision after Roxas tells him that Aladdin wants to fix the town himself. After Roxas inadvertently helps Aladdin and Jasmine, Genie is thankful to Roxas and leaves once again. This is the only game so far that Genie doesn't serve as a summoning creature.
In the Kingdom Hearts 358/2 Days manga, Genie helps Roxas and Xion defeat the Antlion by holding it still to stop its rotating.
 Kingdom Hearts II
Genie has much less screen time in the second game. When the party reaches Agrabah, they discover Genie has gone off to see the world along with Carpet. He misses most of the action, but arrives near the end of Sora's first visit and disturbs Pete, who tries to free Jafar from his lamp. Aside from that the only notable achievements Genie does is clearing out a sandstorm for Sora and fixing Agrabah after the Jafar's destruction. He seems to have somewhat more ego here than in the first game, as he complains that one lousy sandstorm is just too easy and that he didn't get to help in the battle against Jafar. Genie once again becomes a summon partner for Sora once the Lamp Charm is obtained. His newest feature is copying Sora's Drive forms and wielding his own copy of the Keyblade.
 Kingdom Hearts coded
Data-Sora visits Data Agrabah and is seen talking with Data Genie. Genie helps Sora throughout his journey to debug Agrabah after Sora recovers his lamp from Iago. This time, Genie becomes Sora's party member instead of Aladdin.
Genie is a fun-loving and wacky character. Never frowning, never still, he is always ready to brighten up someone's day. He is an eternal optimist, not caring that he has been stuck in a lamp for 10,000 years. He is incredibly loyal to his master, but equally loyal to his friends.
The Genie is a large, sky blue being with black hair tied into a topknot (secured by a small gold ring). He has a small, pointed nose and curved, pointed ears. He wears a single gold earring on his right earlobe and has a black beard that ends in a curl. Like other Disney characters, Genie only has four fingers on each hand. He wears a gold bracelet on each wrist, later revealed to the "shackles" that symbolize his enslavement as a genie. Normally, Genie's legs are usually nonexistent, replaced by a ghostly tail that is a slightly darker shade of blue than the rest of his body. A red sash divides the upper and lower halves of his body. Due to his virtually unlimited magical power, Genie can morph his size and appearance in any way he chooses, so his appearance is not set in stone.
In Kingdom Hearts, he is able to perform multiple magic tricks to attack Heartless, such as shooting magic beams and performing the magic spells Sora already knows by activating the command on the lower section of the menu, Showtime. His attacks can only become available if the player locks onto a target.
In Kingdom Hearts II, when Genie once again becomes a summon partner for Sora, he can copy Sora's Drive forms and wields his own copy of the Keyblade. In each form, he can perform a different kind of attack. However, he can only mimic the Drive Forms that Sora has obtained. If Sora gets injured, he will heal his wounds.
Genie's Keyblade has a dark red handle surrounded by a guard with two, light-blue teardrop-shaped cloud wisps pointed upward ending in a light purple gradient and connects to two circular gold cloud wisps. At the bottom base of the handle, there is another cloud wisp that seems to flow when the Keyblade moves. The shaft of the Keyblade begins white at the base and ends in a flat gold cylinder at the top. A replica of Genie’s lamp sits atop the shaft and the spout of the lamp serves as the “teeth” of the Keyblade. There is no Keychain for Genie’s Keyblade, as the flowing cloud wisp at the bottom connects to Genie’s smoky tail.
Genie originates from the 1992 Disney film Aladdin. In the film, Genie appears to Aladdin, Abu, and his long-time friend Carpet after being trapped in the Cave of Wonders. Once greetings were exchanged, Genie explains to Aladdin, his current master, that he has the power to grant him three wishes. After Aladdin and Abu trick Genie to use his magic to escape the cave, Genie brings them to an oasis, where he reveals to Aladdin his desire for freedom from the magic lamp. A compassionate Aladdin promises Genie to use his third wish to set Genie free, elating him at the prospect. Granting Aladdin's first wish to become a prince in order to win Princess Jasmine's heart, Genie and the others travel to Agrabah. There, Genie continues to assist Aladdin's courtship with Jasmine and provides with advice. When Aladdin is shackled, gagged, and thrown off a cliff by Jafar's guards, Genie grants Aladdin his second wish after liberally interpreting Aladdin's nodding head for confirmation.
Not long afterwards, Aladdin becomes hesitant on using his third wish due to the pressure of being crowned sultan, which hurts Genie and strains his relationship with Aladdin. Iago later steals Genie's lamp and delivers it to Jafar, forcing Genie to become his slave. Unable to defy his new master, Genie grants Jafar's first and second wish to become the sultan of Agrabah and the world's most powerful sorcerer. Aladdin goes to the palace where Jafar was to retrieve Genie's lamp and during the final battle with Jafar, Genie was force to grant Jafar's third wish to become a genie. However, the fulfillment of this wish causes Jafar to be imprisoned in a lamp of his own, which the Genie enthusiastically hurls into the desert. While initially more than willing to sacrifice his freedom in order to allow Aladdin to be with Jasmine, Aladdin decides to live up to his original promise and uses his final wish to free Genie from his lamp's power. Now free from the lamp, Genie bids farewell to Aladdin and his friends, and sets off to explore the world.
He also appeared in the direct-to-video sequel, The Return of Jafar, where he comes back to Agrabah, but is outclassed and captured by a freed Jafar. He is freed by Aladdin and helps to stop Jafar. He continues to make appearances in Aladdin: The Animated Series and Aladdin and the King of Thieves as a central character. He was originally voiced by Robin Williams, but after some disagreements with Disney, Williams was replaced by Dan Castellaneta until the third film.
Genie was based off a similar entity from the original tale of Aladdin in The Book of One Thousand and One Nights. This genie is more serious, and he can grant unlimited wishes. There was also a second, less powerful genie, in a magic ring which Aladdin used to recover the more powerful genie, with both of them being found in the Cave of Wonders.
 See also