How to use this tool
Choose a length from 1 to 4,096 and one or more character groups, then generate and copy the string.
How it works
Characters are independently sampled from the selected alphabet using Web Crypto and rejection sampling. Selected groups are allowed but not guaranteed to appear in a short string.
A QUICK EXAMPLE
Put it into practice.
Selecting only digits creates a digit string of the requested length, including possible leading zeros.
Good to know
Symbols may need encoding before use in URLs or configuration files. Choose the Password Generator if you require each selected group to appear.
Common questions
Are generated strings stored?
No. The generated value exists only in this page until it is cleared or you leave. Copying it places it on your device’s clipboard.