Sliding Puzzle
Play the 15 puzzle on 3×3, 4×4 or 5×5 boards, or turn your own photo into a slide puzzle. Peek at the picture, undo slides and share a layout.
Still loading. If the tool doesn’t appear, reload this page.
How to play Sliding Puzzle
- Keyboard
- After clicking the game: arrows/WASD move the blank, Space starts or pauses.
- Touch
- Tap a tile in the blank's row/column, or swipe on the board to push a neighbouring tile into the gap.
- Mouse
- Click any tile in line with the gap to slide it (or the whole segment).
Tips
- Solve the top row, then the left column, and repeat on the smaller puzzle that remains.
- Place the last two tiles of a row together by parking them in a column first.
About this tool
Sliding Puzzle
Solve 3×3, 4×4 and 5×5 sliding puzzles with numbers or your own photo, peek at the picture and share a layout.
Slide numbered tiles into order with the blank at the bottom right, or turn a photo into a 3×3 picture puzzle. Each 3×3, 4×4 or 5×5 shuffle is checked for solvability. Today's slide is one 4×4 board a day, the same for everyone, with a par to beat and a streak kept in your browser. After any solve, a race link lets a friend play the exact same shuffle while your solve replays beside them as a ghost. The browser saves your board, moves and elapsed play time by size. Your photo is cropped to a square on your device and never uploaded or put in a link. Copy a puzzle link to challenge a friend with the same starting layout, or save a picture of your solved board.
How to use Sliding Puzzle
Pick a Board size of 3×3, 4×4 (the default) or 5×5, then choose number tiles, one of the three built-in pictures, or Use your photo to crop a photo of your own into a 3×3 grid
Choose a card in the start panel to shuffle and start, or Today's slide for the daily 4×4 board, then tap any tile in the blank's row or column to slide it, or the whole segment, toward the gap; you can also swipe on the board
After clicking the game, arrow keys or WASD move the blank and Space starts or pauses; on a picture puzzle, Peek at picture shows the whole image and Numbers on tiles labels each piece
Put the numbers or picture pieces back in order with the blank last: Moves, Time and Best (fewest moves, kept separately for each board size), or Par on Today's slide, are tracked in the tray's top rim
Choose Play again for a fresh shuffle or Replay layout to practise the same board. Copy the puzzle link to share the layout, Copy result to send your moves and time, or Download image to save the finished board as a picture.
To race, add your name if you like and select Copy race link; a friend who opens it plays the same shuffle against your ghost and can pass the race on to someone else.
Why use Sliding Puzzle
Every deal is guaranteed solvable
Shuffles are checked with the standard inversion-parity rule and repaired if they fail it, so no attempt is wasted on an impossible board — and it never hands you an already-solved one.
A daily board with a par
Today's slide is the same 4×4 board for everyone each day, made by sliding back from the solved board, so its par is a known way home and finishing under par is possible. Your first solve of the day counts toward a streak and a 7-day strip kept in this browser.
Race a friend against your ghost
A race link carries the exact shuffle and your real route. Your friend plays the same board while your solve replays at its real pace in a small tray beside theirs, then sees a head-to-head result and can pass the race on.
Your photo as the puzzle
Choose or take a photo, drag and zoom to crop it square, and it is cut into a 3×3 grid (or 4×4 and 5×5). Three original built-in pictures are there when you have no photo to hand.
Photos stay on your device
The crop and the tiles are made in your browser. The photo is never uploaded, never stored and never put in a link, and it is cleared when you leave the page.
Peek at the picture
Peek shows the whole picture over the board while you play, and turning on Numbers on tiles adds small numbers to each piece.
Whole rows slide in one tap
Tapping any tile in the blank's row or column shifts the entire segment toward the gap, so a three-tile run takes one tap rather than three.
Keyboard and touch play, properly
Arrow keys or WASD move the blank and Space starts and pauses once you have clicked into the game, so the page still scrolls normally otherwise. On a phone you can tap a tile or swipe on the board to push a tile into the gap.
Saved progress by board size
Switch sizes, leave the page or reload it, then resume with the board and move count already in place. The timer waits for you to resume.
Same-board challenges and a result image
Share the exact starting arrangement or your finished move count and time, or download a picture of your solved board. Shared puzzles have their own progress, separate from random puzzles and their records.
Optional 3×3 hints
See the next tile on a shortest route to the solution and the remaining number of single-tile moves.
How the sliding puzzle works
The board is a grid with one empty space. You slide the tiles next to the gap, one at a time or a whole row or column at once, until the numbers or the picture are in order with the blank in the bottom right corner. Moves, time and your best move count for each board size are shown above the board.
Every shuffle is checked with the standard inversion-parity rule and repaired if it fails, because exactly half of all arrangements of a sliding tile puzzle cannot be solved. A photo is cropped to a square and cut into tiles in your browser, and it never goes into a link.
Key features
3x3, 4x4 and 5x5 boards, number tiles, three built-in pictures or your own photo, Today's slide with a par and a streak, race links with a ghost replay, Peek at picture, Numbers on tiles, Undo move and Redo move, and optional hints on 3x3.
Play by tapping, swiping, the arrow keys or WASD. Progress is saved by board size in this browser, and you can copy a puzzle link, copy your result or download a picture of the solved board.
Common use cases
- You have ten minutes to fill and want a puzzle with no account — pick 4×4 and put the fifteen tiles back in order.
- You want a small daily habit: play Today's slide each morning, try to finish under par and keep your streak going.
- You solved a board quickly and want to see whether a friend can beat it, so you send a race link and they play against your ghost on the same shuffle.
- You solved a 4×4 once and want to know whether you can beat your own move count rather than just finish, so the best-moves record per size is the target.
- A parent wants a screen activity for a child that is genuinely spatial reasoning, and starts them on a 3×3 picture puzzle made from a family photo before stepping up to numbers.
- You want a small birthday or holiday surprise: scramble a photo of the two of you, solve it, and send the finished-puzzle image with your move count.
Frequently asked questions
Is there a daily puzzle?
Yes. Today's slide is one 4×4 board a day, the same for everyone, with a new board at midnight UTC. It is made by sliding back from the solved board, so it has a par you can match or beat. Only your first solve of the day counts. Your streak and the last seven days are kept in this browser only, with no account and no leaderboard, and a board in progress survives a reload. The tiles take turns between numbers and the three built-in pictures.
Link to answerHow do I race a friend on the same shuffle?
Solve any board, type a name if you like, and select Copy race link (or Send race link to use your phone's share menu). Your friend plays the exact same shuffle while your solve replays as a ghost at its real pace beside their board, and the tray's rim shows the time to beat. When they finish they see how they did against you and can select Pass the race on, so the list grows from friend to friend; a link keeps up to 12 runners, including whoever started it, the newest and the fastest. It lists only the people the link went through, not a global leaderboard, and times are on the honour system. Everything is in the link, with no server.
Link to answerHow do I make a sliding puzzle from my own photo?
Choose Use your photo, pick a picture from your phone or computer (on a phone you can also take one), then drag and zoom to choose the square you want. Pick 3×3, 4×4 or 5×5 and choose Use photo: the picture is cut into tiles, one piece is removed and the board is shuffled into a solvable order.
Link to answerIs my photo uploaded or saved anywhere?
No. The photo is read, cropped and cut into tiles in your browser. It is never sent to a server, never written to browser storage and never put in a share link or a race link, and it is cleared when you close or reload the page. Only your choice of tile style is remembered.
Link to answerWhat does a friend see when I share a photo puzzle?
Link to answerAre all sliding puzzle arrangements solvable?
No — exactly half are. For an odd-width board the arrangement is solvable when the inversion count is even; for an even width like 4x4 it is solvable when inversions plus the blank's row counted from the bottom is odd. This puzzle applies that test to every shuffle and fixes any deal that fails it.
Link to answerHow many possible positions does the 15 puzzle have?
16! = 20,922,789,888,000 arrangements in total, of which exactly half — 10,461,394,944,000 — are reachable from the solved state. The 3x3 version has 9!/2 = 181,440 reachable positions.
Link to answerHow do you solve a sliding puzzle?
Work top-down and left-to-right: finish the top row completely, then the next row, and once only two rows remain solve them column by column. The last two tiles of each row usually need a short three-move cycle to rotate them into place rather than being pushed in directly. On a picture puzzle, Peek at picture and Numbers on tiles help you see where each piece belongs.
Link to answerCan I undo and redo moves in the Sliding Puzzle?
Yes. Use Undo move to return to the previous position or Redo move to restore it. A whole row or column slide is reversed together. Move history stays with the saved attempt, and using Undo leaves the best-move record unchanged.
Link to answer