Kingdom Hearts Encoder

The Kingdom Hearts Encoder is a machine developed by Ansem the Wise in Kingdom Hearts II.

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 for 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 dies in the blast. 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.