Cookie Clicker Cheats: Console Commands for Browser

Codes last checked on against the sources listed at the bottom of this page. Covers the current browser version.

Published by

Money and resources

CheatCommandEffect
Set cookie countBrowserGame.cookies = 1000000Set your current cookie count
Add cookiesBrowserGame.Earn(1000000)Add cookies to your current count
Set cookies per secondBrowserGame.cookiesPs = 1000000Set your cookies per second
Set sugar lumpsBrowserGame.lumps = 100Set your Sugar Lump count
Set milk progressBrowserGame.milkProgress = 1Set your milk progress (0 to 1, where 1 is 100%)

Unlocks and shortcuts

CheatCommandEffect
Unlock everythingBrowserGame.RuinTheFun()Unlock every upgrade and achievement and give yourself one nonillion cookies
Unlock NeuromancyBrowserGame.Unlock("Neuromancy")Unlock the Neuromancy debug upgrade, which lets you toggle every other debug upgrade from the Stats menu
Freeze building pricesBrowserGame.priceIncrease = 1Keep every building at its base price no matter how many you own
Open debug menuBrowserGame.OpenSesame()Open the hidden debug menu without renaming your bakery

Debug menu

CheatCommandEffect
Reveal debug buttonBrowsersaysopensesameAdd this to the end of your bakery's name to reveal the debug menu button

World and fun

CheatCommandEffect
Party modeBrowserGame.PARTY = trueTurn on flashing party mode (bright, fast-flashing colors)
Change frame rateBrowserGame.fps = 60Change the game's frames per second; higher values speed up animations

How to enter cheats

Browser console

  1. Open developer tools (F12, or Ctrl+Shift+J on Chrome, Ctrl+Shift+K on Firefox, Cmd+Option+J on Mac).
  2. Select the Console tab.
  3. Type a command exactly as written and press Enter.

Debug menu

  1. Click your bakery's name.
  2. Add saysopensesame to the end of it.
  3. Click the green cookie and framerate counter that appears in the top-left corner.

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.

Part of

References: Cookie Clicker Wiki: Cheating; Dot Esports: All Cookie Clicker cheats and OpenSesame commands.