Cookie Clicker Cheats, Codes & How To Hack The Game? (2024)

Cookie Clicker is a free incremental game that you can play on your desktop or mobile device. It was created by Julien Orteil Thiennot and released in 2013.

It’s a simple game that involves clicking on a giant cookie to produce cookies (the game’s currency).

As you accumulate more, you can buy assets like farms and mines that will increase the number of cookies that are produced every second. You can also upgrade your clicking ability and buy cursors that’ll speed up the process.

However, as you progress through the game, it gets harder and harder to keep up with increasing numbers and upgrades. You’ll need more cookies each time just to be able to upgrade your bakery and get more in return.

Luckily, there are several game cheats and codes out there.

Whether you want to maximize your cookie output, manipulate the game’s parameters, make billions of cookies in just a few minutes, or tweak the game so that it plays itself while you go do something else, I’ve got you covered.

In this post, I’ll break down some of the most effective methods to hack the game. I’ll also share a comprehensive list with all the cheat codes available today so that you can enjoy the best of Cookie Clicker without playing for hours on end.

Let’s dive right in!

Also Read:

How Can You Hack The Game?

Cookie Clicker Cheats, Codes & How To Hack The Game? (1)

There are plenty of ways to hack Cookie Clicker. The most 3 common ways are:

Option 1: Edit the game’s code

If you’re tech-savvy, you can change the Javascript code of Cookie Clicker directly on Google’s Console.

Cookie Clicker is open-source, which means that players can modify the code and add new features to the game.

Check Out: Best Cookie Clicker Alternatives

Cookie Clicker Cheats, Codes & How To Hack The Game? (2)

To edit the Javascript:

  1. Open up the Chrome Developer Tools and log in.
  2. Then, in the top-right corner of your browser window, click on the gear icon and select “Console” from the dropdown menu.
  3. Type in “javascript:void(0)”. This will bring up a prompt that allows you to enter the Javascript code.
  4. You can then modify the values of variables like “cookiesEarnedPerClick” or “cookiesEarnedPerSecond”.

For example, if you want to change the number of cookies you get for clicking on a cookie, you can set up a “1> Cookies = 100” function and click run.

Now every time you click on a cookie, it will give you 100 cookies.

Also Read: GTA 5 Cheat Code Guide On PC

Option 2: Load automation scripts

You can also upload additional scripts to the game, such as automation scripts.

Automation scripts are programs that run in the background and perform tasks while you’re doing other things. They allow you to automate certain actions in the game, and make them repeatable.

If you know HTML and Javascript, you can make your own. They can be a bit complicated to set up, but they’re worth it if you want to see your cookie production numbers go up without any human intervention.

For example, you could write a script that automatically buys buildings, upgrades them, and builds more of them until it reaches a certain amount of cookies.

Cookie Clicker Cheats, Codes & How To Hack The Game? (3)

This way, instead of spending hours clicking on each building individually and watching them upgrade one at a time, you can just let the script do it all for you!

You can also hack the game with scripts provided by other players. You can find these on Github Or Cookie Clicker user forums. There are four main ones:

Also Read: Best Multiplayer Online Games For Couples

Build Script X

Cookie Clicker Cheats, Codes & How To Hack The Game? (4)

The is a program that you can use to automatically buy items at the best price.

The script goes through every possible purchase and calculates how much cookie production per second (CPS) each one would give you. Based on this, it picks the most effective items and automatically purchases them.

As of Cookie Clicker’s version 2.0, you can also choose to receive notifications whenever the program is ready to buy new items. The notifications will tell you what item it’s buying, and how many more seconds until it buys.

Explore:

Build Script Y

Cookie Clicker Cheats, Codes & How To Hack The Game? (5)

This is another script to optimize your purchases.

The compares all buildings and upgrades available and their cookies output per second values.

The best combination of buildings or upgrades is calculated using a very simple algorithm that looks at minimum cost to get the most cookies per second.

Additionally, the script shows all of this information in a news panel at the top of your game’s screen so that it doesn’t get in your way while playing.

Also Read: Best Games To Play When Bored

Build Script Y v.3

Cookie Clicker Cheats, Codes & How To Hack The Game? (6)

The (also known as Build Script Y***) is a variation of Build Script Y.

If you load the previous version of Build Script Y, you’ll notice that sometimes it’s a bit laggy. That’s because it calls the “calculate best building/upgrade to buy” function too often and doesn’t cache the value of “best building/upgrade to buy.”

Build Script Y v.3 fixes this problem. It builds off of the original version by using exactly the same algorithm and logic, but instead of having the loop run every second, this version only runs once every 20 seconds.

The delay is so short that most users won’t notice any difference in its performance at all.

Explore: Best Games Like Blooket

Build Script Z Beta

Cookie Clicker Cheats, Codes & How To Hack The Game? (7)

The script keeps track of your production and makes sure you have between 20 to 140 minutes worth of production left when you get the ‘Lucky’ effect. This way you can get 3x more cookies than your current production.

The script works best for Cookie Clicker’s version 1.4, which is the version you play when you don’t have any golden cookie perks. It’s still in beta version 0.94, meaning you may experience some bugs.

However, it works quite well as far as I’ve been able to test.

Option 3: Enter Cheat Codes on Inspect Console

For those with less experience in coding or hacking, an easier option is to use cheat codes.

To insert them, you’ll need to open the Inspect Console on your device.

Inspect Console is a tool that lets you see what’s happening behind the scenes of your web browser. You can use it to make changes to a website or game without having to do any coding yourself.

Below I’ve included a list of different ways you can enter cheat codes on Cookie Clicker using the Inspect Console, depending on your browser and operating system.

Also Read: Best Steam Alternatives For PC Gaming

How to Hack Cookie Clicker on Firefox

Cookie Clicker Cheats, Codes & How To Hack The Game? (8)

If you want to enter your cheat codes in Firefox using a PC with Windows, you’ll need to take these steps.

  1. Navigate to the game’s website.
  2. Hold down “Control”, “Shift”, and “K” on your keyboard. This will open the Inspect Console.
  3. You can also open this window by right-clicking on any element on Cookie Clicker’s page, then selecting “Inspect Element”.
  4. Once you have opened the Inspect Console window, type your chosen cheat code in the “Console” tab.
  5. Hit Enter. Your changes will take effect immediately!

If you want to enter the codes in Firefox using a device with a Mac OS system, follow these steps instead:

  1. Navigate to the game’s website.
  2. Hold down “Control”, “Option”, and “K” on your keyboard. This will open the Inspect Console.
  3. Next, type your cheat code into the text box in the “Console” tab.
  4. Hit Enter.

How to Hack Cookie Clicker on Google Chrome

Cookie Clicker Cheats, Codes & How To Hack The Game? (9)

To enter cheat codes in the Inspect Console on Chrome from a Windows device, you’ll need to follow these steps:

  1. To start off, open up Chrome and navigate to the game’s website.
  2. Hold down “Control”, “Shift”, and “J”. This will open the Inspect Console.
  3. You can also open this window by right-clicking on any element on Cookie Clicker’s page, then selecting “Inspect Element”.
  4. Next, type the code into the box at the bottom of the page.
  5. Hit Enter.

If you’re using your Google Chrome browser on a Mac OS, follow these steps instead:

  1. Open up Chrome and navigate to the game’s website.
  2. Hold “Command”, “Option”, and “J” on your keyboard. This will open the Inspect Console.
  3. Then, type your code.
  4. Hit Enter.

Explore: Best Wordle Alternatives

How to Hack Cookie Clicker on Edge

Cookie Clicker Cheats, Codes & How To Hack The Game? (10)

If you are using Edge as your default browser, follow these steps:

  1. First, open the Edge browser and navigate to the Cookie Clicker game page.
  2. Next, open up the Inspect Console by pressing F12 on your keyboard.
  3. Now that the console is open, just type your chosen cheat code and press Enter.
  4. Go back to the Cookie Clicker window and refresh it. You will see the effects of your hack immediately.

How to Hack Cookie Clicker on Internet Explorer

To enter Cookie Clicker’s cheat codes in the Internet Explorer browser, you need to follow the exact same steps as with the Edge browser.

  1. First, open your Internet Explorer web browser and navigate to the Cookie Clicker game page.
  2. Next, open up the Inspect Console by pressing F12 on your keyboard.
  3. After that, enter your code and hit Enter.

How to Hack Cookie Clicker on Safari

If you want to can enter the cheat codes on the Inspect Console in Safari, follow these steps:

  1. First, open Safari and navigate to the Cookie Clicker’s website.
  2. Hold down “Command”, “Option”, and “C”. This will open the Inspect Console.
  3. Type or paste your code into the Console box.
  4. Then, hit Enter.

Also Read: Rec Room vs Roblox

List of 50+ Cookie Clicker Cheat Codes & Hacks

Cookie Clicker Cheats, Codes & How To Hack The Game? (11)

The following is a list of all the cheats you need to make your game more efficient. There are over 52 different codes and hacks, so even if you’re a veteran Cookie Clicker, there’s something here that can help you out.

I’ve categorized them into 9 categories:

Unlimited cookies

  1. Game.Earn + (number of cookies you want) — With this cheat code, you can get as many cookies as you want without having to click them yourself. Just put the number you want to get in cookies inside the parenthesis.

Another version of this same cheat is “Game.cookies=(number)“.

  1. Game.cookiesPs=(número) — This allows you to choose how many cookies you want to get per second.
  2. Game.RuinTheFun() — Use this code to upgrade all the buildings, unlock all their upgrades, and get 999,999,999,999,999,999,999,999 cookies. You can repeat this cheat as many times as you want.
  3. Game.cookies=Infinity — This code allows you to have an unlimited amount of cookies.
  4. Game.cookies=0 —- It basically resets your cookie count to zero

Also Read: Best Virtual Reality Social Games

Achievements

Cookie Clicker Cheats, Codes & How To Hack The Game? (12)

  1. Game.Achievements[‘name’].won=1 — With this code, you can unlock a specific achievement by writing its name inside the brackets.
  2. Game.SetAllAchievs(1) — You can use this cheat to unlock all of the game’s achievements at once.
  3. Game.Achievements[<name>].won = 0 — This command allows you to remove any specific achievement.
  4. Game.AchievementsById.forEach(function(e) { // if (e.hide == 3) e.won = 0}) — Use this code to wipe out all your achievements.
  5. Game.Has(‘achievement’); — Use this to check whether or not you have a specific achievement.

Upgrades

  1. Game.Ascend(1) — This cheat code will instantly transform all of your cookies into Heavenly Chips and Prestige.
  2. Game.RuinTheFun(1) — Use this to unlock the entire game – all the buildings, upgrades, and achievements.
  3. Game.SetAllUpgrade(1) — This will get you all of the upgrades in the game.
  4. Game.Unlock(Game.UpgradesById[<ID>].name) — Use this code if you’d like to unlock a specific upgrade in the game. <ID> is the name of the upgrade you want to unlock.
  5. Game.Upgrades[<name>].bought = 0 — This hack can be used to remove any upgrade.
  6. Game.UpgradesById.forEach(function (e) {e.basePrice = 0;}) — With this cheat, you can get all of the upgrades for free and increase their efficiency at no cost.
  7. setInterval(function() { Game.researchT = 0;}, 1) — This will set up a timer on your game that will reset itself every second and allow you to get the rewards of your research instantly.

Check Out: How To Win Every Kahoot Game?

Dungeons

Cookie Clicker Cheats, Codes & How To Hack The Game? (13)

  1. setInterval(function() {Game.Objects[‘Factory’].dungeon.timer = 0;},<milliseconds interval>) – Use this code if you want to go faster through a dungeon.

For example, if you want it to take 2 seconds for your hero to go through the dungeon every time he enters it, then put in “2” in the milliseconds’ interval space.

Sugar Lumps

  1. Game.lumps = <amount> — This will let you set your Sugar Lumps to whatever number you want.

You can also type “Game.gainLumps(amount of lumps)

  1. Game.lumpCurrentType = <value> — Use this hack to change the type of sugar lump. In the value space, enter “meaty”, “golden”, “caramelized”, or “ bifurcated”.

Grandmapocalypse

  1. Game.pledgeT = <minutes> * 60 * Game.fps — With this command, you can make the time left on your Elder Pledge shorter.
  2. setInterval(function() { if (Game.UpgradesInStore.indexOf(Game.Upgrades[“Elder Pledge”]) != -1) {Game.Upgrades[“Elder Pledge”].buy(); }}, 500) — This will buy Elder Pledge for you as soon as it becomes available in the game – and it will do so every 500 milliseconds (or 0.5 seconds).
  3. var noWrinkler = setInterval(Game.CollectWrinklers, 500) — This code will prevent wrinklers from popping up.
  4. for (i = 0; i < Game.wrinklers.length; i++) {Game.wrinklers[i].phase = 1;} — This will make it so that all the wrinklers instantly appear on your screen. Wait a few seconds while they feed, and reap the rewards once they’re done!
  5. for (i = 0; i < Game.wrinklers.length; i++) {Game.wrinklers[i].type = 1;} — Use this to transform all the wrinklers you own into shiny ones.
  6. setInterval(function(){Game.researchT=0;}, 0) — This code will cause the game to think that you’ve already researched everything, which will immediately give you access to the next Bingo Center upgrade.

Also Read: Best GTAGuessr Alternatives

Debugging

Cookie Clicker Cheats, Codes & How To Hack The Game? (14)

  1. Game.SesameReset() — This will reset the game and start you all over again at level one.
  2. Game.DebuggingPrestige=false — This will clean your prestige like you never played the game at all.
  3. Game.debugTimersOn=0 or 1 — Use this code to enable (1) or disable (0) your debug timers.
  4. Game.DebugUpgradeCpS() — This hack will reset the updates of your cookie production per second (CPS).
  5. Game.GetAllDebugs() — This code will return all the debugs in Cookie Clicker.
  6. Game.HardReset(2) — This command will reset your game back to the beginning and erase all progress you’ve made so far. You can use it as many times as you want.

Milk

  1. Game.Milk = amount — This command will modify the amount of milk you get.
  2. Game.milkProgress = milk amount — This allows you to change your milk production rate.
  3. Timer.track(‘milk’) — You can use this function to track your milk timer.

Miscellaneous

  1. Game.AscendTimer=time — With this code, you can set your ascent timer to whatever you want. The time variable is the number of milliseconds you want to wait.
  2. Game.bakeryName=”bakery name” — You can use this hack to name your candy store anything you want.
  3. Game.bakeryNameRefresh() — This command allows you to update/change the name of your candy store.
  4. Game.BuildAscendTree(); — Use this to build an ascending tree.
  5. Game.buyBulk=1/10/100 — This is a simple code that changes the quantity purchased to 1, 10, or 100.
  6. Game.CalculateGains() — This returns the total number of cookies you have earned in your current game.
  7. Game.computedMouseCps — With this cheat, you can calculate how many cookies you’re earning per second.
  8. Game.computedMouseCps=your desired mouse Cps amount — Use this to change the value to whatever you want your mouse clicks per second to be.
  9. Game.dragonLevel=number level — Replace the “number level” value with the level you want to set your dragon level to.
  10. Game.killShimmers() — This will get rid of all the shimmering cookies.
  11. Game.LoadSave() — This function allows you to load an existing saved file.
  12. Game.LoadSave(local) — Use this code to bring up a menu where you can select a saved local document to load.
  13. Game.localStorageGet(Game.SaveTo) — With this hack, you can save your game to your local storage. This allows you to continue playing anywhere, anytime.
  14. Game.MaxSpecials() — This cheat code allows you to get all the special offers and upgrades.
  15. Game.mousePointer=0 — This allows you to change the default pointer from the standard crosshair to other shapes and even remove it completely.
  16. Game.particlesUpdate() — This function updates the particles in the game.
  17. Game.popups=0 — Use this to automatically turn off all pop-up windows from the game.

Explore: Best Offline iPad Games

What happens if you cheat in Cookie Clicker?

If you cheat in Cookie Clicker, you will receive an achievement named “Cheated Cookies Taste Awful”.

It’s a Shadow Achievement, which means it doesn’t appear on your Achievements page and doesn’t have any impact on your game progress.

This will also happen if you hack the game and access Open Sesame.

Cookie Clicker Cheats, Codes & How To Hack The Game? (15)

The Open Sesame is a special and “hidden” control panel, which gives access to some unique features and cheats that can completely change your gameplay experience.

Some of these features include the ability to increase the number of cookies you currently have (and sugar lumps), speed up your production, and the number of cookies you receive per second.

You can also automatically upgrade buildings to get more cookies, check how many cookies are being produced, and see how many wrinklers are eating cookies.

The panel also includes a few other debugging tools, including an option to reset all Achievements to 0 and a timer that shows how long your game has been running.

To access Open Sesame on Cookie Clicker:

  • Open the Inspect Console and type the “Game.OpenSesame()” code.
  • Change your bakery name by adding the “saysopensesame” hack at the end. For example, if you want your bakery name to be “Magic Bakery”, then all you have to do is type in “Magic Bakery saysopensesame”.

Also Read: Best GameStop Alternatives

In Short

Cookie Clicker is a fun incremental game, but it can also get boring if you don’t have any way to progress quickly.

The cheats and hacks I’ve compiled above will help you get ahead in the game without having to put in endless hours. All the codes have been tried and tested by myself and other players, so you can be sure they will work!

Cookie Clicker Cheats, Codes & How To Hack The Game? (2024)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Twana Towne Ret

Last Updated:

Views: 6364

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.