How To Get Infinite or Unlimited Cookies In Cookie Clicker?

Infinite Cookie Clicker

For gamers, Cookie Clicker is a popular choice as of an idle game. As simple as it is, making cookies can be very satisfying for someone who enjoys idle games. The goal of this game is to create as many cookies as possible. For this, the user can get or hire cookie making items or structure against a certain amount of cookies. Like, you need 15 cookies to get a cursor and each cursor produces 0.1 cookies per second.  Similarly;

Grandma: Need 100 cookies, produces 1 cookie per second. And so on.

So, for a certain amount of cookies, you can get a cookie making element, item or structure and produce more and more cookies. The higher you go, the more the number of cookies you need to buy and produce more cookies.

When the game is launched, there is a large cookie on the left side. You click on the large cookie and each click earns you one cookie. There are many achievements that you can get as you play, although there is no real end to it.

Cookie Clicker is a very addictive idle game for gamers. One way gamers tend to enjoy more is by applying new hacks for getting more and more cookies and buying new items. That’s why the players are always trying to find out how to hack cookie clicker online and generate as many cookies as possible with just a few clicks in a few seconds rather than waiting. Although one should not encourage using such hacks in games, some do it just for fun. It is much better to enjoy the game’s true competitiveness by playing without hacks. Some popularly used hacks for getting unlimited or infinite cookies in the game are discussed below.

Hacks For Getting Infinite Clicks In Cookie Clicker

Cookie Clicker Hacks & Cheats

Cookie clicker hacks are line codes that users can enter into the original code and make unlimited or infinite cookies or get more cookies without making any real effort. Such hacks can also be used to get new upgrades, achievements, or get benefits in other elements of the game.

You can hack the game in many ways but two popular methods are adding codes in the game and modifying the ‘save file’ for the game.

Method 1: Use Developer Tools Or Inspect Elements

Method One- Use Developer Tools Or Inspect Elements

Since Cookie Clicker is a browser based game and can be opened in the code form of HTML5, CSS3 or JavaScript. To use this hack, you need to alter this code using a developer tool for the browser you are using.

Step 1: Open Cookie Clicker on any browser that you use such as Google Chrome from your PC. You can paste the in the browser as to open the game.

Open Cookie Clicker in Browser

Step 2: Right-click on the screen with the browser open and visit the ‘Inspect’ menu.

To open the inspect menu on Firefox, click CTRL with SHIFT and K; for Microsoft Edge, right-click on the screen and open ‘Inspect Element’; for Safari, hit + Option + C; and for Chromebook click CTRL, J and SHIFT together.

Step to Hack Cookie Clicker

Step 3: Visit the ‘Console’ tab in the developer’s window.

Go to Console Window of Browser

Step 4: In the ‘Console,’ enter the Cooking Generating code. “Game.Earn(number)”. In place of ‘number’, you can enter the number of cookies you want to get. For example to get a great virtually infinite number of cookies you can enter as many 9s as you want, e.g Game.Earn(9999999999999999999999999).

Generate Cookies Code

Step 5: Hit ‘Enter’ on your keyboard and wait. The specified number of cookies will get added to the game.

Other Cheats and Codes to Get Unlimited Cookies in the Cookie Clicker

Do try out new cheats using the above-mentioned methods. In place of the code discussed above, you can enter other codes for fun. Some other hacks you can use include the following:

  1. Game.RuinTheFun(): This code unlocks all the upgrades of the game and opens all the buildings and adds 999,999,999,999,999,999 cookies to your bank. With the new upgrades, you can further improve your performance.
  2. Game.cookies=number: Using this command, you can change the number of cookies, or ‘balance’ you have. Just replace ‘number’ with the number of cookies you want. You can also use this code to increase or reduce the number of cookies you have.
  3. Game.cookies=infinity: This code sets your cookie balance to infinity, or unlimited. You can buy whatever you want after that. On the other hand, if you wish to undo the code after you have applied it, enter ‘Game.cookies=0’.
  4. Game.cookiesPs=number: With this code, you can change the number of cookies you can generate in one second. Just enter the number you want in place of ‘number’.
  5. Game.lumps=number: This code can be used to change the number of sugar lumps you have with any number you replace ‘number’ with. Sugar lumps are another currency like cookies. These appear when you have made a minimum of a billion cookies in the game. When the sugar lumps are ripe, you can harvest them by clicking on them. The number of sugar lumps you have remains permanent.

Method 2: Export The Save File For The Cookie Clicker

The other method that can be used involves making changes to the exported file and importing it again.

Step 1: Launch any browser on the PC and open the game

Step 2: Click on the ‘Options’ button and go to ‘Export Save’. Then select the ‘Save to a file’ option so that the file gets saved on your PC.

Method Two- Export The Save File For The Cookie Clicker

Step 3: From Notepad, open the saved file and get to the code. At the very end, you will see ‘%21END%21’. Delete this information and enter ‘%3D’ instead, with a ‘=’ sign.

Step 4: Now that the file has been modified, copy it and paste it into the base63 converter.

Step 5: Use UTF-8 to decode the file and edit it as per your needs. Then copy the modified file.

Step 6: Visit base64 converter again and paste the edited save file here.

Step 7: While encoding the UTF-8, write ‘%3D’ in place of every equal to the ‘=’ sign. In the end, also add a ‘%21END%21’.

Step 8: Open Cookie Clicker and here import the edited save the file in the game.

What To Do Next?

Now that you have generated cookies for yourself using the hacks, use the cookies you got. You can buy items or structures using these cookies, get new tools to increase the number of cookies you can earn in one second. An Antimatter Condenser, for instance, will greatly increase how many cookies you can earn in one second. Other tools you can get include a Time Machine, a Changemaker, and a Prism to increase the cookies you generate in a second.

Using the aforementioned hacks for earning infinity cookies and the other hacks, you can improve your gaming performance. Gamers who love to boost their scores on Roblox Cookie Clicker can use these hacks to get more and more cookies. However, if you truly want to compete with others in the game, avoid using these hacks. The game is much more fun without such tricks.


Yes, these codes are case sensitive. You definitely need to make sure the codes are added appropriately.

Offcourse, for this you have to make sure that you save the original state of game before using cookie clicker cheats. This will help you to get back to the original state of game.

Yes, you may get banned in some situation as the website detects and bans the suspicious IP addresses. So, you have to be careful while using hacks.

Before typing the code for cookie clicker hack in chromebook you have to use: Control+Shift+J

In order to un-hack cookie clicker, simply just delete the browser cookies for the game. 

Go to console and type: game.cookies=0. This will delete the cookies but your legacy level will remain same.