Skip to content

TOTP Generator

Generate TOTP or HOTP codes in your browser from a shared secret or an otpauth:// URI.

Updated

What is the TOTP Generator?

How it works

Examples

Generate a TOTP code from a secret key

JBSWY3DPEHPK3PXP
A 6-digit code such as 282 760 that rotates every 30 seconds

Import a TOTP account using an otpauth URI

otpauth://totp/Example:user@mail.com?secret=JBSWY3DPEHPK3PXP&issuer=Example
Account details parsed and code generated.

Generate an HOTP code with a custom counter

Secret: JBSWY3DPEHPK3PXP, Type: HOTP, Counter: 0
282 760 — the deterministic 6-digit code for that secret at counter 0

Frequently asked questions