All generators

One-Time Password Generator

Generate codes on this device from an authorised authenticator secret.

Authenticator Settings

Enter the setup secret your organisation authorised.

Code type

Algorithm

Use the service’s interval, from 1 to 3,600 seconds.

Code digits

The secret stays in this tab until you clear it or leave.

One-time code

Enter a secret

Match the settings from your service.

Use an Authorised Secret

Generate a one-time code from a setup secret your organisation has authorised you to use. The service creates the enrolment and gives the authenticator its secret. This generator calculates codes from that existing secret.

Enter the Base32 secret itself. Base32 writes the secret’s bytes as letters A to Z and digits 2 to 7. This tool accepts lower case, spaces and correctly placed trailing equals signs.

The generator keeps the secret in this tab while you work. It stays out of the address, network requests, logs, analytics and browser storage. Select Clear secret when you finish.

Match the Authenticator Settings

For a time-based one-time password (TOTP), match the service’s algorithm, number of digits and time interval. Keep your device clock synchronised. The countdown shows when this browser moves to the next code.

The TOTP settings support SHA-1, SHA-256 and SHA-512 with six to eight digits. RFC 6238 uses 30 seconds by default. Use the interval your service specifies.

For a counter-based one-time password (HOTP), use the counter the service expects and match its digit count. HOTP here uses SHA-1. Generating or copying a code leaves the counter where you set it.

Select Load test example to try the public secret from RFC 4226. With six digits and counter 0, the code is 755224. Change the counter to 1 and it becomes 287082.

Keep the Recovery Boundary Clear

Select Copy code after checking the displayed settings. Clear secret removes the secret and result from the page. If you copied a code, clear it from your clipboard history if your device keeps one.

The generator cannot recover a missing secret, bypass sign-in or access an account. Follow your organisation’s recovery procedure if you lose access or the service needs to enrol a replacement authenticator.