Puzzle & Cipher Tools
Tools

Sudoku Solver

Solve a standard 9 by 9 sudoku, or take one next step with a plain reason.

Everything runs in your browser; nothing you type is uploaded.

The answer will show up here and in the grid.

0, a dot, or a blank cell counts as empty. Line breaks, spaces, and | are removed.

Standard 9 by 9 only. Solving stops after 2 seconds. Fewer than 17 numbers usually means more than one answer. Bold numbers are the ones you entered. Thinner numbers on a green square were filled by Solve.

How to use

  1. Tap a cell, then press a number key or a "1"–"9" button. Arrow keys move between cells.

  2. Press "Solve" for the full answer, "Hint" for the next step, or "Check" to test the grid.

  3. Press "Copy answer" to copy the digits, or "Download answer" to save a text file.

Example

Riley copies a stuck newspaper puzzle as one long line of digits and pastes it into Paste a puzzle.

BeforeAfter
530070000600195000098000060800060003400803001700020006060000280000419005000080079
5 3 4 6 7 8 9 1 2
6 7 2 1 9 5 3 4 8
1 9 8 3 4 2 5 6 7
8 5 9 7 6 1 4 2 3
4 2 6 8 5 3 7 9 1
7 1 3 9 2 4 8 5 6
9 6 1 5 3 7 2 8 4
2 8 7 4 1 9 6 3 5
3 4 5 2 8 6 1 7 9

FAQ

What does it mean if two cells turn red?

Those cells have the same number in one row, column, or box. Change one of them. The page will not solve a grid that still clashes.

What if it says there is more than one solution?

The digits you entered do not pin the puzzle down to one grid. One possible answer is still filled in. Add more numbers from the paper if you have them.

What does a hint mean?

Hint fills one cell and says why, either because that cell has only one possible number or because that number has only one home in the row, column, or box. If neither is true, it tells you to press Solve.

Why the note about 17 numbers?

A sudoku puzzle needs at least 17 given numbers to have only one solution.

Can I print the grid?

Yes. Use your browser’s print command. The printout keeps the grid and hides the buttons.

More puzzle tools