Sudoku
Four difficulty levels, pencil marks and a daily puzzle — free, no ads, works offline.
Rated Easy: naked singles finish it.
Click a cell, then type a digit or use the pad. Arrow keys move, Backspace erases, N toggles notes, and Shift + a digit writes a pencil mark without leaving number mode.
Sudoku is a placement puzzle on a 9×9 grid divided into nine 3×3 boxes. Some cells arrive already filled — the givens, or clues. Your job is to fill the rest so that every row, every column and every 3×3 box contains each of the digits 1 to 9 exactly once. There is no arithmetic involved. A properly made puzzle has exactly one solution, and on Easy, Medium and Hard here it can be reached by deduction alone, with the techniques each level is named for. An Expert puzzle is only guaranteed a single solution: it may need a guess, or a technique beyond the ones this tool rates by.
Every puzzle here is generated in your browser the moment you ask for one, and it is checked for a unique solution before you ever see it. Nothing is downloaded from a server, nothing about your game is uploaded, and the whole tool keeps working with the network switched off.
How the difficulty levels are decided
Most Sudoku apps rate difficulty by counting the givens, which is a surprisingly poor measure. The classic 30-clue board that opens the Wikipedia article on Sudoku has fewer givens than the average Medium puzzle here (about 31), yet it can be finished without ever doing anything more clever than "this cell has only one digit left". Clue count tells you how much writing you will do, not how hard you will have to think.
So the levels are defined by the solving techniques a person actually needs. Each generated puzzle is handed to a solver that knows only human techniques, and its level is the cheapest set of techniques that finishes it:
- Easy — naked singles only. Somewhere on the board there is always a cell with just one digit left that fits. Find it, write it, repeat. Easy puzzles average about 42 givens.
- Medium — adds hidden singles. Sometimes a cell has several candidates but a digit has only one place left to go in its row, column or box. Spotting those is the main skill Medium teaches.
- Hard — adds locked candidates, naked and hidden pairs, and naked triples. These are elimination techniques: they do not place a digit, they rule one out somewhere else, which then unlocks a single. A hidden pair is two digits that can only go in the same two cells of a row, column or box, so nothing else can go there; a naked triple is three cells that between them can only hold three digits, so those digits leave the rest of the unit. Hard puzzles average about 27 givens.
- Expert — anything goes. Expert puzzles still have exactly one solution, but that solution may be out of reach of the four techniques above, so finishing one can take a chain of inference or a trial line. They average about 25 givens.
Because the constraint is the technique and not the clue count, the clue count varies. A Hard puzzle is dug deeper only until it genuinely needs a Hard technique, which is why the levels overlap in size while staying separated in difficulty.
Every board shows the rating it actually achieved, under the clock. For a generated puzzle that is almost always the level you picked; the rating is what the solver measured, so if the two ever disagree, the rating is the one to believe.
Entering a puzzle from a newspaper or book
Enter a puzzle turns the board into a blank grid for someone else's puzzle.
Type the givens in row by row: each digit moves on to the next cell, and a dot or a 0 skips
an empty one. Or paste the puzzle as text. The usual 81-character line works, with . or 0 for each empty cell, and so does a grid laid out over nine
lines with |, - and + rules between the boxes, since
spaces and grid lines are ignored.
Before the puzzle is dealt, it is checked the same way a generated one is. Two givens sharing a row, column or box are named. A puzzle with no solution, or with more than one, is refused with the reason. A mistyped given is the usual cause of the first, and a missing one of the second. A puzzle that passes is rated by the same solver as the generated ones and saved as you play, so you can come back to it later. The check runs in your browser, in a background thread, so a sparse board takes a moment to check rather than freezing the page.
Pencil marks, undo and the daily puzzle
Pencil marks are the small candidate digits you jot into a cell before you are sure. Turn on Notes and the number pad writes marks instead of answers; Shift plus a digit does the same without switching modes. Fill notes pencils in every cell's candidates at once, which turns the board into the working view that elimination techniques need. Marks maintain themselves: placing a digit removes it from the pencil marks of all 20 cells that share its row, column or box.
Undo steps back through your moves one at a time, and it understands that one move can touch many cells — undoing a placement restores the pencil marks that placement swept away. Conflict highlighting turns a digit red as soon as it repeats in its row, column or box, so a slip is visible immediately rather than fifteen moves later. It flags rule violations, not wrong answers: a digit can be perfectly legal where you put it and still not belong there.
Check is for wrong answers. The first press says how many digits differ from
the solution, and the second marks them on the board. Hint gives away as
little as you ask for. The first press names the technique that finds the next digit, the
second highlights the cells it looks at, and the third spells out the deduction and marks the
cell it fills. When the next digit takes an elimination first, such as a naked pair, the hint
walks through each step up to the placement. Hints reason from the digits on the board, not
from your pencil marks, and refuse to reason from a board with a wrong digit on it, because
every deduction after a wrong digit is wrong too. Cells are named by row and column: R3C5 is row 3, column 5.
Daily mode builds the puzzle from today's date, so everyone who plays the daily Easy puzzle on the same day gets the same board — no account, no server, just the date used as the seed. Each difficulty has its own daily puzzle, and the date rolls over at your local midnight.
Where to start on a board
Scan for the digit that already appears most often. If seven of the nine 5s are placed, the remaining two are heavily constrained and often fall out immediately. Then work box by box rather than cell by cell: a box with only two empty cells is asking a much narrower question than the grid as a whole. When scanning stops producing answers, that is the moment to fill in pencil marks — the techniques that get you unstuck all operate on candidates rather than on placed digits.
What are the rules of Sudoku?
Fill the 9×9 grid so every row, every column and each of the nine 3×3 boxes contains the digits 1 through 9 exactly once. The digits printed at the start are fixed and cannot be changed. There is no arithmetic — the only constraint is that no digit repeats within a row, column or box.
Does every Sudoku puzzle have only one solution?
A properly constructed one does, and every puzzle this tool generates or accepts is verified to have exactly one solution before it is shown. That matters because a puzzle with two solutions cannot be solved by logic alone — at some point you would have to guess between them with no way to tell which is right.
Can I play a Sudoku from a newspaper or another app?
Yes. Press "Enter a puzzle", then type the givens into the grid or paste the puzzle as 81 characters, with a dot or 0 for each empty cell. Grids pasted over several lines with | and - between the boxes work too. The puzzle is checked for clashing givens and for exactly one solution, rated by the same technique-based solver as the generated puzzles, and then played with pencil marks, undo and the clock as usual.
How is the difficulty level decided?
By which solving techniques a puzzle actually requires, not by how many digits are given. Easy needs only naked singles (a cell with one candidate left), Medium adds hidden singles (a digit with one place left in a unit), Hard adds locked candidates, naked and hidden pairs, and naked triples, and Expert may need more than any of those. Clue count is a poor proxy: a 30-clue board can be easier than a 35-clue one.
What is the minimum number of clues a Sudoku can have?
17. A 2012 exhaustive computer search by McGuire, Tugemann and Civario proved that no 16-clue puzzle has a unique solution. This generator never digs below 17, though in practice its hardest puzzles settle around 24 or 25 givens.
What are pencil marks, and how do I use them?
Pencil marks are the candidate digits you note in a cell before committing to an answer. Turn on Notes and the number pad writes marks instead of digits, or hold Shift while typing a digit. "Fill notes" pencils in every empty cell's candidates at once. Placing a digit automatically erases that digit from the marks of every cell sharing its row, column or box.
Is the daily puzzle the same for everyone?
Yes, for a given date and difficulty. The puzzle is generated from the date itself, so two people opening the daily Hard puzzle on the same day solve the identical board. It is computed in your browser rather than fetched, so it works offline — and the date used is your local one, so it changes at your midnight, not at UTC midnight.
Is my game saved if I close the tab?
Yes. The board, your pencil marks, your undo history and the clock are saved in your browser as you play, so reloading or coming back later puts you back where you left off. It never leaves your device — there is no account and nothing is sent anywhere. The one exception is the daily puzzle: once the date turns, yesterday's daily is replaced by today's rather than restored.
Does the red highlighting tell me my answer is wrong?
Not quite. It tells you a digit breaks a rule — it repeats somewhere in its row, column or box. A digit can be legal where you placed it and still be the wrong answer for that cell, and the tool will not warn you about that. Solving by deduction rather than by trial is what avoids it.
Can I play Sudoku offline?
Yes. Everything — generating a puzzle, checking that it has one solution, rating its difficulty — runs in your browser with no server involved. Once the page has loaded, it works with no connection.
Related Tools
Updated October 13, 2026