Nonogram Line Check

Check a row or column while editing a nonogram. Find out whether its clues still fit, which squares are forced, and how many completions remain.

Worked example

In ??#??.????? with clues 3,2, the first cluster of five places must contain the run of three. The known empty square separates it from four possible positions for the second run.

View the free calculation as JSON

Check your own line

One GET request costs 0.10 USDC on Base through x402 v2. Invalid input is rejected before checkout. Supply both query parameters for a custom line. Call /line without parameters for a new practice line each UTC day, with its clues and analysis.

GET /line?cells=%3F&cells=%3F&cells=%3F&clues=2
cells
Pass one cells parameter per square, from left to right, for 1–120 squares. Use # for filled, . for empty and ? for unknown. Encode a literal # as %23 in URLs.
clues
Pass one clues parameter per run, in reading order. Supply up to 60 runs of length 1 to 120. Pass clues= for an empty line.

An x402 client reads the initial 402 quote, signs a payment for exactly 0.10 USDC, then retries the same GET with a PAYMENT-SIGNATURE header.

Reading the result

completions gives the exact count as a decimal string. forced uses the input notation and witness gives one valid arrangement. Each filled_counts entry counts the completions in which that square is filled. On a contradiction, feasible is false, the count is zero and both solution strings are null.