1️⃣ USE THE DEVELOPER CONSOLE (EASIEST METHOD)
You can use the browser’s developer console to instantly give yourself infinite cookies.
✅ STEPS:
Open Cookie Clicker
- Go to https://cookieclicker.ee/.
Open Developer Console
- Press F12 (Windows/Linux) or Cmd + Option + I (Mac).
- Click the Console tab.
Enter the Cheat Code
- Copy and paste this code into the console:
Game.cookies = Infinity;
- Press Enter.
Enjoy Infinite Cookies! 🍪
- Your cookie count will now be infinite, allowing you to buy anything.

2️⃣ ENABLE DEV MODE (“SAYSOPENSESAME”)
This method unlocks Dev Mode, which allows you to add cookies easily.
✅ STEPS:
Rename Your Bakery
- Click your bakery name and change it to:
YourName saysopensesame
- Example: “CookieMaster saysopensesame”
- Press Enter.
Open the Dev Tools Menu
- A red “dev tools” button” appears in the top-left corner.
- Click it to access cheat options, including:
✔ Infinite cookies
✔ Spawn Golden Cookies
✔ Unlock all upgrades & achievements
✔ Change game speed
3️⃣ USE A BOOKMARKLET (ONE-CLICK CHEAT)
A bookmarklet allows you to trigger cheats with a single click.
✅ STEPS:
Create a New Bookmark
- Right-click the bookmarks bar and choose Add Page or Add Bookmark.
Enter a Cheat Code as the URL
- Set the bookmark’s URL to:
javascript:Game.cookies=Infinity;
Click the Bookmark
- While playing Cookie Clicker, click the bookmark to activate infinite cookies.
4️⃣ EDIT YOUR SAVE FILE FOR PERMANENT HACKS
This method lets you modify your save file for infinite cookies, upgrades, and more.
✅ STEPS:
Export Your Save
- Go to Options > Export Save.
- Copy the save string.
Edit the Save File
- Paste the save string into Notepad or another text editor.
- Find the
"cookies"
value and change it to:
"cookies":1e+100
- Modify other values like unlocked upgrades.
Re-import the Save
- Go to Options > Import Save and paste the new save data.
5️⃣ USE MODS (STEAM & BROWSER)
Mods add auto-clicking, stock market automation, and infinite cookies.
✅ BEST MODS FOR CHEATING:
- Cookie Monster (Advanced stats & optimizations).
- CCSE (Cookie Clicker Script Extender) (Allows custom scripts & cheats).
✅ 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 mods.
- Browser Version
- Install Tampermonkey (a Chrome/Firefox extension).
- Download a Cookie Clicker mod script.
- Activate the script and refresh the game.
6️⃣ USE AN AUTO-CLICKER FOR UNLIMITED CLICKING
An auto-clicker helps you generate cookies faster.
✅ STEPS:
- 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 massive CPS boosts.
🔥 BEST CHEAT CODES FOR COOKIE CLICKER
Cheat | Code |
---|---|
Add Cookies | Game.cookies += 1000000; |
Infinite Cookies | Game.cookies = Infinity; |
Spawn Golden Cookie | Game.goldenCookie.spawn(); |
Unlock All Upgrades | Game.UpgradesById.forEach(upgrade => upgrade.unlock()); |
Enable Dev Mode | Game.OpenSesame(); |
🎯 FINAL TIPS
✅ Backup Your Save before using cheats (Options > Export Save).
✅ Some cheats disable achievements (especially on Steam).
✅ Experiment and have fun! Hacking is great for testing but removes the challenge.
Now you can enjoy infinite cookies and become the ultimate Cookie Clicker champion! 🍪🔥🚀