ToolboxToolbox

2FA / TOTP Code Generator — Runs Entirely in Your Browser

Generate Google / Microsoft Authenticator-compatible 6-digit codes locally

Scan QR Code

Click to upload, drag, or paste a Google Authenticator QR code image

No keys yet. Add TOTP secret keys above or scan a QR code.
All keys and codes are generated and stored only in your local browser. Nothing is sent to any server.

Generate TOTP (time-based one-time password) codes directly in your browser — compatible with Google Authenticator, Microsoft Authenticator, 1Password, and more. Enter Base32 secrets manually or bulk-import by uploading a Google Authenticator transfer QR code. Secrets live only in your local browser storage and are never uploaded.

How to use the 2FA code generator

  1. 1

    Add TOTP secrets

    Type Base32 secrets (one per line) or upload a Google Authenticator QR code screenshot to import in bulk.

  2. 2

    View live codes

    Codes refresh every 30 seconds. The ring shows seconds remaining on the current code.

  3. 3

    Copy with one click

    Tap the copy button and paste the current code into your login form.

Frequently asked questions

Are secrets uploaded anywhere?

No. Secrets are only kept in your browser's localStorage and can be fully removed by clearing browser data.

Can I import from Google Authenticator?

Yes. Use 'Transfer accounts' in Google Authenticator to produce a QR code, screenshot it, and upload it here for bulk import.

Will my codes follow me across devices?

No — secrets live locally only. Back them up before switching devices, and keep the official Authenticator app as a redundant copy.

Why is my code off by one?

TOTP depends on system time. Make sure your OS clock is set to auto-sync; small drift of a few seconds is normal.