Local StudioSECURITY TOOLS

TOTP Generator

Display a one-time code from a Base32 secret. Match your authenticator profile and watch the countdown to the next code.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
TOTP Generator showing the masked public RFC 6238 sample and its eight-digit, 30-second profile before codes start.
The public RFC 6238 sample is loaded and its seed is masked. Start Codes opens the live countdown.

How to Display a TOTP Code

  1. Open the HTML, review Security Check, then select Continue.
  2. Enter or paste your Base32 secret, choose one local seed text file, or select Open Sample.
  3. Match the algorithm, code length and seconds per code to your authenticator profile.
  4. Select Start Codes. Read the active code and its countdown, then use Reset to clear the workbench.

Match Your Authenticator Profile

  • Enter your Base32 secret in the masked field, load a local UTF-8 TXT file, or try the public sample.
  • Match the authenticator algorithm, code length, and period. The default is SHA-1 compatibility, six digits, and 30 seconds.
  • Start the live code display. Read the countdown and clear the workbench with Reset.

Formats and Compatibility

InputOne user-owned Base32 seed typed, pasted, or read from local UTF-8 TXT. Standard A–Z and 2–7, correct optional padding and ordinary whitespace are supported. The public sample loads the RFC 6238 SHA-1 test seed with eight digits.
OutputA live six- or eight-digit code, the active profile, and a countdown based on your device clock. Read the code directly from the workbench.
BrowserA modern browser with local file support.
ScopeOne Base32 secret with up to 4,096 input characters and 1,024 decoded bytes. Choose SHA-1, SHA-256 or SHA-512, 6 or 8 digits, and a period of 1–86,400 seconds.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

Use the TOTP generator without uploading files. The browser-based workbench keeps secrets and codes out of tool exports and browser storage.

Select Open Sample to see the workflow with the included example.

Device Time and Supported Profiles

This local TOTP generator calculates the time based one time password from Unix time on your device. Make sure the clock is accurate and the profile matches your authenticator. Choose SHA-1 compatibility, SHA-256 or SHA-512 and a whole number of seconds from 1 to 86,400.

Read the Code and Countdown

The offline authenticator code changes at the next time window. Edit Profile stops the display so you can adjust the settings. Reset clears the secret and code.

Frequently Asked Questions

Can I use the TOTP generator offline?

Yes. Extract the Tool ZIP and open TOTPGenerator.html in a browser with Web Crypto. Code calculation uses your device clock.

Is there a free TOTP generator?

Yes. The workbench and its offline ZIP are free.

Where is the TOTP generator download?

Download Tool ZIP saves the offline workbench. The tool displays each generated code in its live view.

Can I use the TOTP generator in browser mode?

Yes. Open the downloaded HTML or use the hosted workbench in a secure browser context with Web Crypto.

Which Base32 secrets are supported?

Use standard Base32 with optional correct padding. Spaces, tabs and line breaks can separate groups. Authenticator URLs and QR provisioning are outside this display workflow.

Why did my code change?

Codes are set by the period on your device clock. When the next period starts, a new code appears and the countdown resets. Match your device time and profile to the account configuration.

What does Reset clear?

It stops the live timer, removes the seed and displayed code from the workbench, and restores the default profile.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.