Cookie Clicker Cheats: Console Commands for Browser
- Browser console Open developer tools (F12) and type a command in the Console tab, then press Enter.
- Debug menu Add saysopensesame to your bakery's name, then click the cookie and framerate counter that appears.
Published by Andrew B.
No cheats match that filter.
Money and resources
| Cheat | Command | Effect |
|---|---|---|
| Set cookie count | BrowserGame.cookies = 1000000 | Set your current cookie count |
| Add cookies | BrowserGame.Earn(1000000) | Add cookies to your current count |
| Set cookies per second | BrowserGame.cookiesPs = 1000000 | Set your cookies per second |
| Set sugar lumps | BrowserGame.lumps = 100 | Set your Sugar Lump count |
| Set milk progress | BrowserGame.milkProgress = 1 | Set your milk progress (0 to 1, where 1 is 100%) |
Unlocks and shortcuts
| Cheat | Command | Effect |
|---|---|---|
| Unlock everything | BrowserGame.RuinTheFun() | Unlock every upgrade and achievement and give yourself one nonillion cookies |
| Unlock Neuromancy | BrowserGame.Unlock("Neuromancy") | Unlock the Neuromancy debug upgrade, which lets you toggle every other debug upgrade from the Stats menu |
| Freeze building prices | BrowserGame.priceIncrease = 1 | Keep every building at its base price no matter how many you own |
| Open debug menu | BrowserGame.OpenSesame() | Open the hidden debug menu without renaming your bakery |
World and fun
| Cheat | Command | Effect |
|---|---|---|
| Party mode | BrowserGame.PARTY = true | Turn on flashing party mode (bright, fast-flashing colors) |
| Change frame rate | BrowserGame.fps = 60 | Change the game's frames per second; higher values speed up animations |
A code here did not work? Tell us and it gets rechecked. Report a code
How to enter cheats in Cookie Clicker
Browser console
- Open developer tools (F12, or Ctrl+Shift+J on Chrome, Ctrl+Shift+K on Firefox, Cmd+Option+J on Mac).
- Select the Console tab.
- Type a command exactly as written and press Enter.
Debug menu
- Click your bakery's name.
- Add saysopensesame to the end of it.
- Click the green cookie and framerate counter that appears in the top-left corner.
Compatibility notes
Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.
- Shadow achievement The Cookie Clicker Wiki lists only two events that award Cheated cookies taste awful: holding more cookies in the bank than you have baked all time, and using Open Sesame. It also documents a console line that removes the achievement again. Cookie Clicker Wiki: Cheating
- Version 2 and later Per the wiki, the saysopensesame debug menu exists as of V2 of the game. Since V2 the debug upgrades no longer show up in the store; you toggle them from the Stats screen while in debug mode. Cookie Clicker Wiki: Cheating
- Cookie Clicker Classic The wiki keeps cheats for Cookie Clicker Classic on a separate page. The commands here are the ones it lists for the current game, not for Classic. Cookie Clicker Wiki: Cheating
- Debug menu buttons Dot Esports lists a Wipe button in the debug menu that erases all your progress, and a No achievs button that removes every achievement. Read the label before you click. Dot Esports: All Cookie Clicker cheats and OpenSesame commands
FAQ
How do you enter cheats in Cookie Clicker?
Open your browser's developer tools (F12), select the Console tab, type a command exactly as written, and press Enter.
Is there a money cheat in Cookie Clicker?
Yes. Game.cookies = 1000000 sets your current cookie count, and Game.Earn(1000000) adds to it.
Do Cookie Clicker cheats affect achievements?
Yes. Opening the debug menu, or setting Game.cookies above your all-time total, unlocks the shadow achievement Cheated cookies taste awful.
What is the Cookie Clicker debug menu?
A hidden menu you reveal by adding saysopensesame to your bakery's name, or by typing Game.OpenSesame() in the console. It lets you click buttons instead of typing commands.
