I often have to generate a random alphabet so I created this simple online utility that does it for me. It lets you generate as many random lowercase and uppercase English alphabet letters as you need. It works in the browser and is powered by alien technology from the future.
Random Alphabet Generator Options
Random Alphabet Generator Examples (click to try!)
y, m, d, r, y, h, i, t, m, o, z, e, m, o, h, a, z, m, a, i n, h, h, b, g, a, x, g, m, b, m, h, r, c, m, s, n, i, o, n h, g, j, p, l, s, w, s, v, n, r, n, s, a, o, k, o, b, m, c v, a, y, x, g, m, u, m, x, t, i, f, v, d, s, b, o, c, a, g v, y, a, o, s, e, p, u, r, i, u, t, l, p, b, n, k, g, j, d q, m, j, i, x, o, t, r, v, f, i, l, w, y, c, u, j, z, w, d m, g, x, e, v, m, u, n, h, e, r, l, x, m, v, l, s, u, r, r g, t, y, h, z, k, h, f, r, g, c, p, n, k, d, o, h, s, y, a x, a, o, h, s, n, m, t, x, o, f, h, h, n, z, p, a, c, e, m g, k, n, m, s, t, n, t, e, x, t, l, l, q, y, g, p, q, j, m
M017LP2oTKX315ku qld5WZzJk1FgIB29 V9Sc2WUly7I5G27C IV31nLD9gw2LkyTB 1M9uzb7fkrUwMRmC DC6ebLqZ70VxDaDa R9E9GlFee7GId5Or y6TlRFvCpZMAmk9h DkskNqaZ1Cgl6CYA ynFGfbJnUdoUGTUZ s9uZIFpnCZNrKKsV F6lm8DDpb0SFF6Ac
How Does This Random Alphabet Generator Work?
patterns variable and they are accessed through the
getPattern(pattern) function. For example,
getPattern('lowercase') returns an array
['a', 'b', …, 'z']. The chosen patterns are concatenated together in the
choiceArr array. The number of results is stored in the
numResults variable (which is initialized from the value in the options) and the number of letters per result is stored in the
alphabetLength variable (also initialized from the options). The program sets up a double-loop that goes from 1 to
numResults and from 1 to
alphabetLength. The second loop uses the
pickOne(choiceArr) function to make a random selection from the selected patterns. Each picked letter is put in the
chars array. When it has made
alphabetLength choices, the letters in the
chars array get joined by
chars.join(letterSep) and are
push()ed to the
strings array. When the first loop also stops, there are exactly
numResults random alphabet strings in the
strings array. They are also joined together by the
join(resultSep) function and are returned as the output value of this program.
Created by Browserling
This random alphabet generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our programmer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company.