Crypto
Token Generator
Generate random text in hexadecimal, Base64URL, or alphanumeric form for test fixtures and compatible token fields.
About this tool
When to use it
Generate random text in hexadecimal, Base64URL, or alphanumeric form for test fixtures and compatible token fields.
How to use it
Set character count, batch count, and format, then select Generate tokens. Check the receiving field's allowed characters and length. Copy the intended value rather than an entire batch when filling a single-token field.
Guide updated . Examples checked against this implementation.
Worked examples
A 32-character hexadecimal token
Input
Characters: 32; How many: 1; Format: HexadecimalExpected output
32 lowercase characters from 0–9 and a–f; a new value on each generationThis describes the output shape, not a reusable token. Each hexadecimal character carries four random bits, so 32 characters encode 128 bits.
Errors and unsupported input
A Base64URL token is rejected by another applicationCheck whether that field accepts hyphen and underscore or expects a different encoding. Select a compatible alphabet rather than manually removing random characters.
Continue this workflow
- OTP Code Generator: Generate digits-only test codes when the input field is numeric.
Questions
Frequently asked questions
Do equal character counts mean equal randomness?
No. Alphabets have different sizes. A hexadecimal character represents fewer possibilities than a Base64URL character.