Loading…

How to use OTP Code Generator

Paste your Base32 secret and the current 6-digit code appears, refreshing every 30 seconds exactly like an authenticator app.

Frequently asked questions

What is TOTP?

Time-based One-Time Password (RFC 6238) derives a 6-digit code from a shared secret and the current time, changing every 30 seconds.

Will these codes match my authenticator?

Yes — for the same Base32 secret the codes match Google Authenticator, Authy and similar apps.

Is my secret sent anywhere?

No — codes are computed locally with HMAC-SHA1 and the secret never leaves your browser.

More Hash & Crypto Tools

Simple String Hash
Compare multiple non-cryptographic hash algorithms
XOR Cipher
Encrypt and decrypt text with XOR bitwise operation
Number Base Converter
Convert numbers between binary, octal, decimal, hex
Text to Color Hash
Visualize text as a deterministic color hash
PBKDF2 Key Derivation
Derive a key from a password with PBKDF2-HMAC (SHA-256/384/512), salt and iterations
SHA-3 / Keccak Hash
Generate SHA3-256/384/512 and Keccak-256 digests (used by Ethereum)
Hash Identifier
Identify the likely hash type of a digest from its length and format
Hash Generator (All)
Generate MD5, SHA-1, SHA-256, SHA-512 hashes at once
MD5 Hash Generator
Generate MD5 checksums for text strings
SHA-1 Hash Generator
Generate SHA-1 hash digests from any text input
SHA-256 Hash Generator
Generate secure SHA-256 hash digests from text
SHA-512 Hash Generator
Generate SHA-512 cryptographic hash digests

← View all Hash & Crypto ToolsBrowse all 1,100+ tools →