OTP / TOTP QR Generator
100% LocalGenerate Time-Based One-Time Passwords (TOTP) and scannable QR codes.
Authenticator Details
Advanced Options
Scan with Authenticator
Live Test Code
30sPrivacy note
This tool runs entirely in your browser. Your input is never uploaded, logged, or sent to AllDevToolsHub or anyone else, and it keeps working offline once the page has loaded.
How to Use OTP / TOTP QR Generator
Enter Secret Key
Paste your TOTP secret key (Base32 encoded).
View Current OTP
The current 6-digit TOTP code is displayed with a countdown timer.
Copy Code
Copy the OTP before it expires. Codes refresh every 30 seconds.
OTP / TOTP QR Generator: the essentials
The OTP / TOTP QR Generator builds RFC 6238-compliant Time-Based One-Time Password configurations, issuer, account, Base32 secret, SHA1/256/512 algorithm, 30 or 60 second period, 6 or 8 digit codes, and emits both the canonical `otpauth://` URI and a scannable QR code. The output works with Google Authenticator, Authy, 1Password, Bitwarden, and every other RFC-compliant TOTP app.
Key points
- Implements industry-standard algorithms following current NIST and IETF recommendations.
- All cryptographic operations run locally using native Web Crypto APIs, no server round-trips.
- Secret material never traverses the network, keys and credentials stay on your device.
Learn More
What is OTP / TOTP QR Generator?
Frequently Asked Questions
Technical Deep Dive
OTP / TOTP QR Generator
Create custom Time-Based One-Time Passwords (TOTP) for 2FA integration or debugging. Configure the Issuer, Account Label, Secret Base32 string, and algorithms (SHA1, SHA256, SHA512). Automatically generates a valid `otpauth://` URI and a downloadable QR code to scan with Google Authenticator, Authy, or 1Password.
Cryptographically Sound
Uses well-established algorithms and primitives, no homegrown crypto, no guesswork.
Stays in Your Browser
Secrets, hashes, and keys never touch a server. Audit the Network tab, it's empty.
Tunable & Inspectable
Adjust parameters, inspect outputs, and verify against known vectors during integration.
01 Algorithm Compatibility Matrix
| Algorithm | Hash Bits | Compatibility | Security Profile |
|---|---|---|---|
| SHA1 | 160-bit | Universal (Recommended) | Standard |
| SHA256 | 256-bit | Authy, 1Password, Bitwarden | Enhanced |
| SHA512 | 512-bit | Modern authenticators only | Maximum |
02 TOTP Provisioning Workflow
otpauth://totp/ URI scheme.