Forgot password
Enter the email address you used when you joined and we'll send you instructions to reset your password.
If you used Apple or Google to create your account, this process will create a password for your existing account.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Reset password instructions sent. If you have an account with us, you will receive an email within a few minutes.
Something went wrong. Try again or contact support if the problem persists.
Image via Orteil/Dashnet

Cookie Clicker: How to Hack and Get Infinite Cookies

Nothing wrong with skipping to the good part.

The entire point of idle games like Cookie Clicker is to give you a simple, menial task to occupy your mind with. At its start, though, Cookie Clicker may be a bit too menial to hold your attention. If you want to just skip to the good bits, there’s an… alternative method to cookie dominance. Here’s how to hack and get infinite cookies in Cookie Clicker.

Recommended Videos

Really quickly, let’s clarify something: hacking Cookie Clicker requires the use of a browser source inspector. This means that this process can only be performed on the original browser-based version of the game. You can’t do this on the version of Cookie Clicker available on Steam, for example.

Now, with the disclaimer out of the way, here’s a step-by-step process for you:

  1. Open Cookie Clicker on the Dashnet website in your preferred web browser. Any browser is fine, they all work.
  2. You’ll need to open up your web browser’s source inspector. You can do this with the following key macros:
    • Firefox: Ctrl+Shift+K (Command+Option+J on Mac)
    • Chrome: Ctrl+Shift+K (Command+Option+K on Mac)
    • Internet Explorer: F12
    • Edge: F12
    • Safari: Command+Option+C
  3. You should see a little command line, which should also feature a randomized greeting from game’s developers. Yes, they know you do this, and no, they don’t care.
  4. To give yourself a functionally infinite amount of cookies, just copy/paste the following code without quotes: “Game.Earn(999999999999999999999999999999)”. You might need to give your browser permission to enter codes first, but it’ll tell you what code you need to enter for that.
  5. Hit Enter, and you’ll get 100 nonillion cookies instantly. You can re-enter this code as much as you want to keep getting more cookies, and you should have enough to buy any buildings or upgrades you want.

What is the Cookie Clicker Hack name?

The code I just explained doesn’t have a particular name, but there is a code that does. If you follow the same process and enter “Game.RuinTheFun();”, you’ll receive the same absurd amount of cookies, as well as all of the buildings and upgrades all at once. You’ll even get a message for this that reads “You doth ruineth the fun!” Maybe I did, Cookie Clicker, but I’d say this is a certain kind of fun in itself.

Author
Image of Daniel Trock
Daniel Trock
Since the first time he picked up a controller as a child, Daniel has been a dyed-in-the-wool gaming fanatic, with a Steam library numbering over 600 games. His favorite pastime, aside from playing games, is doing deep dives on game wikis to learn more about their lore and characters.