Sudoku
Four difficulty levels, pencil marks and a daily puzzle — free, no ads, works offline.
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 and no guessing required: a properly made puzzle has exactly one solution, and that solution can be reached by deduction alone.
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 and naked pairs. These are elimination techniques: they do not place a digit, they rule one out somewhere else, which then unlocks a single. 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.
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.
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 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.
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 and naked pairs, 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 August 18, 2026