TOTP Generator
2FA codes and authenticator QR for testing.
Current code
------
Changes in 30s · next: …
Scan with Google Authenticator, Microsoft Authenticator or Authy.
For testing 2FA in your own apps (RFC 6238). Codes are calculated in your browser. Don't paste secrets from real accounts on shared computers.
How to use
- 1Enter a Base32 secret, or tap New for a random one.
- 2Set the issuer, account, digits, period and algorithm.
- 3Scan the QR code with an authenticator app.
- 4Compare the app's code with the current code, or type it to check.
Frequently asked questions
What is TOTP?
Time-based One-Time Password (RFC 6238): a 6-digit code that changes every 30 seconds, used by Google Authenticator and similar apps.
Why doesn't my code match?
Check your device clock is correct, and that digits, period and algorithm match the app's settings.
What is the otpauth:// URI?
The standard link that authenticator apps read from a QR code to add an account.
Is it safe to use real secrets?
Codes are calculated in your browser, but treat 2FA secrets like passwords and avoid entering real ones on shared computers.
Is my data uploaded?
No. Everything runs in your browser; nothing you paste is sent to a server.
You may also need
.gitignore Generator
Combine .gitignore templates and download.
Git Cheat Sheet
Searchable Git commands with explanations.
URL Parser
Split URLs, edit query params, build UTM links.
JSON Formatter
Format, validate and minify JSON.
Password Generator
Generate strong, random passwords.
Base64 Encoder / Decoder
Encode text to Base64 or decode it back.