OTP Code Generator — Free Online Tool

Generate real RFC 6238 TOTP codes that match Google Authenticator from a Base32 secret. OTP Code Generator is a free online tool from the ToolsRift Hash & Crypto Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading OTP Code Generator

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)

← View all Hash & Crypto Tools