Online Sokoban Solver & Custom Level Maker
Paint any Sokoban or sliding Ice Push puzzle on the grid—or paste a standard XSB ASCII map—to compute an instant BFS solution, copy the LURD transcript, watch the animated replay, or share a playable URL.
Interactive Sokoban & Ice Solver
Puzzle Maker & Auto-Solver
Paint your layout and click Auto-Solve or Test & Play.
Quick Workflow
How to Solve Any Sokoban Board Online
- Paint or Paste: Select wall, crate, target, and Pip brushes on the board—or open XSB / ASCII Map to paste a text puzzle.
- Match Crates & Targets: Ensure the number of crates ($) equals the number of target sockets (.).
- Auto-Solve & Watch: Click Auto-Solve Board to run BFS deadlock-pruned search, then hit Watch Solution or copy the LURD move string.
- Share Challenge Link: Click Share Custom Puzzle to encode your exact layout into a zero-backend playable URL.
Standard Format
XSB ASCII Map Symbol Reference
| Symbol | Tile Meaning |
|---|---|
| # | Solid wall |
| @ / + | Player / Player standing on target |
| $ / * | Crate / Crate placed on target |
| . | Empty target socket |
| ~ / S | Glacier frictionless ice / Snowbank stop pad |
Sokoban Solver FAQ
How do I paste a standard XSB Sokoban puzzle into this solver?▾
Click the "XSB / ASCII Map" button in the top-right corner of the workshop, paste your character grid (# for walls, @ for player, $ for crates, . for targets, * for crate on target, + for player on target), and click "Load & Solve" to compute an instant step-by-step solution.
Does this Sokoban solver find the shortest move solution?▾
Yes. The solver runs an in-browser Breadth-First Search (BFS) across reachable board states (up to 25,000 unique configurations) with corner and 2×2 deadlock pruning, returning a shortest-move solution along with standard LURD notation and an animated board replay.
What does uppercase vs. lowercase mean in the LURD solution output?▾
In universal Sokoban LURD notation, lowercase letters (u, d, l, r) represent empty-handed player steps (Up, Down, Left, Right), while uppercase letters (U, D, L, R) represent moves that push a crate.
Why did the solver say "Search limit reached (25,000 states)"?▾
Because Sokoban state spaces grow exponentially with crate count and open floor area (Sokoban is PSPACE-complete), compact chambers with 1 to 4 crates solve in milliseconds, while large open rooms with 5+ crates can exceed 25,000 states in the browser. Tightening outer walls or solving sub-sections keeps search instant.