Candy Box 2 — free online Open Source game
Collect candies, buy a sword and set off on an ASCII adventure.
Candy Box 2 is a free online ASCII adventure that begins with a single counter of candies. Eat them, throw them, or save them up to unlock a merchant, a sword and a whole world drawn in text characters: villages, forests, castles and caves full of quests, puzzles, equipment and boss fights. Idle progress keeps the candies coming while you explore. Candy Box 2 is open-source software by aniwey; play it in your browser with no download and no sign-up.
Open-source credits
Candy Box 2 is an open-source game made by its authors on GitHub, not by this site. We host a copy under its original license; the copyright stays with the authors of the GitHub repository below.
- Copyright
- © the authors of candybox2/candybox2.github.io on GitHub
- Source code
- github.com/candybox2/candybox2.github.io
- License
- GPL-3.0-or-later
- Hosted version
35301d4
Bug reports, feature requests and the full source code belong to the upstream repository.
Quick start
- Press start and watch your candy counter go up.
- Decide what to do with your candies: eat them, throw them, or save them for later.
- Keep going: new features, shops and places unlock as you collect more.
How to play Candy Box 2
- You earn candies over time, even when you are not doing anything.
- Spending candies unlocks new parts of the game one by one, starting with a status bar and a menu.
- Visit the village and its merchant to buy lollipops, equipment and other items.
- Explore the map: each place is drawn in ASCII characters and holds quests, enemies, puzzles or secrets.
- Better equipment and new abilities let you take on harder quests and bosses.
Controls
- Click the buttons and links on screen to take actions and move between places.
- In quests, use the buttons and keys the game shows on the quest screen.
- The save menu lets you save to a slot and turn on autosave.
Frequently asked questions
Who made Candy Box 2?
Candy Box 2 is an open-source game by the authors of the GitHub repository candybox2/candybox2.github.io (github.com/candybox2/candybox2.github.io), released under the GPL-3.0-or-later license. This site hosts a copy of it under that license and does not own it; bug reports and the full source code belong to the original repository.
Is Candy Box 2 free?
Yes. Candy Box 2 is free to play in your browser, with no download, no account and no purchases.
Is my progress saved?
Your progress is saved in your browser on this device, so you can close the page and come back later. Clearing this site's data deletes it. Use the save menu to choose a slot and turn on autosave.
Can I play on my phone?
Candy Box 2 is built for a desktop browser. It can open on a phone, but the ASCII screens are easiest to read on a larger display.


