Home / Sliding Puzzle Solver
100% Free ยท No Sign-Up

Sliding Puzzle (8-Puzzle) Solver

Enter your current 3x3 tile arrangement (use 0 for the empty space) and PuzzleNest finds the shortest sequence of moves to reach the solved 1-8 grid.

Current Arrangement

Use numbers 1-8 for tiles and 0 for the blank space. Each number must appear exactly once.

Shortest Solution

Enter your grid and hit Solve to see the shortest move sequence.
How It Works

Solve Any Sliding Puzzle in 3 Steps

1๏ธโƒฃ

Enter Your Grid

Type the numbers exactly as arranged on your board.

2๏ธโƒฃ

Run the Solver

An A* search finds the guaranteed shortest path to solved.

3๏ธโƒฃ

Follow the Moves

Slide tiles up, down, left, or right in the order shown.

โšก

Instant & Free

Solves the classic 8-puzzle in a fraction of a second.

Questions

Sliding Puzzle Solver FAQ

What size grid does this solve? +
This solves the classic 3x3 (8-tile) sliding puzzle โ€” the most common version found in puzzle apps and books.
Is the move sequence really the shortest possible? +
Yes โ€” it uses the A* search algorithm with the Manhattan-distance heuristic, which guarantees the minimum number of moves.
What if my puzzle isn't solvable? +
Not every tile arrangement can reach the solved state โ€” the solver will tell you if no solution exists so you can double-check your entry.
Keep Solving

More Free Puzzle Solvers

Stuck on Another Puzzle?

Browse all 7 free PuzzleNest solvers.

Browse All Solvers