Logic Puzzles
Logic Puzzles

Nonogram Solver

Stuck on a nonogram or picross puzzle? Type in the number clues for every row and column, press Solve, and the solver reveals the hidden picture. It combines logical line solving with a backtracking search, so it also tells you when a puzzle has more than one solution or when the clues contradict each other.

Choose the grid size, then enter the clues for each row and column.

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Row clues
Column clues

How to use the nonogram solver

  1. Pick the size of your puzzle, from 5×5 up to 20×20.
  2. Type the clues for each row and each column into the boxes below the grid. Separate the numbers with spaces or commas. Leave a box blank (or type 0) for an empty line.
  3. Press Solve. The solver fills in every cell it can prove, then searches for the rest and draws the finished picture in the grid.
  4. If the clues have more than one solution or a mistake, the message under the grid tells you. Recheck your clues, or press Clear to start again and Load example to see how it works.

Nonogram solver FAQ

What is a nonogram?
A nonogram, also called picross, griddlers or hanjie, is a logic puzzle where the numbers beside each row and column tell you the lengths of the runs of filled squares in that line. Filling the grid correctly reveals a hidden picture.
How do I enter the clues?
Type the numbers of each line in order, separated by spaces or commas, for example 3 1 2. A blank box or 0 means the line has no filled squares.
What if the solver says there are multiple solutions?
Some puzzles, especially randomly made ones, have more than one valid picture. The solver then shows one of them. If you expected a unique answer, double-check that you entered every clue correctly.
Why does it say my clue totals do not match?
The numbers in all the row clues must add up to the same total as the numbers in all the column clues, because both count the same filled squares. A mismatch almost always means a typo or a missed clue.
How large a puzzle can it solve?
Up to 20×20. Typical puzzles are solved in a fraction of a second, right in your browser, and nothing is sent to a server.