Cookie Clicker Cheats (CC Codes): Get Free infinite Cookies, Unlocks Every Achievement, And More
For over a decade, Cookie Clicker Cheats (CC Codes) has captivated players with its simple yet addictive idle gameplay. For those looking to fast-track their bakery empire, CC codes—the cheats and console commands for Cookie Clicker—offer a way to manipulate the game’s inner workings. This guide provides a complete breakdown of these codes, from basic cookie generation to unlocking the powerful debug menu, helping you enhance or entirely reshape your clicking experience.
Mastering these commands requires accessing your web browser’s developer console, a built-in tool for inspecting website code. Once opened, you can input specific JavaScript commands used by the game to instantly add cookies, unlock upgrades, spawn golden cookies, and much more. Whether you want to skip the early grind, experiment with late-game mechanics, or just cause chaotic fun, this guide covers all the essential CC codes and how to use them effectively.
Comprehensive Cookie Clicker Cheats ( CC Codes)
The following table categorises the most useful and popular Cookie Clicker cheats. When entering these codes, replace any text within < > brackets with your desired value. All codes are case-sensitive.
| Category | Cheat Code | Primary Effect | Example & Notes |
|---|---|---|---|
| Cookie & Production | Game.cookies = <number>; | Sets your total cookies to an exact amount. | Game.cookies = 1000000; sets your bank to 1 million. |
Game.Earn(<number>); | Adds a specified number of cookies to your current total. | Game.Earn(500000); adds half a million cookies. | |
Game.cookiesPs = <number>; | Sets your cookies per second (CpS) rate. | Game.cookiesPs = 10000; sets your CpS to 10k. | |
Game.cookies = Infinity; | Gives you infinite cookies. | Breaks normal price progression; use cautiously. | |
| Progression & Unlocks | Game.SetAllUpgrade(1); | Unlocks and purchases every standard upgrade in the game. | Does not include debug upgrades. |
Game.SetAllAchievs(1); | Unlocks every standard achievement. | Triggers the “Cheated cookies taste awful” achievement. | |
Game.Ascend(1); | Immediately ascends your game, converting cookies to Heavenly Chips. | ||
Game.gainLumps(<number>); | Adds a specified number of Sugar Lumps. | Game.gainLumps(50); | |
| Automation & Spawning | setInterval(function(){Game.ClickCookie()}, <ms>); | Creates an auto-clicker for the big cookie. | setInterval(function(){Game.ClickCookie()}, 10); clicks every 10 ms. |
new Game.shimmer("golden"); | Spawns a golden cookie on the screen. | Can be extended to auto-click them. | |
Game.gainBuff('<effect>', <dur>, <pow>); | Activates a specific golden cookie effect. | Game.gainBuff('Click frenzy', 77, 777); | |
| Debug & God Mode | Game.RuinTheFun(1); | A legendary “win everything” command cited by players. | Often described as granting maximal resources. |
Game.OpenSesame(); | Opens the official debug menu, adding powerful toggles. | Also unlocked by adding saysopensesame to your bakery name in the web version. |

How to Access the Cheat Console
Before entering any codes, you must open the developer console in your browser. The method varies slightly depending on your browser and operating system.
Here is how to open the console on major platforms:
- Google Chrome (Windows/Linux): Press
Ctrl + Shift + J. Alternatively, pressF12and click the “Console” tab. - Google Chrome (Mac): Press
Cmd + Option + J. - Mozilla Firefox (Windows/Linux): Press
Ctrl + Shift + KorF12. - Mozilla Firefox (Mac): Press
Cmd + Option + K. - Microsoft Edge: Press
F12and navigate to the “Console” tab. - Safari (Mac): First, enable the Developer menu in Safari Preferences. Then, press
Cmd + Option + C.
For the Steam version of Cookie Clicker, you must first enable the developer console. Navigate to the game’s local files through Steam, find the Start file, and change the line let DEV=0; to let DEV=1;. After launching the game, you can then open the console using the same F12 key.
A critical warning: Using most cheats will automatically grant you the “Cheated cookies taste awful” shadow achievement. This cannot be removed through normal play, permanently marking your save file. Always create a backup save before experimenting.
Using the Open Sesame Debug Menu
Beyond one-off codes, the most powerful tool is the Open Sesame debug panel. You can activate it by entering Game.OpenSesame(); in the console or, on the web version, by renaming your bakery to include saysopensesame (e.g., “MyBakerysaysopensesame“).
This menu grants access to game-breaking debug upgrades you can toggle on/off for just 7 cookies each, such as:
- Gold Hoard: Makes golden cookies appear extremely frequently.
- Magic Shenanigans: Multiplies your cookie production by 1,000.
- Turbo-charged Soil: Causes garden plants to grow every second.
Common Issues and How to Fix Them
Even with cheats, you might encounter issues. A very common problem is entering a code and seeing no effect. This is almost always due to a syntax error. Ensure you copy the code exactly, including correct capitalisation, parentheses, and semicolons.
If you set your cookies to an excessively high number, you may break the game’s internal calculations. Buildings and upgrades may have their costs displayed as NaN (Not a Number), preventing purchases. The safest fix is to reload a backup save from before you used the cheat.
Remember, cheating permanently alters your save. The only way to fully remove the “Cheated cookies taste awful” achievement and reset your legacy is to perform a hard reset using Game.HardReset(2);.
FAQ: Cookie Clicker CC Codes
How do you enter cheat codes in Cookie Clicker?
You enter cheat codes by typing them into your web browser’s developer console. First, open the console using a keyboard shortcut like Ctrl+Shift+J (Chrome) or F12 (Edge). Then, paste or type the code into the console input line and press Enter.
What is the ‘Ruin the Fun’ cheat?
Game.RuinTheFun(1); is a famous console command often cited by the community as a quick way to unlock massive amounts of content, effectively “winning” the game instantly. Its exact effects are broad, similar to unlocking all features.
Can you use cheats in the Steam version of Cookie Clicker?
Yes, but you must first enable the developer console. Edit the game’s Start file to change let DEV=0; to let DEV=1;. After this, you can open the console F12 and use the same code as the browser version.
How do you get the Open Sesame menu?
You can open the debug menu by entering Game.OpenSesame(); it in the console. On the browser version, you can also get it by changing your bakery name to end with saysopensesame.
Does using cheats disable achievements?
Using cheats will lock you out of earning new achievements legitimately and will automatically award the shadow achievement “Cheated cookies taste awful” as a permanent marker on your save file.
Get More Game Codes:
- MCCC Sims 4 Cheats
- Wheel Of Fortune Codes
- Click Simulator X
- The Forge Codes
- Grand Piece Online Codes
Is a freelance tech writer based in the East Continent, is quite fascinated by modern-day gadgets, smartphones, and all the hype and buzz about modern technology on the Internet. Besides this, a part-time photographer and love to travel and explore. Follow me on. Twitter, Facebook Or Simply Contact Here. Or Email: info@axeetech.com

![Netflix Premium Cookies [Daily Updated] Paid Netflix Account Cookies. Netflix Premium Cookies Official](https://axeetech.com/wp-content/uploads/2020/08/Netflix-Cookies-Official.jpg)
![Get 100% Working Free Netflix Cookies All Hourly Updated [Today's Cookies] Netflix Cookies Free Download](https://axeetech.com/wp-content/uploads/2020/08/Netflix-Cookies-Free-Download.jpg)
![Cookie Clicker OpenSesame Cheats and Console Commands [Updated Guide] List of all cookie clicker Opensesame Cheats Commands at one place](https://axeetech.com/wp-content/uploads/2025/10/cookie-clicker-Opensesame-Cheats-Commands-150x150.jpg)


