A LITTLE PLANNING GOES A LONG WAY
Sokoban.
Every box has a place.
Find a way to get it there.
Ready to plan further ahead? Play 520 planning challenges →. New to Sokoban? Learn Sokoban step by step ↓
CRATES THAT NEED EACH OTHER
520 planning challenges
Plan several crates together. Each puzzle needs at least 12 pushes, or 18 with seven or more crates. At least two crates need another crate moved before they can reach any target.
Browse all 520 challenges · 0 complete
Each card shows a proven lower bound on pushes. A solution can require more pushes, plus walking moves. Original Brainfold puzzle numbers, credits and saved progress stay the same.
Saved on this device. Browsing keeps your last game; playing another level replaces it for that collection. See the step-by-step examples.
Browse curated challenges 10 varied layouts from the full collection
Explore a mix of layouts and crate arrangements. Your saved game stays available until you play a different level.
Choose a level Collections & featured challenges
First delivery
Push a crate along a clear lane.
Arrow keys / WASD to move · Z to undo. Tap a reachable empty square to walk there. Swipe or use the arrows to push a crate.
Brainfold Workshop · 8 levels by Brainfold. Progress is saved separately for each collection in this browser.
Ready for a tougher puzzle? Choose from 520 planning challenges where at least two crates need another crate moved before they can reach a target. Each card shows a proven lower bound on pushes. A solution can require more pushes, plus walking moves. Challenge numbers have their own browsing order, while original Brainfold numbers, credits and saved progress stay the same.
9,336 levels available for selection across 3 credited collections, with 9,339 original levels preserved in the archive. Try curated challenges for varied layouts, learn with the Workshop, or browse the Brainfold and Boxoban collections. 3 levels are temporarily unavailable for new selection. Original numbers, old challenge links and saved games are preserved.
SIMPLE RULES, THOUGHTFUL MOVES
How to play Sokoban
Move the player through a small warehouse and push every box onto a target. You can push one box at a time, but you cannot pull boxes or move through walls. Stand on the opposite side of a box from the direction you want to push; the box moves away from you. Workshop level 2 demonstrates this below.
- Move one square. Use the arrow keys, WASD, or the on-screen direction buttons. Walking and pushing each count as one move; only a successful push increases the push count.
- Plan the way back. A box pushed into a corner without a target cannot be pulled out. Undo reverses a move while it is in the current history. Restart clears that history and cannot be undone.
- Cover every target. When all boxes sit on targets, the puzzle is complete. Continue to the next level or return to a previous challenge.
YOUR FIRST TWO DELIVERIES
Learn Sokoban step by step
Back to your current game ↑These read-only diagrams use the original first two Workshop levels. The large outlined circle is you, the orange square with × is a crate, and the small ring is a target. A crate turns green when it covers a target.
In the game, choose Start learning to begin or resume the next unfinished Workshop lesson. To try these exact examples, open Choose a level, select Brainfold Workshop, then level 1 or 2. Browsing keeps your saved game; making a move in another level replaces the saved run for that collection.
Workshop 1: First delivery
1. Start beside the crate
You are already on its left. The target is the small ring two squares to its right.
Moves 0 · Pushes 0 · Starting position 2. Push right once
Tap → or press Right. You step into the crate’s old square and push it one square right. This is one move and one push.
Moves 1 · Pushes 1 · R 3. Push right again
Tap → or press Right again. The crate covers the target and turns green: level complete in 2 moves and 2 pushes. Use Continue to open the next lesson.
Moves 2 · Pushes 2 · R → R
Workshop 2: Find the pushing side
1. Look above the crate
The target is above it. To push up, you need to stand directly below the crate, not on its left.
Moves 0 · Pushes 0 · Starting position 2. Walk right to get below it
Tap → or press Right once. No crate is in your way: this is walking. The move count becomes 1; the push count stays 0.
Moves 1 · Pushes 0 · R 3. Push up once
Tap ↑ or press Up. The crate moves away from you, one square toward the target. You now have 2 moves and 1 push.
Moves 2 · Pushes 1 · R → U 4. Push up onto the target
Tap ↑ or press Up again. The green crate covers the ring: complete in 3 moves and 2 pushes. The wall above the target prevents another upward push.
Moves 3 · Pushes 2 · R → U → U
Recover before starting over. Undo reverses one move, including a push. A box in a corner without a target cannot be pulled out, so Undo can help while that move is in your history. Restart clears the current run and its undo history, while keeping completed-level records. Restart cannot be undone. Changing levels also starts a new undo history.
After the 8 Workshop lessons, try Play curated challenges for more varied layouts. The same rules apply: stand on the opposite side of a crate from the direction you want to push, and keep an open square beyond it.
A FEW USEFUL DETAILS
Room to experiment.
Why does a box stop moving?
A box needs an open floor or target square behind it. It cannot pass through a wall, another box, or the outside of the board. Try undoing a push to recover a better position.
Can I play on a phone?
Yes. Tap a reachable empty square to walk there, or swipe or use the direction buttons to move one square and push crates. Undo reverses one square of movement at a time. Enlarge board gives you a closer view that you can scroll, and Fit board shows the whole level again.
Will I lose my progress?
Progress is saved locally when browser storage is available. It stays in this browser profile. Restart resets the current level, clears its undo history, and keeps completed-level records. Restart cannot be undone. To remove all saved progress, clear this site’s data in your browser settings.
What does a shared challenge contain?
A challenge link opens the selected level from its starting position. It lets someone try the same puzzle without revealing your solution or requiring an account.
Where do these levels come from?
The Brainfold Collection was provided by the site operator, who describes its layouts as manually designed and program-generated. The Workshop contains teaching layouts composed for Brainfold. Boxoban is a separate third-party dataset with its own source and Apache-2.0 license. Each collection has credits below the board.