Random String Generator

Use this online random string generator to get a random string from the English alphabet or any set of characters (including symbols). The generator accepts custom input so you can use it to generate a random string sequence out of any characters.

Your Random String(s)

Random string
Share randomizer:

Embed this tool!
get code

How to generate a random string

To generate a random string of characters (character sequence), start by specifying which alphabet to use. "Alphabet" here means simply the collection (or 'bag') of characters from which the random string generator has to pick randomly. By default, the generator is loaded with all lowercase and uppercase letters of the English alphabet, the numbers from zero to nine, and a set of special characters including most punctuation signs. Note that you cannot use a comma or a space in the input character set as these, alongside tabs and new lines are used to discriminate between characters. You can easily input the German, Russian, French, Spanish, or any other characters into the string generator, as well as any symbols you like, other the abovementioned few. You can remove any characters you don't want, but you need to have at least 2 characters as input.

After you've chosen your starting character set, you can select whether the output should be capitalized or not. For example, if the character set consists of "a b c d" and the resulting string is "bac", the generator will output "BAC" if this setting is on.

Additionally, you can select to get only unique characters in your string. Note that using this option and the capitalization option works just as you'd expect - the generated string will contain only unique uppercase letters and any other characters you've elected to use. For example, if the character set is "a b c d A B C D" and you have selected to both capitalize and to output a unique string, the random string generator may output a string like "BAC", but it will never output a string like "BAACB".

Finally, press the "generate random string" button to essentially perform multiple dice roll with a dice with as many sides as the number of characters entered.

How to generate a set of random strings?

You can use the string generator to produce a set of strings. If you are doing a raffle, for example, you would want to also flip on the "Unique strings only" checkbox so that the generator returns a set of unique randomly generated strings.

If that is not what you're going for, then simply change the number of strings field to as many strings as you like (maximum of 10,000) and press the button. The easiest way to retrieve the list of random strings is to select it all (Ctrl+A on a PC), and then copy it (Ctrl+C on a PC).

Applications of a random string generator

While a sequence of random strings can be used for many things, it is often that they find application in games and raffles. For example, if you are doing a charity lottery and want to randomly distribute prizes to the charity donors at an event, you can generate a set of unique random strings which can be given out to participants as tokens. You can then paste the list of strings in our randomizer and randomize it to determine either who gets the prize (if it just one), or the order in which the prizes are to be given to fundraising participants.

Cite this randomizer & page

If you'd like to cite this online randomizer resource and information as provided on the page, you can use the following citation:
Georgiev G.Z., "Random String Generator", [online] Available at: https://www.gigacalculator.com/randomizers/random-string-generator.php URL [Accessed Date: 10 Aug, 2020].