TOTP authenticator
Paste a Base32 secret to see the current one-time code and a countdown, or make a new secret with a QR code.
About TOTP Authenticator
Two-factor apps compute a short code from a shared secret and the current time, following RFC 6238. This page does the same calculation in your browser. Paste a Base32 secret to see the live code, the next one and the seconds left. You can change the algorithm, the number of digits and the period. A second panel builds an otpauth link and a QR code that an authenticator app can scan. The secret never leaves your device.
- Testing a two-factor login you are building.
- Checking that a secret and an app show the same code.
- Making a secret and QR code for a test account.
- Reading a code when your phone is not at hand and you control the secret.
How to use TOTP Authenticator
Step 1
Paste a Base32 secret, or press the button to make a random one.
Step 2
Check the algorithm, digits and period match your service.
Step 3
Read the code, or open the QR panel and scan it with an authenticator app.
Good to know
- Your device clock must be right. A clock a minute out gives codes that servers reject.
- Most services use SHA-1, 6 digits and 30 seconds. Change these only if the service says so.
- Keeping a real account's secret in a web page is a risk if the computer is shared. Use this for testing and for secrets you can replace.
Common questions
What is a Base32 secret?
It is the setup key shown beside a QR code, made of the letters A to Z and the digits 2 to 7. Spaces and dashes in it are ignored.
Is the calculation checked?
Yes. The page matches the test values published in RFC 6238 for SHA-1, SHA-256 and SHA-512, which you can try with the fixed time box.
Why do my codes differ from the app?
Usually the secret, the period or the digit count differ, or one clock is off. Check those first.