How otpauth / TOTP QR codes work
Authenticator apps (Google Authenticator, Microsoft Authenticator, Authy, and others) scan an otpauth://totp/… URI that follows the Google Key URI Format (RFC 6238 for TOTP). The URI carries a Base32 secret plus optional issuer, algorithm, digits, and period.
URI policy on this page: we omit algorithm, digits, and period from the URI when they equal the defaults (SHA1 / 6 / 30) to keep the payload short. Non-defaults are included explicitly. HOTP uses otpauth://hotp/… and always includes counter=.
Example (issuer Example, account user@example.com, secret JBSWY3DPEHPK3PXP):
otpauth://totp/Example:user%40example.com?secret=JBSWY3DPEHPK3PXP&issuer=Example
This tool creates an enrollment QR only. It does not generate one-time codes, store secrets, or recover lost authenticators. For export/migrate between apps, use each vendor’s official export flow.
FAQ
What is a TOTP / otpauth QR code?
A QR that encodes an otpauth:// enrollment URI so an authenticator app can add a TOTP (or HOTP) account.
Is this Google Authenticator, Microsoft Authenticator, Authy, or Apple?
No. QRStatic is not affiliated with those vendors. This page is not an authenticator app and cannot store or recover secrets.
Will Google Authenticator honor SHA256, 8 digits, or a custom period?
Often no. Google Authenticator and some apps may ignore non-default algorithm, digits, or period. Prefer SHA1 / 6 / 30 unless you control the verifier. Changing advanced options shows a visible warning.
Is my secret uploaded or saved?
No. Everything runs in your browser. Secrets are not uploaded and are not written to localStorage—refresh clears the form.
Is the QR or PNG the same as the secret?
Yes. Anyone who scans the QR or opens the PNG/SVG can enroll the same secret. Do not send images by email, chat, or cloud album. Delete unused copies.
Can I use this for any account?
Only for lawful own-service or authorized test enrollment. Do not use this to assist unauthorized account takeover.
Does this TOTP QR expire?
A static otpauth payload does not expire because of a generator trial—the data lives in the image. Your server and authenticator apps still control verification.
How do I migrate or export an existing authenticator?
Use the official export/migrate flow in Google Authenticator, Authy, or your IdP. This page does not reverse-engineer vendor export blobs.
Next steps: WiFi QR · vCard QR · Phone call / tel QR · Email / mailto QR · SMS QR · WhatsApp click-to-chat QR · Location / Maps QR · Calendar event QR · Google review QR · Homepage generator · Spotify playlist QR