An API key–style token
32 hex characters: 32 × log2(16) = 128 bits
Generate random strings from letters, digits, hex, URL-safe characters or your own set, in bulk.
Choose your options and select Generate.
Runs in your browser — nothing you enter is sent to a server.
Pick a character set, a length and how many strings you need, then select Generate strings. Every character is drawn with your browser's secure random generator using unbiased sampling, so each allowed character is equally likely in every position.
Choose Custom characters to use your own set — every different character you type can appear, including letters from any language and emoji. Nothing is sent anywhere.
bits = length × log2(characters)
For a secret token, aim for at least 128 bits: for example 32 hexadecimal characters or 22 characters of URL-safe Base64.
32 hex characters: 32 × log2(16) = 128 bits
8 letters and digits: 8 × log2(62) ≈ 47 bits — plenty for coupon or invite codes.
Yes, it's possible, because each string is independent — but with enough length it's vanishingly unlikely. For guaranteed unique IDs, use the UUID Generator.
The 64 characters A–Z, a–z, 0–9, - and _. They need no escaping in URLs or file names, so they're common for tokens.
You can, but the Password Generator guarantees every chosen kind of character appears and can avoid look-alikes.
Create strong random passwords with the length and characters you choose, generated privately in your browser.
Generators
Generate random version 4 or time-ordered version 7 UUIDs, up to 1,000 at a time.
Developer Tools
Generate truly random numbers in any range — one or many, whole or decimal, with or without repeats.
Generators