Skip to main content
SecurityFreeBy Daniel BeglaryanUpdated August 2026

Generate 2FA Codes

Turn a Base32 secret into live time-based 2FA codes, right in your browser.

PrivateWorks OfflineNo Account

Paste the setup key from your provider — or an entire otpauth://link and we’ll fill in the rest.

Algorithm

Digits

Time step

Everything runs in your browser. Your secret is never uploaded, logged, or sent anywhere.

Loading…
Deep dive

About Generate 2FA Codes.

Generate Live TOTP 2FA Codes Without a Phone

Paste a Base32 setup key (or a full otpauth:// link) and this tool shows the current six- or eight-digit two-factor code, a countdown ring, and the next code — the same math your authenticator app runs, computed entirely in your browser. Set the algorithm (SHA-1, SHA-256, or SHA-512), digit count, and time step to match any provider.

It also renders the otpauth:// URI as a scannable QR code, so you can enroll the same account in Google Authenticator, 1Password, Authy, or any TOTP app. Nothing is uploaded — the secret, the codes, and the QR are all created and stay on your device.

Honest caveat: this is a convenience generator and a testing aid, not a secure vault. It does not save your secrets between sessions, so a dedicated password manager or authenticator app is still the right home for the long-term seeds you rely on every day.

Common Use Cases

  • Locked out without your phone: Get into an account when you still have the original setup key but not the device your authenticator lives on.
  • Testing 2FA flows: Developers can generate valid codes on demand to exercise login, enrollment, and recovery paths without a physical device.
  • Switching authenticator apps: Recover the otpauth:// URI and QR from a saved secret to re-enroll an account somewhere new.
  • Verifying a setup key: Confirm a QR or manual key actually produces the codes your provider expects before you commit to it.
  • Non-standard configurations: Handle providers that use 8 digits, a 60-second step, or SHA-256/512 — options many phone apps hide.
  • Shared service accounts: A small team holding one account seed can read the same rotating code without passing a phone around.

Privacy: Everything runs entirely in your browser. Your secret key is never uploaded, logged, or sent to any server — the codes and QR are generated locally on your device and disappear when you close the tab.

Three steps

How to use Generate 2FA Codes.

01

Upload your file

Drag and drop or click to select your file.

02

Choose settings

Adjust quality, size, or format options.

03

Download result

Your processed file is ready instantly.

More in Security

Related security tools.

Why CipherForces

Privacy-first tools that work everywhere.

100% Private
From $39
Works Offline
No Account
188 Tools

Need more than a tool?

One team for your website, print, automation & branding — websites from $799.

Explore all 188 tools