Slide Puzzle Solver

Play Sliding Puzzle

Classic numbers or your own photo — 3x3 and 4x4.

Moves: 0Time: 0.0 s

Click a tile beside the blank. Arrow keys move tiles.

Stuck? Solve this board

Play sliding puzzle right here in your browser: pick a 3x3 or a 4x4 board, or turn one of your own photos into a puzzle. Every board is random and can always be solved.

How to play sliding puzzle

Tap or click a tile next to the empty square and it slides into the gap. On a keyboard, the arrow keys slide the tile next to the empty square in that direction. Put the tiles back in order, from 1 to the last number with the blank in the bottom-right corner, and the puzzle is done. The game counts your moves and your time, and keeps your best result for each size.

Prefer pictures to numbers? Choose Use your own photo, pick an image and a size, and the sliding puzzle game cuts it into tiles for you. The photo stays on your device.

Tips to finish faster

  1. Finish the top row first, and then don’t touch it. Breaking a finished row to fix something below almost always costs more moves than it saves.
  2. Place the last two tiles of a row as a pair. Park the last tile of the row in the corner with the next-to-last tile under it, then slide them in together. Doing them one by one is the most common way to get stuck.
  3. Do the left column the same way, then repeat on the smaller board that’s left.

These three habits are the whole method. There’s a full walkthrough with diagrams in how to solve a sliding puzzle.

Stuck?

Press Stuck? Solve this board and your current position opens in the sliding puzzle solver, which shows every move from where you are to the finish. You can follow the moves to complete the puzzle, or just look at the first few and carry on by yourself.

Frequently asked questions

Is every puzzle solvable?

Yes. Every board is shuffled at random and then checked, so it can always be finished. If you feel stuck, it's a question of the order you move the tiles in, not a broken board. Try finishing the top row first, or press "Stuck? Solve this board" to see the moves from your current position.

Is my photo uploaded?

No. When you turn a photo into a puzzle, the picture is cut into tiles inside your browser and never leaves your device. Nothing is sent to a server, so you can use any personal picture you like. Closing or reloading the page removes the photo puzzle.

Where are my best times saved?

In your browser's local storage, on the device you played on. Your best time and fewest moves are kept for each board size. They aren't linked to an account and don't follow you to other devices, and clearing your browser data removes them. If local storage is turned off, the game still works without saving records.