Skip to content
AI Web Toolbox

Security

How to use TOTP Code Generator: an example and checklist

Use TOTP Code Generator when you need a quick way to work through this task. Generate a time-based one-time code from a secret, for testing 2FA. This guide walks through a small example and the checks to make before you use the result.

How to use the tool

  1. Open TOTP Code Generator and start with a small example that contains no sensitive data. This makes it easier to see what changes.
  2. Follow the tool's own instructions: Paste a Base32 TOTP secret (like the one behind a 2FA QR code) to see the current 6-digit code and how long it's valid.
  3. Inspect the result against your original input. Make any corrections, then copy or download it for your project.
Open TOTP Code Generator

Try a small example

Example input or settings

A disposable Base32 test secret

What to check

Confirm the code changes with time; protect the real secret

When this is useful

For a real task, replace the sample with your own input and check the output in its final context. Keep a copy of the original if the change is hard to reverse.

Before you rely on the result

Use disposable examples when testing. Keep real secrets private, verify the result independently and review security settings for your application.

Browse all guides