TOTP / 2FA Code Generator

Convert a Base32 2FA key into the current OTP code. Supports otpauth://totp URLs, automatic refresh and an expiry countdown. Keys are processed only within the open page.

Input example

JBSWY3DPEHPK3PXP

Output example

123456

Default: SHA-1 · 6 digits · 30 seconds. An otpauth URL may specify SHA-256/SHA-512, 8 digits and a custom period.