OTP Secret Generator
Generate 1–50 OTP secret candidates by Base32-encoding 10–64 Web Crypto random bytes.
How to use
- Choose secret byte length and count, then Generate.
Capabilities and scope
The enhanced runner fills a byte array with crypto.getRandomValues and uses a direct A-Z2-7 Base32 encoder.
How it works
The byte bitstream is consumed in five-bit chunks and mapped to the RFC Base32 alphabet.
Example
The default 20 bytes produce an unpadded 32-character Base32 secret.
Useful for
- Create Base32 secret material for TOTP/HOTP test configuration
Before you use it
- The tool does not calculate OTP codes or generate otpauth URI, issuer, digit, or period configuration.
Frequently asked questions
Does it show a Google Authenticator code?
No. It generates only the secret string, not the time-based code.