Sliding Puzzle
Slide the tiles into order using the one empty space. Pick a board from 3 × 3 to 6 × 6, or cut one of your own photos into tiles.
- Runs in your browser. Nothing is uploaded
- Free, no sign-up
- Works offline once opened
Tap or click a tile in the same row or column as the gap to slide it; tiles in between move too. Arrow keys and swipes slide the tile next to the gap. Your photo is cut into tiles on this device and is not uploaded. N shuffles.
Your files stay here
- Sliding Puzzle runs inside this browser tab.
- Nothing is sent to a server, so there is nothing to delete later.
- Close the tab and it is gone from DeskTray.
Often used next
Looking for something else?
DeskTray has games and helpers that work the same way.
How to solve the sliding puzzle
- Choose a board size, and numbers or a picture.
- Tap a tile in the same row or column as the gap to slide it (and any tiles between) into the gap. Arrow keys work too.
- Put every tile back in order to win. Fewer moves and a faster time set a new best.
Features
- 3 × 3, 4 × 4, 5 × 5 and 6 × 6 boards
- Always-solvable shuffles
- Slide whole rows or columns with one tap
- Arrow keys, tap and swipe
- Move counter, timer and best results
- Picture mode with your own photo
A step-by-step method for the 15 puzzle
- Top row first. Slide 1 and 2 into place. For 3 and 4, put 3 where 4 belongs and 4 directly under it, then bring the gap to 3’s square and slide 3 left and 4 up.
- Second row the same way: 5 and 6 directly, then 7 and 8 together.
- The last two rows a column at a time from the left. Put 13 in 9’s square and 9 just to its right, bring the gap below 13, then slide 13 down and 9 left. Do the same with 10 and 14.
- Three tiles are left in a 2 × 2 corner. Move the gap round that square until 11, 12 and 15 fall into place.
On the 3 × 3 board, solve the top row, then the left column (4 and 7) with the same parking trick, then circle the last 2 × 2. Bigger boards work the same way: once the top row and left column are done, you are left with a smaller puzzle.
A little history
The 15 puzzle swept the world as a craze around 1880. The puzzle-maker Sam Loyd later promoted a version with 14 and 15 swapped and a $1,000 prize for solving it, which was safe: that position belongs to the half of all arrangements that can never be solved, the half this game never deals.
A 4 × 4 puzzle has 10,461,394,944,000 solvable arrangements, and computer searches have shown that every one can be solved in 80 moves or fewer, counting each tile moved. The 3 × 3 version has 181,440 and never needs more than 31.
Frequently asked questions
Can every puzzle be solved?
Yes. Half of all random arrangements of a sliding puzzle cannot be solved, so the game checks each shuffle and only gives you ones that can.
Is my photo uploaded?
No. Picture mode cuts your photo into tiles inside your browser. The photo stays on your device and is forgotten when you leave the page.
How do the arrow keys work?
An arrow key slides the tile next to the gap in that direction into it. For example, Left moves the tile on the right of the gap to the left.
Is there a trick to solving it?
Solve the top row first, then the left column, and keep going until a 2 × 3 block is left. Place the last two tiles of a row together by parking one and bringing the other round.
Why did one tap add several moves?
Sliding a row or column moves several tiles, and each tile counts as one move, the same way puzzle records are counted. Tap single tiles if you want to see each step.
Is picture mode harder?
Usually, because you have to work out where each piece goes from the picture. Tick “Show numbers” to see the numbers on the picture tiles, and pick a photo with clear shapes and colours rather than a plain sky or wall. The game uses the middle square of your photo.