Free · no sign-up · nothing uploaded

Nonogram creator: turn a picture into a puzzle grid

A built-in sample is already converted below. Upload your own image, slide the threshold until the silhouette reads clearly, pick a size, and the clues and uniqueness verdict update as you go — the picture never leaves your browser.

No uploadThreshold + invert5 × 5 to 25 × 25Uniqueness checkShare or print

Creator

Unique solution ✓ 15 × 15 140 filled cells
2
7
9
10
11
12
13
12
13
12
11
10
9
7
2
55
13
13
15
15
13
13
13
11
9
7
5
3
0
0

Built-in sample: heart at 15 × 15. The picture below is the raster the grid was averaged from.

Read by your browser into a canvas. It is never uploaded and never stored.

Or a built-in sample

Pixels darker than the cut become filled cells. Slide up for a heavier picture.

Source: built-in heart sample, 160 × 160 pixels.

Which pictures turn into good puzzles

Start with contrast. A silhouette — a leaf, a letter, a simple animal, a mug — has hard edges and one dominant dark shape, so a threshold can separate it cleanly. A photograph has soft gradients, and any single threshold turns those gradients into speckle: some cells dark, their neighbours light, at random.

Speckle is the enemy, and not for looks. A nonogram is solved by runs, so a picture made of isolated single cells produces lines labelled “1 1 1 1”, which is the least informative label a line can carry. Several such lines and the puzzle has many solutions. That is why photographs so often come out ambiguous: the converter is faithfully reproducing detail the puzzle format cannot describe.

The practical test is to look at the preview and ask whether you would recognise it at thumbnail size. If the shape survives at 10 × 10, it will make a puzzle. If it needs 25 × 25 to be recognisable, the puzzle will be a slog of counting rather than a picture appearing.

Built-in samples are drawn in the page as vectors, so the converter can be tried without a camera, a file or a network. They also make the controls obvious: the same sample at three thresholds shows precisely what the slider does.

Tuning the threshold

The threshold is a brightness cut from 0 to 255. Pixels darker than it become filled cells; brighter pixels stay empty. Slide it up and more of the picture fills in; slide it down and the picture thins out until it disappears. There is usually a narrow band where the subject is solid and the background is clean, and that band is the one to use.

Invert is for pictures that are light on dark. A white shape on a black background, or a photograph shot at night, becomes the right way round when inverted, and the threshold then behaves as it did before — the cut moves with the picture rather than against it.

Size interacts with the threshold. Downsampling averages the pixels in each cell, so a 25 × 25 conversion keeps detail that a 10 × 10 throws away; if the 10 × 10 looks mushy, the image is too detailed for that grid, not mis-thresholded. Try a larger grid before sliding the threshold further.

Transparent areas count as paper. A PNG logo with a transparent background converts as if the background were white, so you do not have to flatten it first. The conversion is a box average over each cell weighted by alpha, which is why a transparent edge fades rather than blocks.

From picture to legal puzzle

A converted grid is only a puzzle if its clues have exactly one answer, and the converter says so next to the preview. When the verdict is “multiple solutions”, the usual fix is a smaller grid, a cleaner source image or a threshold that produces fewer lone cells. The highlight shows two cells where the alternative answers disagree, which is often one stray pixel.

A useful trick is to redraw rather than convert. Take the converted grid as a starting point, open it in the maker, and clear the cells that made it ambiguous — a single cell removed from a speckled area can turn an ambiguous grid into a unique one, and the picture usually gets better rather than worse.

When it is right, the grid is an ordinary puzzle: Play link puts it in the URL fragment, Print lays it out with an answer page, and the solver will finish it step by step. Nothing about the picture is stored anywhere between those steps.

Where the name and the puzzle come from

  • Non Ishida, a Japanese graphics editor, won a Tokyo competition in 1987 with grid pictures made from switched-on skyscraper lights; Tetsuya Nishio independently published the same puzzle idea, and in 1988 Ishida published three of them in Japan as “Window Art Puzzles”. The word nonogram comes from “Non” (Ishida’s name) plus “gram” (from diagram), coined by the puzzle collector James Dalgety, who also placed them in The Sunday Telegraph from 1990. Sources: Wikipedia, “Nonogram” (history and naming section).
  • Deciding whether a nonogram has a solution is NP-complete — Ueda, N. and Nagao, T. (1996), “NP-completeness results for NONOGRAM via Parsimonious Reductions”, technical report TR96-0008, Department of Computer Science, Tokyo Institute of Technology, as cited in the same Wikipedia article. This site’s solver stops after two solutions and a time budget, which is why it can answer “is there more than one?” quickly even though the general problem is hard.

Frequently asked questions

Is my image uploaded to a server?

No. The file is read by your browser, drawn into a canvas, averaged down to the grid and discarded. There is no upload endpoint on this site and no storage: closing the tab loses the picture, which is the price of not having a server.

Why does my photo produce a puzzle with several answers?

Because a threshold reduces a photograph to a scatter of isolated cells, and isolated cells are exactly what line clues cannot pin down. Silhouettes and high-contrast drawings convert well; photographs of faces, skies and textures usually do not.

What image formats can I use?

Anything your browser can draw: PNG, JPEG, GIF, WebP, SVG and AVIF in current browsers. Very large images are downsampled before averaging, so a 4000-pixel photo costs no more than a small one.

Can I sell or share the puzzle I make?

The grid is yours — it is a grid of numbers. The picture you started from is a separate question, and if it is not yours, neither is a puzzle that reproduces it. The tool does not add any licence or watermark of its own.

Every count on this page — the clues, the number of filled cells, the overlap table — was computed from the grid by this site’s own engine at build time. The grid is yours to share, print or solve; nothing about it leaves your browser unless you paste the link somewhere.