Sliding Tile Puzzle Solver — 15 Puzzle, 8 Puzzle, Any Board 3×3 to 8×8

Set up your board — drag the tiles or scan a screenshot, even a picture puzzle without numbers — press Solve and follow the shortest sequence of moves. Free, in the browser, nothing to install.

How it works ↓

Sliding puzzle solver

Drag the tiles to match your puzzle, or press Shuffle for a random board. Solve plays the moves step by step. 3×3 solutions are optimal.

Want to learn the method instead? How to solve the 15 puzzle step by step →

How it works

  1. 1Set up your boardDrag the tiles to match your puzzle — or type the numbers.
  2. 2Press SolveThe solver works out the moves in about a second — optimal on 3×3, up to 8×8.
  3. 3Follow the movesTap Next — each step shows which tile to slide.

Picture puzzle from a game, no numbers? Three steps:

  1. 1Scan the puzzleA screenshot of the scrambled board from your game.
  2. 2Add the finished pictureThe target image the game shows — pieces are matched to it.
  3. 3Get the solutionFix any piece in the wrong spot by dragging it, then press Solve.

If the solver says a board can't be solved, two tiles are usually swapped — half of all arrangements are unsolvable. Curious how the moves are found? Six solver algorithms, compared. Rather solve it yourself? The step-by-step method.

By · Updated