
Web Scripts & Software
DEV3 TOTP 2FA Code Generator — Source Code (React + Tailwind)
from $29
Live demoDeveloper tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
The demo secret is public. Generate your own for real accounts.
Most authenticator apps only support SHA-1, 6 digits and 30 seconds. Change these only if your server needs it.
Changes in 30 s
Enter a valid secret to see the QR code.
otpauth://totp/DEV3%20Demo:you%40example.com?secret=JBSWY3DPEHPK3PXP&issuer=DEV3%20Demo&algorithm=SHA1&digits=6&period=30
Scan with Google Authenticator, Authy, 1Password and similar apps. The QR code is drawn in your browser.
Need TOTP 2FA Code Generator built into your own product? We build it as a full app, API and admin included. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The totp 2fa code generator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Skip the build: ready-made apps with the code included. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demootpauth:// link.Time-based one-time passwords follow RFC 6238. The time is divided into steps of 30 or 60 seconds. The step number is signed with the secret using HMAC with SHA-1, SHA-256 or SHA-512, and a few bytes of the result are turned into a 6 or 8 digit number. Server and app get the same code because they share the secret and roughly the same clock.
If you change them, the QR code changes too, and an app that ignores the extra fields will show wrong codes.
Use the previous and next codes to check your server's tolerance window. If the live code never matches your backend, check the clock first, then the Base32 padding and the algorithm name. To verify a library, compare it with the RFC test vectors, which use the ASCII secret 12345678901234567890.
The secret and codes are calculated in your browser with Web Crypto and are never uploaded. Treat any real secret like a password, and keep recovery codes somewhere safe.
A time-based one-time password. Your app and the server share a secret and both compute a short code from the secret and the current time, so the code changes every 30 seconds and never travels in advance.
Almost all use SHA-1, 6 digits and a 30 second period. Other values are valid in the standard, but some apps ignore them, so test before you ship.
Servers usually accept one step either side to allow for clock drift. Seeing the neighbours helps you debug a login that fails by a few seconds.
The page works offline and sends nothing, but a secret is a password. Prefer test secrets for development and never paste production secrets into any tool you do not trust.
Paste the same secret, algorithm, digits and period, then compare the code with your server at the same moment. The RFC 6238 test vectors use the secret 12345678901234567890.