OTP Secret Generator
Create cryptographically random Base32 secrets that any authenticator app can use.
Generate OTP secrets
Entropy per secret: —
Link for the first secret: —
How to use the OTP Secret Generator
- Choose the secret size and how many secrets you need.
- Click Generate to create fresh Base32 values.
- Paste a secret into your authenticator app or copy the otpauth link.
Features
- Random secrets from crypto.getRandomValues
- 10, 16, 20 or 32 random bytes
- Up to twenty secrets at once
- Ready made otpauth link for the first secret
Advertisement
Frequently Asked Questions
Common questions about the free online otp secret generator.
It is the shared random value that your account and your authenticator app both know. From it
both sides derive the same short codes.
Twenty random bytes, which is 160 bits, matches the RFC 4226 recommendation. Longer secrets
are fine and are still accepted.
Yes. They come from the browser cryptographic random number generator, so they are suitable
for protecting real accounts.
Use manual entry in your authenticator app and paste the Base32 value, or scan a QR code
generated from the otpauth link shown below the box.
No. Generate a separate secret for every account, because one leaked secret exposes every
service that shares it.
No. They are created and displayed inside your browser and are never stored or transmitted,
so copy them before closing the page.
Check for stray spaces and make sure the secret only uses letters A to Z and digits 2 to 7,
which is the Base32 alphabet.
Yes. It is completely free, works offline once loaded, and needs no account, no sign-up and
no installation.
Last updated: October 10, 2026