totp generator (2fa codes)

enter a base32 secret key to see the current 6-digit two-factor code and a countdown. computed locally.

runs on your device · free · no sign-up

loading tool…

frequently asked questions

what is a TOTP secret?

the base32 string shown when you set up 2FA, often under "can't scan the QR code". it looks like JBSWY3DPEHPK3PXP.

which settings are supported?

SHA-1, SHA-256 or SHA-512, 6 or 8 digits and 30 or 60 second periods, matching RFC 6238.

is my secret safe?

it is only used in your browser and never sent anywhere. do not paste secrets on a device you do not trust.

related tools