Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitSecurity2FA Code Generator (TOTP)

2FA Code Generator (TOTP)

Generate 2FA codes from a Base32 secret or otpauth link. Runs entirely in your browser — nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
How it works

How to use 2FA Code Generator (TOTP)

  1. 01Paste your Base32 secret, or a full otpauth:// link, into Secret or otpauth:// link.
  2. 02Choose Digits: 6 or 8. Most services use 6.
  3. 03Leave Period at 30 seconds and Algorithm at SHA-1 unless your service says otherwise.
  4. 04Read the current code and countdown, then click Copy code. The next code is shown below it.
Questions

2FA Code Generator (TOTP) FAQ

6 answers to what people ask most about the 2FA Code Generator (TOTP).

How do I get a 2FA code without an authenticator app?

Enter the setup secret the service gave you, and this tool computes the same six digit code your app would. It uses the standard TOTP algorithm.

What is a TOTP secret and where do I find it?

It is a Base32 string, like JBSWY3DPEHPK3PXP, shown when you set up two-factor authentication, often under a link such as Can't scan the QR code.

Why does my code not match the service?

Check the digits, period and algorithm settings, and make sure your device clock is accurate. Most services use 6 digits, 30 seconds and SHA-1.

What is an otpauth link?

It is the address encoded in a 2FA QR code, starting with otpauth://totp/. Pasting it fills in the secret and other settings for you.

How long is each code valid?

30 seconds by default. The ring shows time remaining, and the next code is displayed so you can use it as the timer runs out.

Is 2FA Code Generator (TOTP) free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
Password Generator

Strong random passwords from your browser's crypto.

Security
Text Redactor

Hide emails, phones, cards and more in any text.

Security
Passphrase Generator

Memorable random-word passphrases with entropy.

Security
Password Strength Checker

Test a password's strength and crack time privately.

Security
Something off with 2FA Code Generator (TOTP)? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt