TOTP Code Generator
Generate live 2FA codes from a TOTP secret or otpauth:// URI — useful for testing.
224 18512s remaining
Algorithm
SHA1
Digits
6
Period
30s
Time skew check
±30s usually ok
🔒 Secrets are kept in memory and never leave your browser.
About TOTP
TOTP (RFC 6238) generates a short numeric code that changes every 30 seconds, derived from a shared secret + the current time. It's what apps like Google Authenticator, Authy, and 1Password produce.
Paste either a Base32 secret (e.g. JBSWY3DPEHPK3PXP) or a full otpauth:// URI. SHA-1 / 30 seconds / 6 digits are the defaults — the URI can override any of those.
Heads-up:this is a testing tool. Don't paste production secrets unless you trust this device, and never paste secrets that another person could see your screen for.
You might also like
- JWT Secret StrengthCheck a JWT signing secret for length, entropy, and known weak values.
- .env File ParserParse a .env file into JSON, with quoted-value and export support — and warn about anything fishy.
- .gitignore BuilderPick languages, frameworks, build tools, editors and OS — get a deduped .gitignore.
- .gitignore GeneratorBuild a .gitignore by picking from common language, framework, and OS templates.