QR Code Generator
Creates QR codes for links, Wi-Fi, contacts, and more, as PNG or SVG.
Generate time-based one-time codes from a Base32 secret, the same six-digit codes authenticator apps show. Test your 2FA setup, check a code, and get the otpauth link and QR code.
Current code
------
– seconds left · previous – · next –
TOTP (RFC 6238) is HOTP (RFC 4226) with the counter taken from the clock:
counter = floor(unix_time / period) code = truncate(HMAC(secret, counter)) mod 10^digits
HMAC runs in your browser with Web Crypto.
12345678901234567890 (Base32 GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ), time 59, SHA-1, 8 digits = 94287082.07081804.[email protected] looks like otpauth://totp/Utilza%3Aada%40example.com?secret=...&issuer=Utilza.A time-based one-time password: a short code, usually 6 digits, that changes every 30 seconds. It is the "authenticator app" form of two-factor authentication.
Usually the device clocks differ, or the digits, period, or algorithm settings don't match. Check the time on both devices first.
RFC 4226 asks for at least 128 bits (16 bytes) and recommends 160 bits (20 bytes). Generate secret creates 20 random bytes.
No. Codes and the QR code are made in your browser. The secret is never uploaded or stored.
Often used together with the TOTP Generator.
Creates QR codes for links, Wi-Fi, contacts, and more, as PNG or SVG.
Signs text or files with HMAC-SHA256 and other hashes, and checks signatures.
Generates secure random tokens and API keys with a chosen length, alphabet, and prefix.