# go2fa > go2fa (https://go2fa.app) is a free, open-source (MIT) 2FA code generator. Paste your own Base32 secret or otpauth:// link and the TOTP code is computed inside your browser tab with WebCrypto. Nothing is sent to any server and nothing is stored. English and Vietnamese. ## Pages - [2FA code generator](https://go2fa.app/): the tool. Current and next code, countdown, device clock check, "check a code" (tells which 30-second window a rejected code belongs to), works offline. - [Why you can trust it](https://go2fa.app/why): how to verify in the browser Network tab that no secret leaves your device; the Content-Security-Policy. - [Privacy](https://go2fa.app/privacy): no cookies, no analytics, no storage of secrets or codes. - [Move from Google Authenticator](https://go2fa.app/migrate): decode the export QR codes (several parts, any order) in the browser, then save an otpauth list or Aegis, Bitwarden, 2FAS or Ente files. Nothing is uploaded. - [How a 2FA code is made](https://go2fa.app/how-it-works): TOTP step by step with real numbers computed live in the browser: time to counter, HMAC, dynamic truncation, six digits (RFC 4226 / RFC 6238). - [Developer tools](https://go2fa.app/dev): compute a TOTP/HOTP/Steam code for any timestamp and see each intermediate value, run the RFC 4226 and RFC 6238 test vectors in the page, generate a random secret with its otpauth:// link and QR. Nothing is sent. - [About](https://go2fa.app/about): purpose, same house as Key Atlas (https://keyatlas.vngroundtruth.com), and what the tool will not do. ## Developers and AI assistants - Source code (MIT): https://github.com/TASCOHN/go2fa (core: src/core.js) - npm package: https://www.npmjs.com/package/go2fa (CLI: npx go2fa selftest; the secret comes from GO2FA_SECRET or stdin, never as an argument) - Local MCP server (stdio): go2fa-mcp, listed in the official MCP registry as app.go2fa/go2fa. Tools: totp_code(label), totp_check(label, code). Secrets are configured by the user by label and are never returned. ## Scope For your own accounts only. It does not accept lists of accounts, does not check whether accounts are alive, and never puts a secret in a URL.