Technical Specifications & Architecture
Choose a format and length
Hex, Base64 and Base64URL encode the selected number of random bytes. For example, 32 bytes produce 64 hexadecimal characters. Base64URL uses URL-friendly characters without padding. Alphanumeric and custom modes measure length in characters. UUID mode produces a fixed-format version 4 identifier.
Custom mode uses only the supplied characters and treats repeated characters as one choice. An empty alphabet stops generation. Character selection avoids modulo bias, but does not guarantee that every selected character category appears in each token.
Randomness comes from Web Crypto on your device; generation stops if it is unavailable. This tool does not register credentials, set expiry dates, grant permissions or mask displayed tokens. Check where you copy or save the output.