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.
cookie-clicker
Image Source: Cookie Clicker

Cookie Clicker Hack Name and How to Use Open Sesame Dev Tools

Click here now if you want to click thousands upon thousands of cookies. Yum.

I have spent more hours than I care to admit watching a digital cookie spin while my bank account of imaginary treats hits numbers I can’t even pronounce. If you are like me, you eventually hit that late-game wall where progress feels like it is crawling through molasses. That is where the Open Sesame debug menu comes in. I have used these tools to stress-test my builds and uncover secrets buried deep in the source code, and I am going to show you exactly how to do it.

Recommended Videos

Whether you are looking to skip the grind or you just want to see what happens when you multiply your production by a thousand, this guide has everything you need. I have also dug up some hyper-specific data on the latest v2.052 patch and the hidden dungeon mechanics that most other guides completely ignore.

How to Unlock the Debug Menu in Your Browser

The Name Your Bakery screen in Cookie Clicker.
Image Source: Cookie Clicker

The most famous way to break the game is by changing your bakery name. I remember the first time I tried this; I thought it was just an urban legend until that little icon popped up. Here is the move:

  • Click on your bakery name to open the text box.
  • Type in your name (or keep the random one) and add a single space.
  • Type the word saysopensesame right after that space.
  • Hit enter, and look at the top-left corner of your screen. A tiny dev box icon should appear.

One thing I have learned the hard way: there is an internal character limit in that name box. If your base name is too long, the game will cut off the end of the hack word, and it won’t work. Keep your name short to make sure the command fits. If you want to leave debug mode, just remove the suffix from your name, save, and refresh the page.

Pro Methods Using the Developer Console

If you are a power user or just don’t want to mess with your bakery name, I recommend using the browser console. This is my preferred method because it is cleaner and doesn’t require a page refresh.

  • Open your browser’s console. On Chrome or Edge, just hit Ctrl + Shift + J (or Cmd + Option + J on a Mac).
  • Type in Game.OpenSesame(); and hit enter.
  • If you want to instantly unlock absolutely everything and ruin all the progression for yourself, you can type Game.RuinTheFun(); instead. Trust me, only do that if you are prepared to be overwhelmed by a mountain of notifications.

Breaking the Rules on the Steam Version

I have seen a lot of people complaining that the name trick doesn’t work on the Steam version. That is because the Steam build is sandboxed to keep the leaderboards fair. But I found a workaround. You have to edit the game files directly:

  • Right-click Cookie Clicker in your Steam library and go to Browse local files.
  • Find the folder called resources, then app, and locate a file named start.js.
  • Open that file with Notepad or any text editor.
  • Look for a line that says let DEV=0; and change that zero to a one.
  • Save the file and restart the game. You should now have access to the dev tools and the console.

Just a heads up from my experience: doing this might disable your Steam achievements while the mode is active. If you want them back, you will need to change that number back to zero once you are done playing around.

The Secret of the Shadow Achievement

The moment you open that menu, the game tags your save file with a shadow achievement called Cheated cookies taste awful. I actually find the name hilarious, but if you are trying to keep your save looking legitimate, you can use the tools to hide your tracks.

If you use the Neuromancy debug upgrade, you can go into your stats menu and toggle achievements on or off at will. I have used this to remove the cheating achievement after I was done testing a new strategy. You can also do it via the console with Game.Achievements[“Cheated cookies taste awful”].won=0.

The Math Behind the Madness

The dev tools screen in Cookie Clicker
Image Source: Cookie Clicker

Most players just buy whatever is cheapest, but I have found that if you want to be efficient, you need to understand exponential scaling. The game uses a specific formula to decide how much your next building costs:

Price=Base x 1.15 M-F

In this math:

  • Base is the starting cost of the building.
  • M is how many you currently own.
  • F is the number of free buildings you have earned from prestige upgrades.

This means every single building you buy makes the next one 15% more expensive. When you use the Buy 100 button in the dev tools, you aren’t just paying for the 100th building; you are paying the sum of an entire geometric series. For example, buying 10 of a building costs about 20.3 times the current price, while buying 100 costs a staggering 7,828,749 times the current price.

If you want to play like a pro, I suggest using the Nicholaslaux formula to find the best ROI: cost / current CPS + cost / delta CPS. I always run this calculation when I am deciding whether to save up for an expensive upgrade or buy a cheaper building right now.

Deep Lore and the Dark Side of Baking

Clicking on a cookie after performing the hack.
Image Source: Cookie Clicker

If you thought this was just a game about cookies, you haven’t been paying attention to the news ticker. I have spent a lot of time reading the flavor text, and the story is actually a cosmic horror tragedy.

  • The Grandmapocalypse: This is the big turning point. Once you buy the One Mind upgrade, your grandmas start to revolt. They eventually merge into a single, fleshy lifeform of cookie dough. I find the visual of the wrinklers surrounding the cookie legitimately creepy.
  • The You Building: In the latest v2.052 update, the final building is actually you. The lore suggests you have started cloning yourself and even shrinking entire universes down to use as bowling balls. It is a pretty grim look at how far a sociopathic baker will go for profit.
  • The Capitalism Parable: Many theorists (myself included) see the game as a parody of things like Farmville. It explores what happens when we stop being people and start being just money machines.

If you enjoy the strategy and hidden depth of idle games, you should definitely check out the Idle Breakout cheat codes or take a look at the Legend of Mushroom tier list to see which characters are dominating that meta.

Hidden Spatial Data and the Dungeon Beta

One of the coolest things you can do with the Open Sesame menu is access the hidden Dungeons. These are normally locked in the beta, but the A really good guide book debug upgrade lets you explore them in the live version.

I have analyzed the procedural generation of these maps, and here is what I found for the heroes:

  • Doe: The speedster. She has a Speed stat of 7, making her the best for clearing floors quickly.
  • Crumb: The tank. He has a Guard stat of 7 because of a baking accident, which makes him great for survival.
  • Chip: The all-rounder with balanced stats of 5 across the board.
  • Lucky: The high-luck hero (stat of 7), which increases the quality of loot you find.

These dungeons take about half a second to generate a new floor, and if you use the shift-click teleport hack from the guide book, you can skip straight to the bosses like the Sentient Furnace.

What is New in Patch v2.052

The latest update brought some really important technical changes that I noticed while digging through the patch notes.

  • Console Support: There is now full support for the Nintendo Switch touch screen and the PlayStation DualSense trackpad. I have tried it on PS5, and using the trackpad to navigate the dev menu feels way more natural than using a joystick.
  • Performance Fixes: The 3rd round of performance improvements specifically fixed the animation of the cursors that circle the cookie. This is a huge help for people like me who use autoclickers; it stops the game from lagging when you have thousands of cursors.
  • The Wrinkler Ambages: This is a new upgrade ported over from the mobile version. It has a 1/10,000 chance to drop from a regular wrinkler. If you are using the Wrinkler Doormat debug tool to spawn them faster, you will find this way more easily than a normal player.

I have found that the future of the game seems to be moving toward more minigames rather than just more buildings. The developer, Orteil, has hinted that dungeons might finally get a full release soon, along with more cosmetic options for our bakeries.

I hope this helps you master your cookie empire! You might discover other weird glitches and lore secrets while you are poke around in the dev tools.


Twinfinite is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more about our Affiliate Policy
Author
Image of Jorge Aguilar
Jorge Aguilar
Aggy has worked for multiple sites as a writer and editor, and has been a managing editor for sites that have dozens of millions of views a month. He's been the Lead of Social Content for a site garnering millions of views a month, and co owns multiple successful social media channels, including a Gaming news TikTok, and a Facebook Fortnite page with over 700k followers. His work includes Dot Esports, Screen Rant, How To Geek Try Hard Guides, PC Invasion, Pro Game Guides, Android Police, N4G, WePC, Sportskeeda, and GFinity Esports. He has also published two games under Tales and is currently working on one with Choice of Games. He has written and illustrated a number of books, including for children, and has a comic under his belt.
Author
Image of Dennis Limmer
Dennis Limmer
Dennis is a freelance writer for Twinfinite covering all things video games and anime since August 2023. A storyteller and artist who enjoys partaking in the art created by others and promoting culture.
Author
Image of Luke Hinton
Luke Hinton
Luke Hinton is a video games journalist currently working as Senior Guides Writer and Associate Editor at Twinfinite. He has undergraduate and postgraduate degrees in Journalism, Media, and Culture, and previously specialised in entertainment writing.