Hitori Solver
enter numbers · shade the solution

Hitori Solver — Step-by-Step Solution

Click cell to shade/unshade after solving

How to use the Hitori Solver

Enter numbers 1–N in each cell of the N×N grid (or click Random to generate a sample). Then click Solve. The solver will shade the correct cells black.

The solver first applies constraint propagation — unique cells (where a value appears only once in its row or column) can never be shaded. Adjacent cells to already-shaded cells cannot be shaded. Then it uses backtracking to resolve any remaining ambiguity, always checking that unshaded cells stay connected.

Three rules: no shaded cell is adjacent to another shaded cell; no unshaded number appears twice in any row or column; all unshaded cells form one connected group.

Grid Size
▶ Play Hitori instead
Solution Steps
Enter numbers then click Solve.
Rules
■ No shaded cells touch orthogonally
■ No unshaded number repeats in row/col
■ All unshaded cells connected

Hitori Solver: rules, how to use it, tips

Shade cells so no number repeats in a row or column, shaded cells never touch, and the rest stay connected.

The rules

  1. The grid starts full of numbers.
  2. Shade some cells so that no number appears more than once among the unshaded cells of any row or column.
  3. Shaded cells may not touch each other side to side (diagonal is fine).
  4. All unshaded cells must form one connected group, joined side to side.

Using the solver

  1. Choose a grid size and type the numbers from your puzzle (or press Random).
  2. Press Solve: the solver shades the cells and lists its deductions.
  3. After solving, click a cell to toggle its shading and explore.

Tips

The full guide, with a worked example and common mistakes: How to play Hitori.

Questions

What does right-click do in the Hitori game?

It places a circle — a note that a cell must stay unshaded. Long-press does the same on a phone or tablet.

Do shaded cells need to be connected?

No — the unshaded cells must be connected. Shaded cells must not touch at all.

Can I paste a puzzle into the solver?

Enter the numbers in the Hitori Solver grid (or press Random) and click Solve to see the shading and the reasoning.

Related