Tool to randomly pick a letter, according to different criteria, vowels, consonants, for letter games such as Name-Place-Animal-Thing or other word-based games, etc.
Random Letter - dCode
Tag(s) : Fun/Miscellaneous, Word Games
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A random letter is a letter selected at random from a given alphabet. The standard Latin alphabet consists of 26 letters, from A to Z.
The principle is to randomly select one or more letters from the 26 letters of the Latin alphabet (from A to Z).
In a uniform draw, each letter has an equal probability, or 1 in 26, of being selected on each draw.
For additional options (number of letters, specific constraints), see the dCode page dedicated to random selection.
Example: A, B, or C has a 1 in 26 chance of being drawn.
dCode performs draws with replacement, so that after each selection, the letter is placed back into the set of possibilities, which allows the same letter to be drawn several times.
Check the option Prefer the most used letters
In English, letters do not appear with the same frequency. The letter E is statistically much more frequent than the letter W.
To reproduce realistic conditions used in word games (Scrabble tiles, Boggle dice, Longest Word tiles, letter wheel in Categories, etc.), generate random letters taking these frequencies into account.
dCode allows you to draw letters proportionally to their frequency in the French language or to restrict the selection to vowels or consonants.
Different formulas can be used as random letter picker such as =CHAR(RANDBETWEEN(65,90))
Each time the sheet is recalculated, a new letter is produced randomly and uniformly.
In programming languages, generating a random letter typically involves drawing a random number corresponding to a position in the alphabet and then converting it into a character.
Example: In Python, use chr(random.randint(65,90)) to obtain a random uppercase letter between A and Z.
dCode retains ownership of the "Random Letter" source code. Any algorithm for the "Random Letter" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Random Letter" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Random Letter" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Random Letter" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Random Letter on dCode.fr [online website], retrieved on 2025-12-19,