Skip to content

Sliding Puzzle

A sliding tile puzzle: about 4 minutes a round, free, no sign-up.

100% free · No sign-up · Progress saved on this device · Works offline

Clever Games Sliding Puzzle is a free online slide puzzle, also known as the 15 puzzle, in which you slide numbered tiles or the pieces of a picture into an empty space until they sit in order. Pick a board from 3×3 to 6×6, use a NASA or Smithsonian picture or your own photo, and ask the auto-solver for help on the smaller boards, with no sign-up.

How to play a slide puzzle online?

Slide any tile that touches the empty space into that space, and keep going until the numbers run in order from 1 upward. The board opens already shuffled, so you can make your first move right away.

  1. Find the gap. Only a tile directly above, below, left or right of the empty space can move. A short first-time tutorial points at one such tile and has a Skip button.
  2. Slide a tile. Tap or click it, or swipe it toward the gap. On a keyboard, the arrow keys or W, A, S, D move the tile in that direction into the gap.
  3. Move a whole row. If several tiles share a row or column with the gap, tapping one of them slides the entire run at once. That counts as one move.
  4. Watch where the gap goes. Each slide moves the empty space to the tile’s old square. Use that new opening to bring the next tile closer to home.
  5. Finish the order. Numbers read left to right, row by row, with the gap in the bottom right corner. In Picture mode, rebuild the image instead. A small flash marks each tile that lands in its correct place.
12345678 Empty
Slide tile 8 left into the gap to finish.

Here the last move is tile 8 sliding left into the gap. After it the bottom row reads 7, 8, empty, and the board is solved. Tiles never jump over the gap or swap places.

What are the rules of a sliding puzzle?

On an n×n board there are n²−1 tiles and one empty square. A tile next to the empty square may slide into it, and nothing else may move. The goal is to put the numbers in order or to assemble the picture.

There is no losing position, no mistake counter and no countdown. You can wander as long as you like and still finish. The timer counts up, the move counter counts every slide, and a run of tiles moved together is one move. Undo takes back your last move, and Ctrl+Z does the same on a keyboard. There is no Redo.

Every board is shuffled by random legal slides from the finished position, a number of slides equal to 20 times the number of squares, and the shuffle never steps straight back. Because each slide can be reversed, the board is always solvable.

On the 3×3 board the page also shows par, the smallest possible number of moves from your starting position. It is found with an A* search, and it is the target to beat rather than a limit. For a longer stretch you can pause the puzzle: the board is hidden, “Paused” appears, and Resume brings it back.

Two buttons reset things. Restart returns to the start of this same arrangement, and New puzzle shuffles a fresh one.

Which slide puzzle sizes and modes can you choose?

You can play 3×3, 4×4, 5×5 and 6×6 boards in three modes: Numbers, Picture and Own photo. Rules and controls are identical everywhere. Only the number of tiles and the available help change.

Board What it is Par Help from the solver
3×3 Eight tiles, the best place to learn Yes, the best possible move count Hint and Solve, both optimal
4×4 The classic 15 puzzle with fifteen tiles No Hint and Solve, shown as a valid route, not necessarily the shortest
5×5 Twenty-four tiles No None; Hint and Solve are hidden
6×6 Thirty-five tiles, the largest board No None; Hint and Solve are hidden
Mode What it is
Numbers Tiles carry numbers, so the target order is always plain
Picture One of 35 images from NASA (public domain) and Smithsonian Open Access (CC0) collections, free of people, logos and readable text; the Numbers switch shows tile numbers on top of the image
Own photo A picture from your own device, cut into tiles in your browser

In Picture mode the finished image sits beside the board on a computer and opens with the Preview button on a phone. Pick the image from the thumbnails beside the board, which become a scrolling strip on a phone; the credit line under them names the source and license. This sliding puzzle has no daily puzzle, because every shuffle is its own challenge.

How do you solve a sliding puzzle faster?

Solve it row by row from the top, then finish the last rows by column, and think about the gap before you think about the tile. The gap decides which tile can move next.

Place the top row first, then the second row, and so on. When two rows remain, fill them one column at a time from the left. The last 2×2 corner is the tricky part: you may need to break and rebuild a few tiles to turn it around.

Plan a route for the gap before you push a tile toward its home. Going straight at a tile often leaves the gap on the wrong side, and a short detour helps. If a sequence of moves only brings you back to the same position, press Undo and try another route.

Use the row slide on purpose. Tapping a distant tile in the same row moves several tiles in one move, which saves moves on the 3×3 board where you are chasing par. On a bigger board, watch the small flash that marks a tile in its place, and turn on tile numbers in Picture mode when neighboring pieces look alike.

How do your own photo and the sliding puzzle solver work?

Choose Own photo in the mode list and press “Use your own photo”, then pick a JPG or PNG file. Your browser crops it to a square and cuts it into tiles on your device. The file is never uploaded, never saved after you close the page, and never included in a Share link.

That makes it private and instant: a family picture, a pet or a drawing becomes a board in a second. If the file cannot be read you see “We couldn’t open this file. Try a JPG or PNG.” and the numbers board stays available. If you return to an unfinished photo board, the page continues it with numbers and says “Your photo was not saved. Choose it again.”

The solver is the other half of the feature. On 3×3 and 4×4, Hint highlights the solver’s next move. Solve animates a full solution from your current position, and Stop cancels it and gives the board back. While it runs, your own input is switched off. The demonstration never finishes your board for you: when it ends, Continue returns you to your unfinished puzzle, and the round is marked as played with guidance. On 3×3 the solution is the shortest one, and on 4×4 it is simply a valid one.

Who is a sliding puzzle especially useful for?

It suits anyone who wants a short, quiet puzzle with a clear goal, and it is easy to start with.

What are the benefits of a slide puzzle?

The puzzle gives you practice in planning a few moves ahead, keeping track of positions and changing a plan that is not working. These are skills you use while playing, and the page makes no claim about effects outside the puzzle.

Logic is the clearest one. You test an idea, see what it does to the gap and decide again. Memory and focus come in on larger boards, where you hold several small goals at once. Picture mode adds pattern spotting, since colors and edges help you tell pieces apart.

Progress is easy to see. The Stats button lists each mode and board size with puzzles played, puzzles solved and your best time, and solving a board extends your daily streak on the site.

Where does the 15 puzzle come from?

The 15 puzzle is a 4×4 sliding tile puzzle from the 1870s, and the name comes from its fifteen tiles and one gap. It spread through the United States and Europe in 1880 and became a craze. Sam Loyd is often credited with it, but he did not invent it.

Mathematicians soon showed why some boards cannot be solved: exactly half of all arrangements of the tiles are unreachable by legal slides. That is why this page shuffles by moving tiles from the solved board instead of placing them at random. Smaller and larger boards, number tiles and picture tiles are all variations of the same single rule.

What are the most frequently asked questions about sliding puzzles?

These answers cover solvability, par, the solver, the photo feature and the controls.

Is every slide puzzle solvable?

Yes. Each board is made by sliding tiles away from the solved position, so the same slides lead back. An unsolvable board is never created.

What does par mean on the 3x3 sliding puzzle?

Par is the fewest moves that could solve your starting position. It is shown only on 3×3. Beating or matching it earns the top rating; on other sizes the rating depends on time.

How do I solve a 15 puzzle online?

Open the 4×4 board and work from the top row down, thinking about where the gap will be after each move. Use Hint if you are stuck, or Solve to watch one valid solution.

Does the solver find the shortest solution?

On 3×3, yes. On 4×4 it finds a valid solution and says it is a valid route, not necessarily the shortest. There is no solver on 5×5 or 6×6.

Can I use my own photo, and is it uploaded?

Yes, and no. Press “Use your own photo”, choose a JPG or PNG, and it is cut into tiles inside your browser. It is not sent anywhere or saved.

Can I play a slide puzzle with pictures instead of numbers?

Yes. Picture mode has 35 images from NASA and Smithsonian collections, and the Numbers switch puts numbers on the tiles if you want to check the order.

How do I move tiles with the keyboard?

Use the arrow keys or W, A, S, D. A key slides the tile in that direction into the gap, and Ctrl+Z undoes the last move.

Is the sliding puzzle free, and does it work offline?

It is free with no sign-up. Once the page has loaded it runs in your browser, and your progress is saved on your device.

Updated:

Contact support