wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 84 people, some anonymous, worked to edit and improve it over time.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 3,471,426 times.
Learn more...
Do you want unlimited cookies in Cookie Clicker? If you're looking for the best cheat codes for the game, you've come to the right place! This wikiHow guide will show you how to hack Cookie Clicker in your web browser so you can enter cheat codes, and give you all of the Cookie Clicker cheat codes you'll ever need.
Steps
-
Open Cookie Clicker. Go to http://orteil.dashnet.org/cookieclicker/ in your browser. This will open the Cookie Clicker game interface.
-
Open your browser's source inspector. Depending on your browser, this process will vary:[1]
- Chrome: Press Ctrl+⇧ Shift+J (Windows) or ⌘+⌥ Option+J (Mac).
- Firefox: Press Ctrl+⇧ Shift+K (Windows) or Ctrl+⌥ Option+K (Mac).
- Edge: Press F12 or Right-click a blank space on the page and click "Inspect Element".
- IE: Press F12 or Right-click a blank space on the page and click "Inspect Element".
- Safari: Press ⌘+⌥ Option+C.
Advertisement -
Click the Console tab. You'll find it at the top of the source inspector window.[2]
-
Enter the "generate cookies" code. Type Game.Earn(number) into the console, making sure to replace number with the number of cookies that you want to generate.
- For example, if you want to generate virtually infinite cookies, you might type Game.Earn(999999999999999999999999999999) here.[3]
-
Press ↵ Enter. Doing so will run the command and add your specified number of cookies to the game.
-
Use your generated cookies to buy any structure or item. Once you have enough cookies, you can buy anything in the game to increase the number of cookies that you earn per second.
- Buying things like the Antimatter Condenser will significantly increase the number of cookies per second that you generate.
-
Try using other cheats. You can enter any combination of the following cheats into the console:[4]
- Game.RuinTheFun(); - Unlocks and applies every upgrade and building in the game, and adds 999,999,999,999,999,999 cookies to your bank.[5] This command can be repeated multiple times.
- Game.cookies=number - Changes your cookie balance to whatever number you use to replace number. This command can be used to lower your number of cookies as well as increase it.
- Game.cookies=Infinity; - Changes your cookie balance to unlimited. The only way to undo this is by entering Game.cookies=0 into the console.
- Game.cookiesPs=number - Changes the number of cookies generated per second to the number that you use to replace number with.
- Game.lumps=number - Changes the number of sugar lumps to the number that you use to replace number with.
-
Save your game if desired. You can save your Cookie Clicker progress to a file on your computer by clicking Options at the top of the page, then click Save to File to download a text version of your Cookie Clicker game's data.
- You can import the saved data by copying the downloaded text, clicking Options, clicking Import Save, and pasting in the copied text.
Community Q&A
-
QuestionWhen I input the commands and change the value in the amount area, it says syntax error. Why?Community AnswerYou have to delete the '' in the cheat codes. When you're typing the code amount, that is.
-
QuestionCan I use Microsoft Edge for this?Community AnswerYes. You can just hit F12 on your keyboard and go to the console and put the code that you want in that console.
-
QuestionHow do I get infinite cursors in Cookie Clicker Online?Community AnswerThere is no real way to get infinite cursors. However, you can use the code "Game.cookies=infinity", which will give you infinite cookies to buy cursors.
Tips
-
Codes are case-sensitive.Thanks
-
Once you've accumulated a large number of buildings and auto-clicking items, consider leaving your Cookie Clicker game on overnight.Thanks
-
It's recommended that you save your game before cheating. This will allow you to return to the game's original state if you so desire.Thanks
Warnings
- The site has the capability of banning IP addresses if the website detects suspicious activity (like hacking). Be careful with some hacks.Thanks
- Make sure that you enter the codes exactly as they appear here. Failing to do so will result in the codes not working.Thanks
References
About This Article
To hack Cookie Clicker online, start by loading the game. Then, open your browser’s source inspector. If you’re using Chrome, press control-shift-J. For Firefox, press control-shift-K. For Safari, press command-option-C. If you’re using a different browser, try right-clicking a blank space on the page and selecting “Inspect element.” Once you’ve opened the source inspector, click the “Console” tab at the top of the window. After that, type “Game.Earn” and then add the number of cookies you want in brackets. When you’ve typed the code, press the enter key to run the command. Now you can use your generated cookies to buy any structure or item you want. For more tips, including how to use other cheats to hack Cookie Clicker, read on!