Method 1: Use the Cheat Name (“saysopensesame”)
This is the easiest way to enable Dev Mode.
Steps:
Open Cookie Clicker:
- Go to https://cookieclicker.me/.
Rename Your Bakery:
- Click on your bakery name at the top of the screen.
- Change it to:
YourName saysopensesame
- Example: “CookieMaster saysopensesame”
Dev Tools Menu Appears:
- A red “dev tools” button will appear in the top-left corner of the game.
- Click it to open Dev Mode.

What You Can Do in Dev Mode:
- Add infinite cookies
- Spawn Golden Cookies
- Unlock all upgrades and achievements
- Change game speed
- Enable special debug options
Method 2: Use the Browser Console
If you don’t want to rename your bakery, you can enable Dev Mode using the browser’s developer console.
Steps:
Open Cookie Clicker.
Open the Console:
- Press F12 (or Ctrl + Shift + I) on Windows/Linux.
- Press Cmd + Option + I on Mac.
- Go to the Console tab.
Enter the Cheat Code:
Game.OpenSesame();
Press Enter
- The red “dev tools” button will appear in the top-left corner.
How to Exit Dev Mode
- Rename your bakery to something else (if you used Method 1).
- Refresh the page to reset the game (if you used Method 2).
Tips for Using Dev Mode
- Backup Your Save:
- Go to Options > Export Save before enabling cheats.
- Steam Version Warning:
- In Steam, enabling Dev Mode disables achievements for that session.
- Experiment and Have Fun!
- Use Dev Mode to explore upgrades, test mechanics, or speed up progress.
Now you can enter Dev Mode and take full control of your Cookie Clicker empire! 🍪🔥