Sudoku solver and online sudoku

Generate a new puzzle or type in your own, then play with the keyboard or the big number pad – the solver explains each step in plain English. Every puzzle has exactly one solution.

Keyboard: arrow keys move, 1–9 enters a number, Delete/Backspace clears, N toggles notes, Shift + number = note, Ctrl + Z = undo. Your game is saved in this browser.

Result

How it is calculated

How this sudoku works

A sudoku has 9 × 9 cells in nine 3 × 3 boxes. The goal: every row, every column and every box contains each number from 1 to 9 exactly once. The bold givens are fixed; you fill in the rest.

How to play and solve sudoku online

  1. Pick a level (Easy, Medium, Hard or Expert) and tap “New sudoku” – or choose “Enter my own”, type in a puzzle from a newspaper or book and press “Use this puzzle”.
  2. Tap a cell and choose a digit from the number pad, or type 1–9; ✎ or N switches to notes.
  3. Stuck? “Hint” shows the next logical step, “Check” marks wrong entries and “Solution steps” explains every step to the end.

Example: A puzzle with 26 givens leaves 81 − 26 = 55 empty cells. If row 3 is only missing 4 and 7, and column 5 already has a 7, the empty cell R3C5 must be 4 – the solver calls this a “naked single”.

Controls

The sudoku solver: steps with explanations

“Hint” shows the next logical step, “Solution steps” shows every step to the end. The solver works like a person and always uses the simplest technique that makes progress:

Difficulty levels

The level depends on the hardest technique needed: Easy uses singles only, Medium adds pointing, claiming and pairs, Hard adds triples and X-Wing, Expert needs more than these. Every generated puzzle is checked before you see it: it has exactly one solution. The givens are placed symmetrically, as in newspaper puzzles. If the generator cannot hit the chosen level in time, it shows the real level.

Solve your own sudoku

“Enter my own” clears the grid. Type in the givens from a newspaper or book and press “Use this puzzle”. The tool checks that the puzzle is solvable and unique, rates its difficulty and explains every step if you want.

Printing, saving and privacy

“Print” outputs only the title and the grid – no ads, no buttons. Your game is kept in your browser’s localStorage and is back after a reload. Nothing is sent to a server. New puzzles are generated on your device with the browser’s random generator (crypto.getRandomValues).

Fancy another puzzle? The Wordle solver helps with the word game.

More puzzles: make a crossword, build a word search or play hangman online.

Frequently asked questions

How do I solve a sudoku from a newspaper?

Choose “Enter my own”, type in the givens and press “Use this puzzle”. “Solution steps” then shows every step with an explanation, and “Solve” fills in the complete solution.

Does every sudoku have exactly one solution?

The puzzles generated here do – this is checked before they are shown. For puzzles you enter yourself, the tool tells you if there is no solution or more than one.

How do notes work?

Tap the pencil ✎ or press N: numbers are then entered small as candidates. Shift + number does the same without switching modes.

What do the difficulty levels mean?

They follow the hardest technique required: Easy uses singles only, Medium pointing and pairs, Hard triples and X-Wing, Expert even harder deductions.

What is a hidden single?

A number that fits in only one cell of a row, column or box – even if that cell still has other candidates.

What is the minimum number of givens?

17. There is no sudoku with 16 givens and a unique solution; this was proven by computer in 2012 (McGuire, Tugemann, Civario).

Can I print the sudoku?

Yes. “Print” outputs only the title and the grid with its current state, without buttons or ads.

Is my game saved?

Yes, locally in this browser. Reload the page and carry on. In private mode the browser deletes it when you close the window.

Sources and legal basis

As of:

Related tools