wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 82 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 2,856,235 times.
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.
- 1Open Cookie Clicker. Go to http://orteil.dashnet.org/cookieclicker/ in your browser. This will open the Cookie Clicker game interface.
2Open your browser’s source inspector. Depending on your browser, this process will vary: X Research source
- 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.
- 3Click the Console tab. You’ll find it at the top of the source inspector window. X Research source
4Enter 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. X Research source
- 5Press ↵ Enter. Doing so will run the command and add your specified number of cookies to the game.
6Use 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.
7Try using other cheats. You can enter any combination of the following cheats into the console: X Research source
- Game.RuinTheFun(); – Unlocks and applies every upgrade and building in the game, and adds 999,999,999,999,999,999 cookies to your bank. X Research source 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.
8Save 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.
- 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.
- 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
- Make sure that you enter the codes exactly as they appear here. Failing to do so will result in the codes not working.Thanks
- The site has the capability of banning IP addresses if the website detects suspicious activity (like hacking). Be careful with some hacks.Thanks
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!