Kingdom Hearts Encoder

The Kingdom Hearts Encoder is a machine developed by Ansem the Wise in Kingdom Hearts II. It is only named as such in Jiminy's Journal.

Game Appearance
After Ansem is saved from a group of Nobodies by King Mickey, they travel together for a short time, and Ansem explains the purpose of the machine that he has with him; he means to use it to convert the Kingdom Hearts created by Organization XIII (with the unwitting help of Sora, Donald, and Goofy) into data so that it will not harm anyone else.

However, Kingdom Hearts proves to be too much for the Encoder to handle, and the machine begins to overload while Ansem futilely attempts to contain it. In the end, Sora, Donald, Goofy, Mickey, Riku, and Kairi attempt to stop him from doing what he plans to do, but Ansem begs them not to, gives Riku and Mickey some parting words, tells Sora that the rest is up to him, and sincerely apologizes to Roxas for what he had done to him through Sora. With those final words, the machine explodes, and Ansem is believed dead. He is, in fact, transported to the Realm of Darkness, having been there for a year since the incident in the World That Never Was.

However, the machine also undoes the majority of the Organization's work on Kingdom Hearts and completely purifies Riku of the presence of Xehanort's Heartless. But by doing this, it caused a massive birth of Heartless down in the city below and other Nobodies arrived to try and catch the falling hearts.