Sudoku
Fill the grid so every row, column and 3×3 box has the digits 1 to 9. Pick a difficulty, use pencil marks for candidates, and ask for a hint when you are stuck. Every puzzle has exactly one solution.
Select a square, then tap a number or type it. Notes (or the N key) switches to pencil marks; Shift + a digit adds one directly. Arrow keys move, Backspace erases, Ctrl+Z undoes.
- Nothing is uploaded
- Free, no sign-up
- Works on phone and desktop
How to play sudoku
- 1
Choose easy, medium, hard or expert. A fresh puzzle appears, and it has exactly one solution.
- 2
Select a square and tap a number below the board, or type it. Digits that clash turn red.
- 3
Switch on Notes to pencil in the digits a square could still be; placing a digit clears it from the notes around it.
- 4
Stuck? Hint fills one correct square and says how it was found, and Check marks any wrong digits.
Features
Graded by technique
Each level is set by the solving techniques a person needs, not just by how many numbers are given.
Hints that teach
A hint fills one square and names the reason, such as a hidden single in box 4, so you learn the move.
Your game is kept
One game per level is saved in this browser as you play. Close the tab and pick up where you left off.
Touch or keyboard
Big number pad for phones and tablets; arrow keys, digits and Ctrl+Z on a computer. Undo is unlimited.
The rules
A sudoku is a 9×9 grid divided into nine 3×3 boxes. Some squares already hold digits, the clues or givens. Fill in the rest so that every row, every column and every box contains the digits 1 to 9 exactly once. That is the whole rule set. You never add anything up; the digits are just nine different symbols.
A proper sudoku has exactly one solution, so every square can be worked out by reasoning. Every puzzle on this page is checked for that before you see it: a solver searches for a second solution and the puzzle is thrown away if one exists.
Solving techniques, easiest first
Singles
The simplest move: a square where only one digit is still possible. The easiest case is a box, row or column with eight digits already in it. Here the box has every digit except 6, so the empty square is 6:
| 5 | 3 | 9 |
| 1 | 6 | 8 |
| 4 | 7 | 2 |
More often you check a square against its row, its column and its box together. If eight different digits appear among them, the ninth is the answer. Easy puzzles here can be finished with this move alone.
Hidden singles (cross-hatching)
Turn the question around: instead of asking what goes in a square, ask where a digit can go. Below, the 5s in the other two boxes rule out the top two rows of the first box. In its bottom row two squares are taken, so the 5 has only one place left, even though that square might look open to several digits:
| 5 | ||||||||
| 5 | ||||||||
| 7 | 5 | 2 |
Scan each digit from 1 to 9 across the boxes this way; it finds most of the digits in medium puzzles.
Pointing pairs and box-line reduction
When a digit can only go in squares of one row inside a box, it must be in that row within that box, so it can't appear anywhere else in that row. Here the 7 of the first box is in one of two squares of the middle row, which rules 7 out of the rest of the row:
| 4 | 1 | 9 | ||||||
| 7 | 7 | 3 | × 7 | × 7 | × 7 | × 7 | ||
| 2 | 6 | 8 |
Box-line reduction is the mirror image: if a digit's only places in a row (or column) all sit inside one box, it can't be anywhere else in that box. Both need pencil marks, which is what makes hard puzzles hard.
Naked and hidden pairs
If two squares in the same row, column or box can only be 3 or 8, those two digits are used up between them, and no other square in that unit can be 3 or 8:
| 3 8 | 1 | × | 3 8 | 6 | × | 2 | × | × |
A hidden pair is the reverse: two digits that fit only the same two squares of a unit. Those squares can then hold nothing else, so their other pencil marks go. Use Fill in pencil marks on the board to see these patterns without writing every candidate yourself.
What the levels mean
Each puzzle is graded by a logical solver that works like a careful person: it always takes the easiest move available and records the hardest one it needed. The clue counts below come from 40 puzzles per level made by this page's generator:
| Level | Needs | Clues (average, range) |
|---|---|---|
| Easy | Singles: a square where only one digit fits | 36.1 (36–37) |
| Medium | Singles and hidden singles | 30.2 (30–31) |
| Hard | Pencil marks, pointing pairs and box-line reductions, naked and hidden pairs | 27.5 (24–34) |
| Expert | Something beyond those: triples, X-wings, chains or trial and error | 27.9 (24–32) |
Notice that hard and expert puzzles give about the same number of clues: what matters is where they are. In the sample, a medium puzzle needed about 8.5 hidden singles on the way, and 95% of hard puzzles needed at least one pointing pair. On expert puzzles the same solver got stuck after filling about 47.4 of the 81 squares (givens included): from there you need a more advanced pattern, or patience. A hint is always available; when no simple move exists it simply gives you a square from the solution.
Tips for playing on screen
- Use the highlights. Selecting a square shades its row, column and box, and every copy of its digit, so gaps stand out.
- Watch the number pad. Under each digit is how many are still to place; when it says done, that digit is finished.
- Notes on hard puzzles. Pencil in the two or three places a digit could go in a box. Placing a digit removes it from the notes in its row, column and box automatically.
- Undo freely. Undo and redo go back as far as you like, so it is safe to try an idea and step back.
Prefer paper? Make a stack of puzzles with answer keys on the printable sudoku page. For a different kind of logic, try minesweeper or a round of solitaire, or make a word search from your own words.
Frequently asked questions
How do you play sudoku?
Fill the empty squares so that every row, every column and every 3×3 box contains each digit from 1 to 9 exactly once. The digits already printed are fixed. No arithmetic is involved: the digits could just as well be letters or colors.
What is the difference between easy, medium, hard and expert?
The techniques you need. Easy puzzles can be finished by always finding a square with only one possible digit. Medium ones also need hidden singles (the only place for a digit in a row, column or box). Hard ones need pencil marks and patterns such as pointing pairs and naked pairs. Expert puzzles need something beyond those.
Does every puzzle here have only one solution?
Yes. Each puzzle is checked by a solver that keeps searching after the first solution; a puzzle is only used if no second one exists. That is what makes logical solving possible: you never have to guess.
What are pencil marks, or notes?
Small digits in a square that list what it could still be. Turn on Notes (or press N) and tap digits to add or remove them, or hold Shift while typing a digit. "Fill in pencil marks" writes every possibility at once, which helps on hard and expert puzzles.
Will I lose my game if I close the page?
No. The game in progress for each level, the timer and your settings are saved in this browser only, and come back when you return. Nothing is sent anywhere. Clearing your browser data removes them.
What is the fewest number of clues a sudoku can have?
Seventeen. In 2012 Gary McGuire, Bastian Tugemann and Gilles Civario showed by an exhaustive computer search that no puzzle with 16 clues has a single solution. Fewer clues does not always mean harder, though: some 17-clue puzzles are easy.
Can I print these puzzles?
Yes: the printable sudoku page makes a PDF of one to six puzzles a page, with the answers on separate pages.
More free tools
- 5 Letter Word FinderWords that fit your letter clues.
- Word UnscramblerEvery word your letters make.
- Word FinderBest-scoring words from your rack.
- Crossword SolverWords that fit a letter pattern.
- Word Search MakerPrintable word searches from your words.
- MinesweeperThe classic mine-clearing logic game.
- SolitaireClassic Klondike, draw 1 or 3.