While in the game, type one of these codes to apply it. The SMBX window must be activated, so if the cheat won't work, try clicking inside the SMBX Window. Please remember that cheating will disable saving, however by typing redigitiscool you will be able to save again.
Debug cheats
These cheats are good for debugging levels and episodes.
- shadowstar - Turns you into Black Mario, you can go through walls in this state.
wherearemycarkeys - Spawns a Key in your hands (use it in a Keyhole or locked door).
stickyfingers - You can grab any NPC with this (enables Grab All).
moneytree - Coins could go up very quickly, giving you a lot of 1-UPs.
donthurtme - Makes you invincible (enables God Mode).
stophittingme - Hits the player. Can kill you. Useful when you want to be hit or killed without turning the donthurtme cheat off temporarily.
wingman - Makes flying power-ups (Raccoon, Tanooki, Fairy Link, Gold Link) and Yoshis fly without limits.
sonicstooslow - Makes the player run really fast.
ahippinandahoppin - Unlimited jumping, you can jump in the air.
framerate - Shows your framerate on the top-left part of the game's screen. This doesn't turn off the ability to save.
istillplaywithlegos - Resets all Blocks/Tiles in the level.
speeddemon - sets Max FPS on (fast forward).
Item cheats (Item Stock)
These cheats spawn the item in question in your Item Stock (the item box). You'll have to catch the grabbable items in the air after dropping them from the box.
- needashell - Spawns a green Koopa Shell in your Item Stock.
needaredshell - Spawns a red Koopa Shell in your Item Stock.
needablueshell - Spawns a blue Koopa Shell in your Item Stock.
needayellowshell - Spawns a yellow Koopa Shell in your Item Stock.
needaturnip - Spawns an SMB2 turnip in your Item Stock.
needa1up - Spawns a 1-up (Extra life) in your Item Stock.
needatanookisuit - Spawns a Tanooki Suit in your Item Stock.
needahammersuit - Spawns a Hammer Suit in your Item Stock.
needamushroom - Spawns a Mushroom in your Item Stock.
needaflower - Spawns a Fire Flower in your Item Stock.
needaleaf - Spawns a Leaf Power-up in your Item Stock.
needanegg - Spawns an empty Yoshi Egg in your Item Stock.
needaplant - Spawns a Toothie in your Item Stock.
needagun - Spawns a Billy Gun in your Item Stock.
needaswitch - Spawns a P-Switch in your Item Stock.
needaclock - Spawns a green Stopwatch in your Item Stock.
needabomb - Spawns an SMB2 Bomb in your Item Stock.
needashoe - Spawns Kuribo's Shoe in your Item Stock.
needaredshoe - Spawns Podoboo's Shoe in your Item Stock.
needablueshoe - Spawns Lakitu's Shoe in your Item Stock.
needaniceflower - Spawns an Ice flower in your Item Stock.
Item cheats (hands)
These cheats spawn the item in question in your hands. If you're not holding the run/alt run key, the player will release the item in one second.
- boingyboing - Spawns an SMW Springboard in your hands.
bombsaway - Spawns an SMB2 Bomb in your hands.
firemissiles - Spawns a Bullet Bill in your hands.
powhammer - Spawns a Pow Block in your hands.
hammerinmypants - Spawns a Hammer Brother in your hands, that throws hammers to kill enemies.
rainbowrider - Spawns a rideable Rainbow Shell in your hands.
upandout - Spawns a Propeller Block in your hands.
burnthehousedown - Spawns a Flamethrower in your hands.
Yoshi cheats
These cheats spawn the Yoshi Egg in question in your hands.
- greenegg - Spawns a Green Yoshi Egg in your hands.
blueegg - Spawns a Blue Yoshi Egg in your hands.
yellowegg - Spawns a Yellow Yoshi Egg in your hands.
redegg - Spawns a Red Yoshi Egg in your hands.
blackegg - Spawns a Black Yoshi Egg in your hands.
purpleegg - Spawns a Purple Yoshi Egg in your hands.
pinkegg - Spawns a Pink Yoshi Egg in your hands.
coldegg - Spawns an Ice Yoshi Egg in your hands.
Player cheats
These are player-based cheats.
- 1player - Enables 1-player mode. (Also kills all your clones if used supermario2, supermario4 and up, if there are clones alive).
2player - Enables 2-player mode.
itsamemario - Changes your character to Mario if you're playing as someone else.
itsameluigi - Changes your character to Luigi if you're playing as someone else.
anothercastle - Changes your character to Toad if you're playing as someone else.
ibakedacakeforyou - Changes your character to Peach if you're playing as someone else.
iamerror - Changes your character to Link if you're playing as someone else.
Clone cheats
These cheats will make clones of you.
- supermario128 - Makes 128 clones of the player.
supermario64 - Makes 64 clones of the player.
supermario32 - Makes 32 clones of the player.
supermario16 - Makes 12 clones of the player.
supermario8 - Makes 8 clones of the player.
supermario4 - Makes 4 clones of the player.
supermario2 - You can control 2 different characters with this, hold down and press the "Drop item" assigned key to switch playing character.
World map cheats
These cheats only work on the world map.
- imtiredofallthiswalking - Shows you all paths and levels.
illparkwhereiwant - Lets you walk anywhere you want.
Miscellaneous cheats
Most of these cheats were made just for fun.
- wetwater - The level you're in becomes a water level, meaning you can swim everywhere.
wariotime - Turn all enemies on the screen into coins.
captainn - Allows you to stop time by pressing the pause button (Does not work if "Pause" is set on the "Esc" key).
flamethrower - Fire Flower, Ice Flower and Hammer Bro Suit shoot much faster.
fairymagic - Makes your character turn into a fairy.
iceage - Freezes all surrounding enemies.
itsrainingmen - 1-UPs rain.
donttypethis - Bombs rain.
LunaLua/TheXTech cheats
Cheats that work only with LunaLua (or TheXTech 1.3.6 and newer).
- toggledemocounter - Shows the death counter at the top-left part of the game's screen. This doesn't turn off the ability to save.
lunadebug - Shows the debug info over the game screen for approximately 10 seconds. This doesn't turn off the ability to save.
lunalongdebug - (TheXTech only) Shows the debug info over the game screen for approximately 25 minutes. This doesn't turn off the ability to save.
formatcdrive - Refresh all records of the death counter. This doesn't turn off the ability to save.
thouartdamned - Toggle the LunaDLL/LunaScript engine on or off. This doesn't turn off the ability to save.
Keep in mind that with LunaLua you can create your own cheat code libraries, like this for example.
SMBX2 cheats
In addition to existing SMBX cheats, SMBX2 adds its own bunch of cheats that you can find in this article.
And of course, the "SUPER NOT-SO-SECRET" Cheat Code:
- redigitiscool - Allows you to save your progress in-game after cheats have been used.