Sudoku Assistant — Learn Sudoku Solving Techniques

Enter a Sudoku puzzle and learn step-by-step how to solve it. The assistant analyzes your puzzle, explains the technique needed for each step, and teaches you solving strategies. 100% client-side — your puzzle never leaves your browser.

Analysis & Steps
Enter a puzzle and click "Analyze & Explain" to begin.

How to Use the Sudoku Assistant

  1. Enter your puzzle — click cells and type numbers, or paste an 81-digit string.
  2. Click "Analyze & Explain" — the assistant will explain what it found and the technique needed.
  3. Click "Next Step" — apply the next logical step with a full explanation.
  4. Repeat until the puzzle is solved, learning techniques along the way.

Solving Techniques Reference

Beginner

Naked Single

When a cell has only one possible candidate remaining, that number must go there.

Example: If a cell can only be 5 (all other numbers 1-9 are present in its row, column, or box), then it must be 5.
Tip: This is the most basic technique. Start by scanning each empty cell to see if only one number fits.
Beginner

Hidden Single

When a number can only go in one cell within a row, column, or box, it must go there — even if that cell has other candidates.

Example: If the number 7 can only appear in one cell of row 3, then that cell must be 7, even if it shows other possibilities.
Tip: Check each row, column, and box to see if any number has only one possible position.
Intermediate

Naked Pair

When two cells in the same unit (row, column, or box) contain the same two candidates, those two numbers are locked to those cells. You can eliminate these candidates from other cells in that unit.

Example: If two cells in a row both have candidates {3, 7}, then no other cell in that row can be 3 or 7.
Tip: Look for pairs of cells with identical candidate lists. This technique removes possibilities from neighboring cells.
Intermediate

Naked Triple

When three cells in the same unit collectively contain only three candidates, those numbers are locked to those cells. Eliminate these candidates from other cells in that unit.

Example: If cells have candidates {1,2}, {2,3}, and {1,3}, together they use only 1, 2, and 3. Remove these from other cells in the unit.
Tip: The three cells don't each need all three candidates — they just need to collectively use exactly three numbers.
Intermediate

Hidden Pair

When two numbers only appear as candidates in the same two cells within a unit, those cells must contain those two numbers. Remove all other candidates from those cells.

Example: If 4 and 8 only appear in cells A and B of a box, then A and B must be {4,8}. Remove any other candidates from A and B.
Tip: Unlike Naked Pairs, Hidden Pairs may be "hidden" among other candidates in the cells.
Intermediate

Pointing Pair / Triple

When a candidate in a box is restricted to a single row or column, it can be eliminated from that row or column outside the box.

Example: If the number 5 in box 1 only appears in row 1, then 5 can be removed from all other cells in row 1 (outside box 1).
Tip: This technique bridges box constraints with row/column constraints.
Intermediate

Box/Line Reduction

When a candidate in a row or column is restricted to a single box, it can be eliminated from other cells in that box.

Example: If the number 3 in column 5 only appears in box 8, then 3 can be removed from all other cells in box 8.
Tip: This is the reverse of Pointing Pairs — look at rows/columns instead of boxes.
Advanced

X-Wing

When a candidate appears in exactly two cells in each of two different rows, and these cells align in the same two columns, the candidate can be eliminated from all other cells in those two columns.

Example: If number 2 only appears in columns 3 and 7 of both row 2 and row 8, then 2 can be removed from all other cells in columns 3 and 7.
Tip: X-Wing creates a rectangle pattern. The same logic applies swapping rows and columns.
Advanced

Swordfish

An extension of X-Wing to three rows and three columns. When a candidate in three rows is restricted to the same three columns, eliminate it from those columns elsewhere.

Example: If number 5 in rows 1, 4, and 7 only appears in columns 2, 5, and 9, remove 5 from other cells in those columns.
Tip: Swordfish is rarer than X-Wing. Look for it when easier techniques stall.
Advanced

XY-Wing

Three cells form a hinge pattern: the pivot has candidates {X,Y}, and two pingers have {X,Z} and {Y,Z}. Any cell seeing all three cannot be Z.

Example: Pivot at R5C5 with {2,3}, pingers at R5C1 with {2,7} and R1C5 with {3,7}. Any cell seeing both pingers cannot be 7.
Tip: The pivot must see both pingers, and the pingers must not see each other directly (except through the pivot).
Advanced

Simple Colorings

For a candidate that appears in only two cells per unit, chain them with alternating colors. If two cells of the same color see each other, that color is false and can be eliminated.

Example: Color cells alternately blue/red. If two blue cells are in the same row, all blue cells are wrong — eliminate them.
Tip: Coloring helps visualize strong/weak links between candidate positions.

Technique Difficulty Progression

1

Start Here

Master Naked Singles and Hidden Singles first. These solve most easy puzzles completely.

2

Build Skills

Learn Naked/Hidden Pairs and Pointing Pairs. These tackle medium puzzles and build pattern recognition.

3

Level Up

Master Box/Line Reduction and X-Wing. These unlock hard puzzles and improve logical reasoning.

4

Expert Level

Swordfish, XY-Wing, and Coloring. These conquers expert puzzles and complete your technique arsenal.

Frequently Asked Questions

The assistant uses the techniques listed above. If a puzzle requires a technique not implemented (like Jellyfish or Turbot Fish), the assistant will indicate that manual solving is needed. Most puzzles up to expert level can be solved with the covered techniques.

The assistant assumes the puzzle has a unique solution. If you enter an invalid puzzle with multiple solutions, some steps may not work correctly. Use puzzles from trusted sources for best results.

Both! The explanations teach you the techniques. After following several puzzles, you'll recognize patterns and solve independently. The reference section serves as a permanent study guide.