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

  1. 1
    Open Cookie Clicker. Go to http://orteil.dashnet.org/cookieclicker/ in your browser. This will open the Cookie Clicker game interface.
  2. 2
    Open your browser's source inspector. Depending on your browser, this process will vary:
    • 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
  3. 3
    Click the Console tab. You'll find it at the top of the source inspector window.
  4. 4
    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.
  5. 5
    Press Enter. Doing so will run the command and add your specified number of cookies to the game.
  6. 6
    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.
  7. 7
    Try using other cheats. You can enter any combination of the following cheats into the console:[1]
    • Game.RuinTheFun(); - Unlocks and applies every upgrade and building in the game, and adds 999,999,999,999,999,999 cookies to your bank. 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.
  8. 8
    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.
  9. Advertisement

Community Q&A

  • Question
    When I input the commands and change the value in the amount area, it says syntax error. Why?
    Community Answer
    Community Answer
    You have to delete the '' in the cheat codes. When you're typing the code amount, that is.
  • Question
    Can I use Microsoft Edge for this?
    Community Answer
    Community Answer
    Yes. You can just hit F12 on your keyboard and go to the console and put the code that you want in that console.
  • Question
    How do I get infinite cursors in Cookie Clicker Online?
    Community Answer
    Community Answer
    There 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.
Advertisement

Warnings

  • The site has the capability of banning IP addresses if the website detects suspicious activity (like hacking). Be careful with some hacks.
    ⧼thumbs_response⧽
  • Make sure that you enter the codes exactly as they appear here. Failing to do so will result in the codes not working.
    ⧼thumbs_response⧽
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 77 people, some anonymous, worked to edit and improve it over time. This article has been viewed 2,678,991 times.
1,539 votes - 45%
Co-authors: 77
Updated: March 25, 2023
Views: 2,678,991
Categories: PC Games
Article SummaryX

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!

Did this summary help you?
Advertisement