Random Letter Generator
Press Draw for a random letter, from A to Z or from vowels, consonants or a list of your own. Two things the usual one-letter-at-a-time generators leave out are here: set how many and a whole batch arrives in one press, up to 1000, and turn repeats off so the draw becomes a shuffle that deals each letter once until the alphabet runs out. Letters come from the browser's cryptographic random source, the stage shows which letters are still unused, and the alphabet, count, repeats and case settings stay in this browser rather than on any server.
No letters drawn yet.
Space or Enter draws again, unless you are typing in a field. The alphabet, count, repeats and case stay in this browser. The letters themselves are not saved.
- the alphabet in a shuffled order
- asks for a smaller count
- asks for at least one letter
Common questions
- How do I draw letters without repeating one I already have?
- Set Repeats to Off. The draw then works like dealing cards: the tool takes a copy of the alphabet, shuffles it, and hands you the first letters off the top, so no letter can come out twice in the same press. With A to Z and a count of 26 you get the whole alphabet in a random order. On the stage, the letters already dealt are lit up and the ones still unused stay dim, with the number left written underneath.
- How do I get several letters at once?
- Type a number in the How many box and press Draw, or press Space or Enter. One press deals up to 1000 letters. The newest one is shown large, the keys under it hold at most the 120 most recent with a count of any drawn before them, and the whole batch is written out in full as text below the controls. The Copy button puts the whole batch on your clipboard as one line, separated by spaces, in the order it was drawn. Ask for more than 1000 and the tool says so instead of quietly trimming the batch.
- Can I use only vowels or only consonants?
- Yes. Vowels draws from A, E, I, O and U. Consonants draws from the other 21 letters, which means Y counts as a consonant here. Both work with repeats on or off, so five vowels with repeats off gives you each of A, E, I, O and U exactly once, and asking for six from a set of five is refused with a message naming both numbers.
- Can I use my own set of letters?
- Press Custom and type them. Spaces and commas are treated as separators, so ABC and A, B, C are the same three letters, and anything else you type counts as a letter: digits, punctuation, accented letters and emoji all work. Emoji and other multi-part characters are kept whole rather than split into pieces. Repeated letters in your list are counted once, so a list of AAB draws from two letters, not three.
- Are the letters really random?
- They come from crypto.getRandomValues, the browser's cryptographic random source, and never from Math.random. There is a second step that matters as much: 2 to the power of 32 is not a multiple of 26, so mapping a raw 32-bit value onto the alphabet with a remainder would make the first few letters slightly more likely than the last. This tool throws away the values that do not divide evenly and draws again, which is called rejection sampling, so every letter is equally likely. The test suite checks the spread over 5200 draws.
- What happens if I ask for more letters than the alphabet holds?
- With repeats off, nothing is drawn and the tool tells you what went wrong: it names how many you asked for, how many different letters the alphabet holds, and the three ways out, which are lowering the count, adding more letters, or turning repeats on. With repeats on there is no ceiling of that kind, because every draw is independent and a letter may come up many times.
- Does it remember my settings, and is anything sent anywhere?
- The alphabet, your custom list, the count, the repeats switch and the case are kept in this browser's local storage so the tool opens where you left it. The letters you drew are not saved: each visit starts with a fresh draw. Nothing is uploaded, there is no account, and the whole draw happens in your browser. If storage is blocked, the tool still works and simply opens on its defaults, and the Start over button at the top of the page clears what it saved.
Every letter is drawn with the browser's cryptographic random source, so each is equally likely and a draw is not predictable from the ones before it. With repeats turned off the draw is a shuffle: each letter comes out once until the alphabet is used up.