If you want infinite cookies, instant upgrades, or auto-clicking, you can cheat in Cookie Clicker using console commands, Developer Mode, save editing, or mods. Here’s how!
1️⃣ USE THE DEVELOPER CONSOLE (FASTEST METHOD)
The console allows you to enter cheat codes instantly for unlimited resources.
✅ HOW TO OPEN THE CONSOLE & ENTER CHEATS
- Go to Cookie Clicker.
- Open the Developer Console
- Windows/Linux: Press F12 → Click Console.
- Mac: Press Cmd + Option + I → Click Console.
- Enter one of these cheat codes and press Enter:
Cheat | Code |
---|---|
Infinite Cookies | Game.cookies = Infinity; |
Add 1 Million Cookies | Game.cookies += 1000000; |
Unlock All Upgrades | Game.UpgradesById.forEach(upgrade => upgrade.unlock()); |
Spawn a Golden Cookie | Game.goldenCookie.spawn(); |
Unlock Dev Mode | Game.OpenSesame(); |
📌 Tip: Use Golden Cookie buffs (Frenzy + Click Frenzy) for massive cookie gains!

2️⃣ ENABLE DEVELOPER MODE FOR EASY CHEATS
Another way to unlock cheats is by renaming your bakery to enable Dev Mode.
✅ HOW TO ENABLE DEV MODE (“SAYSOPENSESAME”)
- Click on your bakery name.
- Rename it to:
YourName saysopensesame
Example: “CookieMaster saysopensesame”
- Press Enter, and a red “dev tools” button appears in the top-left corner.
- Click the Dev Tools Menu to:
✔ Get infinite cookies
✔ Spawn Golden Cookies
✔ Unlock all achievements & upgrades
✔ Change game speed
📌 To disable Dev Mode, rename your bakery to anything else and refresh the page.
3️⃣ EDIT YOUR SAVE FILE FOR PERMANENT CHEATS
Modify your save data to give yourself unlimited cookies, sugar lumps, and upgrades.
✅ HOW TO EDIT YOUR SAVE DATA
- Go to Options > Export Save and copy your save string.
- Paste it into Notepad or any text editor.
- Find this line:
"cookies":XXX
Change XXX to a large number, such as:
"cookies":1e+100
- Re-import your save via Options > Import Save.
4️⃣ INSTALL MODS FOR AUTO-CLICKING & CHEATS (STEAM & BROWSER)
Mods provide auto-clicking, faster stock market trading, and infinite cookies.
✅ BEST COOKIE CLICKER MODS:
- Cookie Monster – Adds advanced stats & automation.
- CCSE (Cookie Clicker Script Extender) – Allows advanced scripts & hacks.
📌 How to Install Mods (Steam Version):
- Open Steam and go to the Steam Workshop.
- Search for “Cookie Clicker mods” and subscribe.
- Restart the game to apply the mod.
5️⃣ USE AN AUTO-CLICKER FOR UNLIMITED COOKIES
If you want to click faster without typing cheats, use an auto-clicker.
✅ HOW TO SET UP AN AUTO-CLICKER
- Download GS Auto Clicker (Windows) or AutoClicker (Chrome extension).
- Set the click interval to 1 millisecond.
- Aim at the Big Cookie or Golden Cookies.
- Activate the auto-clicker for insane CPS gains!
🎯 FINAL TIPS
✅ Backup Your Save before using cheats (Options > Export Save).
✅ Some cheats disable achievements (especially on Steam).
✅ For best results, combine Golden Cookies, auto-clicking, and upgrades.
Now you can cheat in Cookie Clicker and create the ultimate cookie empire! 🍪🔥🚀