TOTP Generator - Free Online 2FA Code Tool | IconVault
Generate TOTP secrets, scan-ready QR codes and live 2FA codes in your browser. SHA-1, SHA-256, SHA-512 supported. Free.
TOTP Generator
Create 2FA secrets, scan-ready QR codes and live TOTP codes
Hash algorithm
5 of 5 free runs left - everything stays in your browser.
Enter a Base32 secret or generate a random one
The same secret you would scan from a site's "set up 2FA" QR code.
About this tool
IconVault's TOTP Generator creates time-based one-time password secrets for two-factor authentication, shows the current 6-digit code with a live countdown, and builds a scan-ready QR code (otpauth URI) with your issuer and account label so you can enroll it in Google Authenticator, Authy or any TOTP app.
You can also switch to validate mode to check a code, and choose SHA-1, SHA-256 or SHA-512, with everything computed entirely in your browser so your secrets are never uploaded or stored anywhere. It is free with no signup. The honest note: this is a convenience tool for generating and testing codes, and you should store real 2FA secrets in your authenticator app or password manager, not in a browser tab.
Frequently asked questions
Popular searches
More tools
AES Encryptor
AES-256-GCM text encryption in your browser
HMAC Generator
HMAC-SHA signatures in hex or Base64, with tag verify mode
Header Analyzer
Paste raw response headers, get a security audit in seconds
JWT Builder
Sign and verify HS256/HS384/HS512 tokens
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon