This is a code generator for the Time-based One Time Password (TOTP) algorithm.


What is this?

This is a code generator for the Time-based One Time Password (TOTP) algorthm. It's intended for developers of web applications with TOTP support to quickly generate codes for testing purposes. It's not a general purpose authenticator app.

What this tool can do:

  • Quickly generate TOTP codes;
  • View codes for past and future time-windows; and
  • Fiddle with various TOTP paramters.

What this tool can't do:

  • Store your TOTP secrets;
  • Act as your general purpose authenticator app; and
  • Scan TOTP QR codes.

How do I use this tool?

To start, simply type or paste in the TOTP secret key. This should be in the standard base32 format. This will generate 6-digit TOTP codes that update every 30 seconds using the SHA-1 algorithm that's used by default in all major authenticator apps.

You can press "show advanced settings" to adjust the TOTP parameters to use non-default values.

The generated codes are displayed in chronological order. The current code is shown in large text. The codes above are past codes, and the codes below are future codes.