Skip to main content
AllDevToolsHub
๐Ÿ›ก๏ธ

OTP / TOTP QR Generator

100% Local

Generate Time-Based One-Time Passwords (TOTP) and scannable QR codes.

OTP / TOTP QR Generator

Authenticator Details

Advanced Options

Scan with Authenticator

Invalid Config

Live Test Code

30s
000 000
Try:

Privacy 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

01

Enter Secret Key

Paste your TOTP secret key (Base32 encoded).

02

View Current OTP

The current 6-digit TOTP code is displayed with a countdown timer.

03

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.
Overview

What is OTP / TOTP QR Generator?

Create custom Time-Based One-Time Passwords (TOTP) for 2FA. Configure Issuer, Account, Base32 secret, and SHA1/256/512, exports otpauth URI plus QR code.
FAQ

Frequently Asked Questions

Reference

Technical Deep Dive

SECURITY & CRYPTO

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
SHA1160-bitUniversal (Recommended)Standard
SHA256256-bitAuthy, 1Password, BitwardenEnhanced
SHA512512-bitModern authenticators onlyMaximum

02 TOTP Provisioning Workflow

1
Secret Generation A high-entropy random byte array is generated using the Web Crypto CSPRNG and encoded into a URL-safe Base32 string.
2
URI Serialization Parameters (issuer, secret, algorithm, period) are serialized into the standard otpauth://totp/ URI scheme.
3
QR Reification The URI string is transformed into a scannable QR code matrix, enabling instant cross-device provisioning of MFA accounts.

You Might Also Need