Sokoban Online

Play Sokoban online for free on a clean notebook-style puzzle sheet with no ads. Push cardboard parcels onto target delivery squares using spatial logic and careful planning. Enjoy smart touch pathfinding and unlimited undo directly in your browser.

How to Play

- Tap any empty floor square to move your round pusher piece there automatically along the shortest path.

- Tap a box directly next to you (or press Arrow Keys / WASD) to push that box one step forward.

- One Box at a Time: You can push one box into an empty space or onto a target square, but you cannot push two boxes at once.

- Push Only: Boxes can only be pushed forward; they can never be pulled backwards.

- Push all parcel boxes onto the marked dotted target squares to complete the warehouse and win.

About Sokoban (Box Pusher)

Sokoban is one of the most famous spatial logic puzzles ever created. Originally designed as a warehouse box-pushing challenge, it requires forward planning to avoid trapping parcels against walls or in dead-end corners. Every move must be calculated to preserve clear pathways for your pusher.

Classic Box Pusher Puzzle Online — Free and No Ads

Play Sokoban free online directly in your browser. There are no downloads, no installations, no accounts, and no interruptions from advertisements. Enjoy a clean paper-and-pencil notebook aesthetic where walls are hand-hatched in graphite and parcels are warm cardboard boxes.

Four difficulty levels let you choose the right challenge: Easy (compact beginner warehouses), Medium (standard layouts), Hard (tight maneuvering), and Expert (intricate multi-box spatial riddles). Every puzzle is verified solvable without guessing.

Smart Touch Pathfinding and Unlimited Undo

Instead of forcing you to tap direction arrows dozens of times on mobile screens, our Sokoban interface features smart click pathfinding. Simply tap any open square on the floor and your round pusher token will navigate there instantly. If you accidentally push a box into a corner, use the unlimited Undo button to step back without starting over.

Sokoban Strategy and Tips

1. Avoid Corner Traps

Never push a box into a corner formed by two solid walls unless that corner is one of the designated target delivery squares. Once a box enters a non-target corner, it can never be pulled out.

2. Watch Along Flat Walls

If you push a box against a straight wall that has no target squares along its length, the box is permanently trapped along that edge. Always make sure you can get behind a box before pushing it against a wall.

3. Keep Pathways Open

Avoid placing boxes where they block the only hallway connecting different sections of the warehouse. Work from the deepest target squares outward so completed parcels do not obstruct your remaining boxes.

Why Sokoban builds spatial reasoning

Sokoban trains multi-step lookahead and spatial visualization. Because every push alters the topology of available walkways, solving Sokoban sharpens your ability to foresee geometric consequences before making a physical move.

FAQ

What is Sokoban?

Sokoban is a classic warehouse box-pushing spatial logic puzzle. You control a warehouse pusher whose goal is to push boxes onto designated target storage squares. You can push boxes forward, but you can never pull them or push two boxes at once.

Is this Sokoban game free?

Yes. No ads, no account, no download. Open the page and play immediately in your web browser.

How do controls work on touchscreen phones and tablets?

Simply tap any open floor square to automatically walk there using smart pathfinding, or tap an adjacent box to push it in that direction. You can also use keyboard arrow keys or WASD on desktop.

Can I undo moves if I get stuck?

Yes. Sokoban features an unlimited Undo button so you can step back as many moves as you want without having to restart the entire warehouse from scratch.

What does Sokoban mean?

Sokoban is a Japanese word meaning "warehouse keeper." The name reflects the original concept: you are a warehouse worker pushing heavy boxes to their correct storage positions. The game was created by Hiroyuki Imabayashi and first published in Japan in 1982.

The History of Sokoban

Sokoban — Japanese for "warehouse keeper" — was created by Hiroyuki Imabayashi and first published by Thinking Rabbit in Japan in 1982. It debuted on the NEC PC-8801 home computer and was later ported to dozens of platforms. The game's defining constraint — you can push boxes but never pull them — makes each level a one-way commitment puzzle where misplaced boxes permanently block progress. Sokoban became a benchmark problem in artificial intelligence research; automated Sokoban solvers are used to test planning algorithms because the puzzle is PSPACE-complete, meaning it belongs to the same computational complexity class as some of the hardest known computational problems. Despite this, well-designed Sokoban levels feel approachable to humans because the key insight is usually spatial and visual rather than algorithmic.

How to Avoid Deadlocks

Most Sokoban failures come from pushing a box into an irreversible position. These rules prevent the most common traps:

- Never push a box into a corner unless that corner is a target square — a cornered box that is not on a target can never move again.

- Watch for edge deadlocks: a box along a wall with no target on that wall segment cannot be pushed to a target without leaving the wall, which requires pulling — impossible in Sokoban.

- Before pushing, trace the box's full path to its destination. If any step requires passing through a space you cannot reach from the other side, the path is blocked.

- Plan which box goes to which target first. Solving them in the wrong order often creates blocking chains where each box is waiting for another to move.

- Use the undo button freely — Sokoban is a puzzle of revision. Finding the right sequence almost always requires multiple backtracks.

What Sokoban Builds

Sokoban is a spatial planning puzzle in a strict sense: every move is reversible in principle (via undo) but irreversible in consequence (a pushed box changes the board state). This makes it an exercise in lookahead — the ability to simulate future states mentally before committing to a move. Research in cognitive science suggests that spatial planning tasks like Sokoban engage the same prefrontal and parietal networks used in route finding, mental rotation, and working memory. Unlike timed games, Sokoban rewards slow, deliberate thinking, making it well-suited to players who prefer depth over speed. The satisfaction of solving a warehouse that seemed impossible is a direct result of the moment the correct sequence clicks into place — a feeling that is hard to replicate in games with random elements.