Puzzles / Logic
Sudoku Solver: Solve from a Photo or by Typing, with Step-by-Step Hints
Solve sudoku from a picture or by typing, check for duplicate digits and multiple solutions, and get step-by-step hints with the cells highlighted.
Sudoku Solver: Solve from a Photo or by Typing, with Step-by-Step Hints: Enter a sudoku by keyboard or use a photo of a printed puzzle, including a grid surrounded by a paper margin. Photo recognition runs on your device and shows a rectified image beside the editable digits, with lower-confidence readings marked for review. Once you confirm the entries, the solver checks for duplicate digits, no solution, or more than one solution. Choose a complete answer, reveal one cell, or follow naked singles, hidden singles, naked pairs, pointing pairs and box/line reductions with the affected cells highlighted. You can also check your progress against the unique solution, share an 81-character grid link or print the current grid. Runs 100% locally in your browser with zero server file uploads.
- Category
- Games & party
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
A little logic, one square at a time.
Type a puzzle or read one from a photo, then choose how much help to reveal.
Use arrow keys to move, 1–9 to enter, and Backspace to erase, or paste an 81-character grid.
Sudoku rules and uniqueness
The sudoku overview (https://en.wikipedia.org/wiki/Sudoku) explains the nine-by-nine grid and its row, column and box constraints. A complete grid must contain each digit exactly once in every unit.
The mathematics of sudoku (https://en.wikipedia.org/wiki/Mathematics_of_Sudoku) discusses solution counts and the minimum-clue problem. This checker searches for a second solution before treating an answer as unique.
Reading printed digits locally
Adaptive local thresholding follows the document-image methods described by Sauvola and Pietikäinen (https://doi.org/10.1016/S0031-3203(99)00055-2) to handle uneven lighting before digit recognition.
Digit templates are drawn from the permissively licensed Noto fonts (https://github.com/notofonts) and DejaVu fonts (https://dejavu-fonts.github.io/License.html). Perspective correction and template matching run locally, and the original photo remains available for checking each recognised digit.
How to use it
- Type or paste the puzzle, or import a clear photo with all four grid edges visible.
- After importing a photo, compare every recognised digit with the rectified image and confirm or correct the grid.
- Solve the puzzle, reveal one square, or take the next logical step; save the starting clues to check your own progress.
Privacy & limitations
Photos and grids are processed on your device and are never uploaded; photo recognition needs no model download. A grid is included in the URL only when you create a permalink.
Related tools
Frequently asked questions
Can I solve sudoku from a picture?
Yes: import a JPEG, PNG or WebP photo, or use the camera input. Include all four grid edges and use a sharp image of printed digits. Compare the recognised digits with the rectified photo and confirm or correct them before solving.
Does my photo leave my device?
No. Grid detection and digit recognition run locally, with no recognition model download and no image upload. Recognition can make mistakes, so every imported puzzle needs your confirmation.
What if the sudoku has no solution or several solutions?
Duplicate digits are highlighted. A grid without an answer is labelled no solution; when a second answer is found, the solver states that there are two or more solutions and stops counting. Correct the starting clues before continuing.
Which logical hints are supported?
Hints cover naked and hidden singles, naked pairs, pointing pairs or triples, and box/line reduction. A step can place a digit or remove candidates. If none applies, the tool says a guess or a more advanced technique is needed; a reveal is a separate action.
How do I check my progress?
Enter the original clues and choose Set starting clues, then fill in your own answers. Check my progress highlights entries that disagree with the unique solution of the saved clues. Confirming a photo or taking a solve action also saves the starting clues.
Can I paste, share or print a puzzle?
Paste 81 digits into the grid, using 0 or a dot for blanks. Arrow keys move between cells and Backspace erases a digit. Create permalink puts the current grid into a shareable URL; Print prints that grid. Make a new puzzle opens the sudoku generator.
Free tool · runs in your browser · no account required