Skip to content
Test versionSearch

Developer tools

Random letter generator

Generate random letters from the alphabet in upper or lower case, choosing how many to draw and whether a letter may appear more than once.

How it worksFAQRelated tools

Content reviewed:

Change the settings and press Generate. You can download the result as TXT; passwords are never added to the scenario list. Nothing is saved or sent automatically.

Everything is generated in this browser tab; nothing is stored or sent. Choose upper or lower case and whether letters may repeat.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Each value is drawn with the browser’s cryptographic random generator (crypto.getRandomValues) from the characters, words or range you choose. Draws that fall outside the range are discarded and repeated, so every allowed value is equally likely. Everything is generated in this browser tab; nothing is stored or sent. Choose upper or lower case and whether letters may repeat.

About this calculation

The random letter generator draws single letters from the displayed language alphabet. It is for anyone who needs a set of letters picked at random rather than by hand. You set how many letters to draw, whether they appear in upper or lower case, and an explicit repeat policy that either allows or excludes duplicates. The worked example draws ten lower-case letters with repeats allowed.

Each draw uses the browser’s local getRandomValues function together with bounded rejection sampling, so the selection is made on the device and changes every time you generate again. The result can be saved as a TXT file or copied as JSON, TXT, CSV or HTML, and those copies keep the displayed letters rather than creating new ones.

Nothing is saved or sent automatically, and the tool gives no certificate of randomness or uniqueness.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Letters (1–100)
10
Letter case
Lower case
Allow repeated values
Yes

Result

Generated values
10
Selected pool size
26
Exact generated values JSON: part 1
["c","t","v","u","w","o","z","j","b","b"]

Frequently asked questions

How do I generate random letters?

Set how many letters you want, choose upper or lower case and the repeat policy, then select Generate. The worked example draws 10 lower-case letters with duplicates allowed.

Can the random letter generator avoid repeated letters?

Yes. You choose an explicit repeat policy, so duplicates can be allowed or excluded for the draw.

Which alphabet does the random letter generator use?

Letters are drawn from the displayed language alphabet, in upper or lower case as selected.

How are the random letters generated?

The letters come from the browser’s local getRandomValues function with bounded rejection sampling. Generating again changes the selection.

Can I download the generated letters?

Yes. Values can be downloaded as TXT, and copies are available as JSON, TXT, CSV and HTML. Copies contain the displayed result and do not generate new random values.

Does the random letter generator certify randomness?

No. There is no certificate of randomness or uniqueness, and nothing is saved or sent automatically.