Private by design

2FA Code Generator

Generate secure, time-based authentication codes instantly.

How to use this tool

Two-factor authentication (2FA) helps protect your account by requiring a time-based code in addition to your password when you sign in.

This web version of Google Authenticator generates six-digit authentication codes from your 2FA secret key.

  1. Enter your 2FA secret key

    Enter a Base32 secret key or an otpauth:// link from the service you are signing in to.

  2. Get your code

    Select the button to generate the current code, then copy it for use.

  3. Use the refreshed code

    The code refreshes automatically every 30 seconds. Enter it before it expires.

This site also offers free account checking, Cookie conversion, and text processing tools.

Tip: Keep your 2FA secret key safe and never share it with anyone to protect your account.

Private browser-based authentication

Without saving, your secret stays in this page's memory and is never sent to a server, stored in a cookie, or added to the URL. Saved keys are kept only in this browser's local storage.

Questions about online 2FA codes

What is a TOTP code generator?

TOTP is a time-based one-time password standard. It creates short-lived codes from a shared secret and the current time.

Can this recover my 2FA account?

No. You need the secret key that was already issued by your account provider. This tool cannot recover accounts or bypass authentication.