A nonogram is a picture puzzle solved with logic. The numbers beside each row and above each column give the runs of filled squares in that line, and working out where every run goes reveals a hidden picture. Boards here run from 5×5 to 15×15, and every picture is checked to be solvable one row or column at a time.
Nonogram rules: runs, gaps, and a hidden picture
A nonogram is a grid of blank squares with a list of numbers beside every row and above every column. Some squares belong to a hidden picture and get filled, and the rest stay empty. The clues decide which is which:
- Each number is a run, a line of filled squares side by side in that row or column.
- Runs come in order. A clue of 2 4 means a run of 2, then a run of 4, reading left to right in a row or top to bottom in a column.
- Runs are separated by at least one empty square, and there can be empty squares before the first run and after the last.
Fill every square of the picture, with no extra squares, and the puzzle is solved. Crosses are optional. When you finish, the crosses vanish, the picture changes color, and a card shows your time, mistakes, and hints. See picture closes the card so you can look at what you made.
How to read nonogram clues
Take a row of 10 squares with the clue 3 1. Somewhere in it are three filled squares together, then at least one empty square, then one filled square, with empty squares around them. A clue of 0 means the line is completely empty, and a clue of 10 in a line of 10 fills it from end to end.
The clues give the lengths and order of the runs, but not where they start. Finding that is the whole puzzle, and the crossing lines are what pin each run down. A clue fades once the filled squares in its line match it.
Three sizes, and how each picture is made
Choose a size under New puzzle. Small is 5×5, a gentle start for kids and first-timers. Medium is 10×10 and opens by default. Large is 15×15, for a longer puzzle with more detail.
Every picture is made fresh in your browser. It's built from a few random shapes, with holes cut out and single squares sprinkled in, then mirrored left to right like a pixel sprite. Roughly a third to two thirds of the squares are filled, and at most one row or column is completely empty. Before you see it, a solver checks that the whole picture can be worked out one row or column at a time. If it can't, the picture is thrown away and a new one is made, so every puzzle has exactly one answer and never needs a guess.
Filling, crossing, and dragging
Click or tap a square to fill it. Switch the tool to Cross, or right-click with a mouse, to mark a square you know is empty. Tap a square again with the same tool to clear it.
Press and drag to paint a whole stretch at once. A stroke stays in the row or column where it started and only marks blank squares, so dragging a fill along a line won't wipe out your crosses. Start a drag on a square that already has that mark and the stroke clears the mark instead. Undo takes back a whole stroke in one step.
Right-drag to cross, F to fill
Fill and Cross behave the same whichever input you use:
- Mouse: click or drag to fill, and right-click or right-drag to cross.
- Touch: tap or drag with your finger, and switch between Fill and Cross with the buttons under the board.
- Keyboard: move with the arrow keys. F, Space, or Enter fills, X crosses, Backspace clears, Z undoes, and H gives a hint.
- Screen readers: every square reads out its row, its column, and whether it's filled, crossed, or blank. The row and column clues are labeled, and status messages are announced.
There's no notes mode, since a square here only ever has three states: filled, crossed, or blank.
Hints, mistakes, and undo
Show mistakes starts on. A filled square that should be empty turns red, and so does a cross on a square that belongs to the picture, and the line above the board names the square. Switch it off to check yourself. Either way, the Mistakes counter adds one for each wrong fill or wrong cross.
Hint fixes a wrong square first. Otherwise it settles one square and tells you which row or column proves it, such as row 3's clue (2 1) meaning the square in column 4 is filled. It picks the square under your cursor when it can.
Start with the biggest clues
Five moves to reach for, roughly in this order:
- Start with the biggest clues. A run longer than half its line always covers the middle squares.
- Add up each clue with one gap between runs. If the total equals the line length, fill the line.
- Cross the rest of any line that already matches its clue.
- When a filled square touches the edge, it starts the first run. Fill the rest of that run and cross the square after it.
- Switch between rows and columns. Each square you settle gives the crossing line something new.
For more number-clue logic, try Kakuro, a crossword made of sums, or Minesweeper, where numbers tell you how many mines are close by.
The math behind nonograms
In math terms, nonogram clues are a form of discrete tomography: they describe a picture by what lies along each row and column, and the puzzle is to rebuild the picture from those views.
A single line has a neat rule. Add up the runs plus one gap between each, and subtract that from the line length to get the slack. Any run longer than the slack has a stretch of its length minus the slack that's certain. In a line of 10 with the clue 6 1, the total is 8, the slack is 2, and four squares of the 6 are fixed.
Big puzzles are another story. Deciding whether a nonogram has any solution is NP-complete, as Nobuhisa Ueda and Tadaaki Nagao showed in 1996. The puzzles here are all checked to be solvable line by line.
Where nonograms come from
In 1987 the Japanese graphics editor Non Ishida won a competition in Tokyo with pictures made by switching a skyscraper's lights on and off, which gave her the idea for a grid puzzle. The puzzle maker Tetsuya Nishio came up with the same idea on his own. Ishida published three puzzles in 1988 as Window Art Puzzles.
The British puzzle collector James Dalgety named them nonograms, after Non and the end of "diagram", and The Sunday Telegraph printed them weekly from 1990. In 1998 its readers chose a new name, Griddlers. Nintendo later took the name Picross for its nonogram video games, starting with Mario's Picross for the Game Boy in 1995. Picross is a Nintendo trademark and Griddlers is a brand name, and this game isn't affiliated with either.
Best times and half-painted pictures
The clock starts with your first mark or hint and pauses while the tab is hidden. Your records shows puzzles solved and your best time for each size. Beat your best and the result card says so, and Reset records clears them.
There's no account involved. Your size, the Show mistakes setting, your records, and the picture in progress, every filled and crossed square plus the mistakes, hints, and clock, live in this browser's local storage, so a half-painted 15×15 is still there next time. The page needs a connection to load, but the pictures are drawn and checked in your browser, and your marks and times aren't sent to a server. The privacy policy lists that entry.