The Konami Code and Other Famous Cheat Codes, Explained

By · October 30, 2026 · 6 min read

Before the internet, cheat codes spread through magazines, playground rumours and the backs of game boxes. A few became so famous that people who never played the games still know them. Here are the legends, where they came from, and how to use them.

The Konami Code

Up, Up, Down, Down, Left, Right, Left, Right, B, A. It first appeared in Konami's home version of Gradius, where a programmer reportedly added it to make the game easier to test, and it powers up your ship. It became world-famous through Contra on the NES, where entering it on the title screen (followed by Start) gives you 30 lives instead of 3. Konami went on to hide it in dozens of other games, and it still turns up as an Easter egg on websites and apps today.

Mortal Kombat's blood code

When Mortal Kombat came to home consoles in 1993, both versions toned down the arcade's gore. The Super Nintendo version replaced the blood with grey "sweat". The Genesis version hid it instead: on the screen that explains the "Code of Honor", press A, B, A, C, A, B, B and the blood and finishing moves come back. That hidden code helped the Genesis version outsell its rival, and the debate over violent games that followed led to the creation of the ESRB age ratings.

Sonic the Hedgehog's level select

In the original Sonic the Hedgehog, press Up, Down, Left, Right on the title screen. If you hear a ring chime, hold A and press Start to open a level select. Sonic 2 has its own: in the sound test, play tracks 19, 65, 09 and 17 (said to be the birthday of programmer Yuji Naka), then return to the title screen, hold A and press Start. Codes like these were left in by developers for testing and kept because fans loved finding them.

JUSTIN BAILEY

Metroid used passwords instead of saves, and players discovered that the password JUSTIN BAILEY (with dashes filling out the rest of the password grid) starts the game with lots of equipment and Samus out of her armour. For years people assumed Justin Bailey was a real person; the truth is that the password system simply turns some combinations of letters into valid game states, and this one happened to spell a name.

ZELDA

In the original The Legend of Zelda, finishing the game unlocks a harder Second Quest with rearranged dungeons. You can skip straight to it by entering ZELDA as your name on the file screen.

Codes vs cheat devices

All of the above were built into the games by their developers. Cheat devices like the Game Genie, Action Replay and GameShark were different: they changed the game's memory as it ran, which let players invent codes the developers never planned, such as infinite lives in games that had no cheats at all. Our guide to using retro cheat codes explains how those devices worked and how to enter their codes in an emulator, and every game on Matrix Picks with known codes has its own cheats page. Start with the cheat code search.

Do these still work?

Yes. Built-in codes work on original cartridges, in emulators, and in most official re-releases, because they're part of the game itself. If a code doesn't seem to work, check that you're playing the right version: codes sometimes differ between the Japanese, American and European releases of a game.

Not sure what to play? Let the Matrix pick

More guides

Retro Games That Are Still Brutally Hard (and How to Actually Beat Them)Ninja Gaiden, Contra, Battletoads, Ghosts 'n Goblins and more: why these classics are so tough, the specific traps that end most runs, and the tricks and codes that get you to the credits.PAL vs NTSC: Why European Retro Games Ran SlowerWhy Sonic, Street Fighter II and countless other games ran slower in Europe and Australia, what 50Hz and 60Hz really mean, and which version to play today.Why Your Old Cartridge Lost Its Save (Save Batteries Explained)Why Pokemon, Zelda and other classic cartridges forget your progress, how long save batteries last, which games are affected, and how to protect or replace them.CRT vs Modern TV: How to Make Retro Games Look (and Feel) RightWhy old consoles can look blurry and feel laggy on a flat-screen TV, what 240p means, the cables and upscalers that fix it, and whether you really need a CRT.Region Locking Explained: Can You Play Japanese Games on a US Console?How each classic console stopped imported games from working, which handhelds were region-free, and the adapters, mods and alternatives people use to play imports.The Best Games on Every Classic HandheldThe essential games for the Game Boy, Game Boy Color, Game Boy Advance, Nintendo DS, Game Gear, Neo Geo Pocket Color and Atari Lynx, and what makes each one worth playing.How to Get Into Retro Gaming: A Practical Starter GuideThe easiest ways to start playing classic games today, from subscriptions and collections to original hardware, plus what to play first and how not to get overwhelmed.The Best Couch Co-op Games on Every Classic ConsoleHand-picked games two or more people can play together on the same screen, console by console, with tips on which ones are friendly and which ones will test a friendship.Why Duck Hunt Doesn't Work on Your TV (and How People Play Light Gun Games Today)The NES Zapper and other classic light guns rely on how old CRT televisions draw the picture. Here is how they work, why modern screens break them, and the options that exist today.How Matrix Picks Ranks Games (and Why 'Best' Doesn't Mean What You Think)Where our data comes from, what the fame score measures, how the quiz picks games for you, and the limits of ranking thousands of retro games.Retro RPGs You Can Actually Finish: Great Picks for Busy PeopleClassic role-playing games that won't eat 60 hours of your life, from friendly first RPGs to tight action RPGs you can wrap up in a couple of weekends.NES, SNES, Genesis or PlayStation? Which Classic Console to Start WithA plain-English comparison of the most popular retro consoles: what each one does best, which games define it, and who it's the right starting point for.How to Use Retro Cheat Codes: Game Genie, GameShark and Action Replay ExplainedWhat the classic cheat devices were, what their codes look like, how to enter them on original hardware or in an emulator like RetroArch, and what to do when a code does nothing.