Crossword Puzzle Maker
Operator: Abdulla Al Fahad. How tools are built and checked
A crossword needs every word to cross at least one other, and no two parallel words may touch side by side. Working that out on graph paper for a vocabulary list takes an evening, and one change of word means starting again. This page tries hundreds of layouts from your word and clue list and keeps the one with the most crossings.
Key features
- Words and clues typed as 'word: clue' lines (a comma or tab also works) or loaded from a CSV or text file with the word in the first column, up to 120 words of 2 to 25 letters
- Grid sizes from 7 by 7 to 30 by 30, a Compact layout trimmed to the words or a Freeform layout that keeps the full grid, and 1 to 2,000 layouts to try (default 200)
- A seed that fixes the result: the same words, options and seed always give the same grid
- A PDF on US Letter or A4 with the grid, Across and Down clue lists and an answer key page, plus SVG and PNG of the blank grid and an SVG of the answers
How the grid is built from your word list
Words are reduced to the letters A to Z: accents are folded, spaces and hyphens removed, so CAFE-AU-LAIT becomes CAFEAULAIT and the clue shows its length in brackets. Duplicate words and lines that are not a word and a clue are reported above the grid instead of being dropped silently.
Numbering follows the usual rule: scanning rows from the top, every square that starts an across or down word gets the next number, so a number can start both an Across and a Down clue.
How it works
Each attempt shuffles the words (longest first, ties broken by the seed), puts the first in the middle, and then places every other word at the legal position that crosses the most letters. For a Compact layout a position is also scored down for making the grid wider or taller; Freeform leans toward the edges. A legal position has matching letters at every crossing, empty ends and no sideways contact with another word.
Up to three passes retry the words that did not fit. The finished boards are scored as 1,000 per word placed plus 20 per crossing minus half the grid's area (Compact only), the best board wins, and words that could not be placed are listed so you can raise the size, try another seed or edit the list.
The seed is mixed into a 32-bit generator for each attempt, which is why the same inputs reproduce the same layout and a new seed explores different ones.
Typical uses
- A teacher turns the week's 20 spelling words and one-line definitions into a printable crossword, with the answer key page kept back for marking.
- A newsletter editor makes a club-themed puzzle from 30 member names and clues and saves the SVG for the page layout.
- A parent makes a birthday crossword of 12 family names and uses Solve here on a tablet.
Building one
- Paste the words and clues, or press Load an example list.
- Set the grid size, layout, number of layouts and seed, and give the puzzle a title.
- Press Make the crossword and read the placed, crossings and unplaced figures.
- Print with PDF with answer key, save SVG or PNG, or open the Solve here tab to fill it in on screen.
Example
The page's example list of 14 solar-system words, one 'word: clue' per line, with grid 15, Compact, 200 layouts and seed 'crossword'
Mercury: Closest planet to the Sun
Venus: Hottest planet in the solar system
Earth: The only planet known to have life
Mars: The red planet
Jupiter: Largest planet
Saturn: Planet with the famous rings
Uranus: Ice giant that rolls on its side
Neptune: Windiest planet
Pluto: Dwarf planet since 2006
Comet: Icy body with a glowing tail
Orbit: Path around a star
Moon: Earth's natural satellite
Asteroid: Rocky body in the belt between Mars and Jupiter
Eclipse: When the Moon blocks the SunGrid and PDF with answer key
A trimmed 13 x 14 grid with 14 of 14 words placed and 14 crossings; 1 Down is COMET, 3 Across is ORBIT and 13 Across is MERCURY. The PDF has 2 pages, the puzzle with clues and then the answer key. With the grid limit lowered to 9, only 6 words fit and the other 8 are listed as unplaced.Things to check before you rely on it
A compact grid is trimmed to the words, so its size changes with the seed; choose Freeform when the printed grid must always be the same size.
Words that share no letters with any other word cannot be placed. They are listed under the grid and do not appear in the clues.
- Include a few long words: they cross many others and give the generator more places to attach short ones.
- Short words with common letters, such as TEA or SEA, are the easiest to fit; two-letter words rarely help a layout and make the grid crowded.
Common errors and how to fix them
- "Line 3 has no clue (use word: clue)."
- The line holds a word but no colon, tab or comma, so there is nothing to use as the clue. Add 'word: clue' or delete the line; the rest of the list is still used.
- "Line 9: ORBIT appears twice; the first clue is kept."
- The same word was listed twice, which a crossword cannot hold. Keep the clue you prefer by deleting the other line, or change one of the words.
- "Line 5: 'R2-D2' has characters other than letters, so it was skipped."
- Only the letters A to Z are used after accents are folded and spaces and hyphens are removed, so digits and symbols cannot be placed. Spell the answer out or choose another word.
Best practices
- Write clues as definitions that cannot be answered by another word on your list.
Solving on the page
In Solve here, click a square and type; the cursor follows the current direction, and clicking the same square again or pressing Space turns Across into Down where a word runs both ways. Arrow keys move, Backspace clears, and Check marks wrong letters in red. Reveal square, word and all fill the answers in.
Frequently asked questions
Can an answer be two words, or have an accent?
Yes. Spaces, hyphens and apostrophes are removed and accents are folded to plain letters, so 'Café au lait' is placed as CAFEAULAIT and its clue shows the length as (10). Keep that in mind when writing the clue, because the solver sees no gap between the words.
Why do different seeds sometimes give the same grid?
Each seed tries 200 layouts by default and keeps the highest-scoring one. When the list is small, the best score can be reached by the same layout from different seeds, so raise the layouts to 1,000 or edit the list for more variety.
Does the clue list change if I re-run with the same seed?
No. The words are sorted into a fixed order before the search, so the order you typed them in does not matter either.