About Word Gallery
Word Gallery finds every English word you can build from a set of letters, and tells you which of them a person would actually recognise. It is a static site with no server-side search: word data is downloaded to your browser and everything happens there.
Where the words come from
No single public word list is good enough on its own, so this site merges three and ranks with a fourth.
- ENABLE — 172,823 words, public domain. The list most Scrabble and Words With Friends programs validate against.
- FreeBSD web2 — 210,804 words from Webster's 1913, BSD licensed. Enormous breadth, at the cost of currency.
- A Wordle valid-guess list — 14,855 five-letter words, public domain. Catches modern vocabulary the other two miss.
- Google's English frequency list — 10,000 entries, MIT licensed, used only to rank words the dictionaries already vouch for. It is a frequency corpus rather than a dictionary—it contains things like pm and tv—so it never adds a word on its own.
Merging gives 315,007 words. Only entries that are already lowercase are kept: web2 lists proper nouns like Harris and Thondracians in title case, and folding those to lowercase would smuggle 25,000 names in as ordinary words.
The three tiers
315,007 words is far too many to hand over undifferentiated, so every word is tagged:
- Everyday (8,357) — has a frequency rank. Listed first, because it is almost always what you wanted.
- Word-game (170,810) — valid in ENABLE or the Wordle list, but not words you would use in conversation.
- Archaic and rare (135,840) — web2 only. Shown, but dimmed and labelled.
Treat the tiers as a ranking aid rather than a verdict on whether a word is real. "Everyday" means the top 10,000 words by frequency, which is a strict bar: satire does not clear it, and is filed under word-game words.
The merge is an improvement, not a cure. Email and vibes arrive with ENABLE and the Wordle list, but blog is in none of the four sources and is still missing.
How the search works
In Letters I have mode your letters are counted, and every candidate word is checked against that supply, using no letter more often than you provided it. Each ? is a blank tile, allowing one letter the rack cannot cover; because a blank scores nothing, the letters it stands in for are deducted from the word's score. In Pattern mode the input is compiled to a regular expression instead, and position matters.
Keeping those apart is deliberate. ? means a blank tile to a Scrabble player and an unknown position to a crossword solver, and both are right; inferring which from the text alone would get one of them wrong every time.
The dictionary is split into one file per word length. That matters, because a rack of N letters cannot spell a word longer than N letters—so a search only downloads the lengths it could possibly match. A seven-letter rack fetches about 258 KB rather than the whole 315,000-word dictionary, and nothing at all is downloaded until you actually search.
Scoring
Scrabble and Words With Friends use different tile values, so both are calculated. Scores are raw tile totals and exclude double and triple squares, which depend on where you place the word rather than on the word itself.
Privacy
Searching happens in your browser against word data your browser has downloaded. The letters you type are never transmitted. The site uses Google Analytics to count page views; it records no search terms.
How it is built
A static site with no framework and no dependencies. A Node script merges the word lists, generates the pages and emits the shards, and the result deploys to Cloudflare Workers as static assets. The source is on GitHub.