Skip to main content

Generators & Randomness

TOTP Generator

Create TOTP from the selected options. Enter input, adjust the options, then copy or download the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Create TOTP from the selected options. Enter input, adjust the options, then copy or download the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

TOTP Generator computes a time-based one-time password from a Base32 shared secret and interval.

It returns a time-dependent TOTP code. The operation runs in your browser. Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Provide a valid Base32 secret.
  3. Set code length and interval.
  4. Check clock alignment with the authenticating system.

Example

Input: JBSWY3DPEHPK3PXP

Settings: TOTP Generator: Code length: 6; epoch offset: 0; interval: 30 seconds; name: test.

Result: It returns a time-dependent TOTP code. The operation runs in your browser.

Limits

  • TOTP Generator: The secret is sensitive and must not enter logs.
  • TOTP Generator: Codes expire as the interval advances.
  • TOTP Generator: A generated code does not verify account configuration.