This sliding puzzle solver step by step mode is for following a solution on a real puzzle or in a game. Enter your board above and press Solve. You get the full move list plus a replay you can step through one move at a time, forward and back.
A worked example, move by move
Here is how a step-by-step solution reads. The 3x3 board below is solved in the fewest possible moves, with a diagram after every move so you can check each position as you go.
12 moves · Shortest solution
Step 0: Initial board
Step 1: Move 5 down
Step 2: Move 3 right
Step 3: Move 1 up
Step 4: Move 4 up
Step 5: Move 7 left
Step 6: Move 5 down
Step 7: Move 2 left
Step 8: Move 6 down
Step 9: Move 3 right
Step 10: Move 2 up
Step 11: Move 5 up
Step 12: Move 8 left
How to read a step-by-step sliding puzzle solution
Each line names one tile and the direction to slide it. “Move 6 left” means: take tile 6 and slide it one square to the left, into the empty square. The direction is always the way the tile travels, which is what you see when you look at your puzzle.
Next to the full list you’ll find a compact version of the same solution, written with the letters U, D, L and R. These describe the blank instead of the tiles. Since the blank and the tile swap places, the blank always moves the opposite way: “Move 6 left” is R (the blank moves right), and “Move 3 down” is U (the blank moves up). The compact line is short enough to copy with one click and paste into a note, which is useful for long 4x4 or 5x5 solutions.
Moves are numbered and grouped in tens. The groups don’t change anything about the solution; they just give you natural places to pause.
Tips for following a long solution
Work one group at a time. Make ten moves, then compare your puzzle with the replay board. If they match, carry on. If they don’t, the slip happened within those ten moves, so you only need to look back a short way.
Let the replay keep your place. Press next after each move you make on your puzzle, and the current step stays highlighted in the list. Autoplay runs through the solution at 0.5x, 1x or 2x speed, which is a good way to preview a section before you play it.
Step back instead of guessing. If your puzzle stops matching, use the previous button until the replay board looks like yours again, and continue from there. Guessing usually makes things worse, because every later move depends on the earlier ones.
For an 8-puzzle, the 3x3 sliding puzzle solver gives the same step-by-step view with the shortest solution. For any other board, use the main sliding puzzle solver. And if you’d like to stop relying on a list of moves altogether, how to solve a sliding puzzle teaches the method for doing it yourself.