The routine that solves any nonogram
- Sweep for overlaps. Go through every row, then every column, filling the cells long blocks always cover.
- Cross what can't be reached. After each fill, look along the line for cells no block can reach.
- Finish blocks. A block at full length gets an empty cell on each side.
- Use the walls. A filled cell next to an edge or a cross pins its block.
- Match cells to clue numbers. Join or split runs; cross gaps too small for the blocks left.
- When stuck, ask a line a question. Test a cell by contradiction, within one line.
Then go back to step 1: every new cell creates new overlaps in the crossing lines. A puzzle is a loop of these six steps until the picture appears.
Which techniques does each puzzle need?
Our solver grades every puzzle by the techniques it needs. Easy nonograms solve with the first two techniques alone. Most 15×15 and 20×20 pictures need the first four. Hard nonograms need all seven, many times over. The Hint button uses the same reasoning and explains which of these ideas applies to the line it points at.
The techniques
Click any technique to read it with examples:
OverlapLong blocks always cover their middle. The move that opens every puzzle.Unreachable cellsA cell no block can reach is empty: cross it.Complete blocksA finished block needs an empty cell on each side.EdgesA filled cell near the border pins the first block.Joining and splittingDecide whether two filled cells share a block.GapsA stretch too short for any remaining block is empty.ContradictionTest a cell: if filling it breaks the line, it's empty.
Questions and answers
What is the best strategy for solving nonograms?
Start with overlaps in every line, cross unreachable cells, finish complete blocks, then use the edges. Repeat; each new cell opens moves in the crossing lines.
Can every nonogram be solved without guessing?
Not every nonogram in the world, but every one on this site: our solver proved each can be solved line by line.