Authenticator Codes

Turn a two-factor secret into the six-digit code a site is asking for. Calculated in your browser and never stored.

The text version of the QR code your site showed when you set up two-factor authentication. Spaces are ignored.

Your current code

••• •••

Paste a key to see your code

Codes are calculated in your browser from the key and your clock. Nothing is sent anywhere and nothing is saved between visits — keep your phone app as the everyday method, since a separate device is what makes two-factor authentication work.

HOW TO

How to generate a 2FA code

Two-factor codes are calculated from a secret key and the current time, which is why they change every thirty seconds and why they work without an internet connection.

  1. 1

    Find your secret key

    When a site sets up two-factor authentication it shows a QR code, with a link revealing the key as text for people who cannot scan it. That string is what you need.

  2. 2

    Paste it in

    The current code appears immediately, along with a countdown showing how long it remains valid.

  3. 3

    Use it before it expires

    Copy the code into the site that asked for it. A new one is generated automatically every thirty seconds.

USE CASES

When this comes in useful

A stopgap rather than a replacement for an app on your phone.

Phone out of reach

Get into an account when your phone is flat, lost or somewhere else.

Testing a setup

Check that a newly configured two-factor secret produces working codes.

Development work

Generate codes against a test account without configuring a phone app for it.

Shared team accounts

Let whoever holds the key produce a code when the account is not tied to one person.

Migrating apps

Verify a key still works while moving between authenticator applications.

Understanding TOTP

See how a secret and a clock combine to produce the codes you type every day.

TIPS

Using this safely

Two-factor authentication works because the second factor lives somewhere separate. Keep that in mind.

  • Keep your phone app as the everyday method. Its whole value is being a separate device from the one you log in with.
  • Never paste a secret key into a shared or public computer — anyone with access could generate codes indefinitely.
  • Check your clock if a code is rejected. TOTP depends on accurate time, and a drifting clock produces codes that never match.
  • Store your keys in a password manager, not in a note or an email to yourself.
  • Save your backup codes when you enable two-factor authentication. They are the reliable way back in if you lose access.
  • Nothing is kept here between visits, so a key has to be pasted in each time — that is deliberate.
FAQ

Questions, answered

How TOTP codes work and when to use this instead of an app.

Still stuck?

Send us the details and we will take a look.

Get in touch

An app that generates a short code, changing every 30 seconds, as a second step when you log in. Because the code comes from a secret held on your device rather than a text message, it cannot be intercepted by SIM swapping.