Random String and Token Generator
Generates random strings in the alphabet you choose — hex, Base58, digits or alphanumeric — with an optional prefix.
Loading the tool…
How to use this tool
- Set the length and how many you need.
- Choose the alphabet — Base58 if a person will ever read the string aloud or retype it.
- Add a short prefix if these are tokens, so a leaked one is recognisable in a log or findable by a secret scanner.
- Select Generate.
What random string generator does
This is for the identifiers that are not UUIDs: an API key, a webhook secret, a share token, a batch of realistic-looking references for a test fixture. The alphabet is the interesting choice. Hex is unambiguous and verbose. Base58 leaves out 0, O, I and l, which is why wallet addresses and short links use it — nobody mistypes a Base58 string read aloud.
A prefix is worth adding to anything that will be seen in the wild. A token that begins with a short tag identifying what it is makes an accidentally committed secret findable by an automated scanner and recognisable by a human reading a log. The summary reports the entropy of each string so you can decide whether the length you chose is enough for the job.