Skip to content
Free generator

A two-factor authentication QR code

To set up two-factor authentication for a service you run: type the key, or generate one, and the code adds it to Google Authenticator, Microsoft Authenticator or any TOTP app. The key never leaves your browser.

Content

Algorithm
Digits
Period

When scanned, the authenticator app adds the account and starts producing its codes.

This code gives access to the account’s sign-in codes: show it to its owner only, and do not print it.

Design

Colours in one click: modules, eyes and background. Shapes and logo stay.

When scanned

From the key to six-digit codes

  1. The code is scanned

    From the authenticator app, with « Add an account ».

  2. The account is created

    Under the service and account typed, with the code’s key.

  3. Codes start rolling

    A new code every 30 seconds, the one the service expects.

Uses

For those who manage access

  • Your own application

    Show your users’ enrolment key as a QR code, during development or a test.

  • A key received as text

    A service gives the key in plain text only: the code saves copying it by hand.

  • Shared accounts

    Hand access to a colleague, in person, without sending the key in a message.

  • Backups

    Recreate the QR code of a key kept somewhere safe, for a new phone.

Good to know

Security first

  • Computed here, sent nowhere

    The key is generated with the browser’s random generator (160 bits) and encoded on the page. Nothing is sent, nothing is kept.

  • A code not to show around

    Whoever scans it gets the same sign-in codes: show it on screen, to its owner only, and do not print it.

  • The otpauth:// format

    The one every authenticator app reads, with the key in base32. SHA-1, 6 digits and 30 s by default, the most compatible settings.

  • The service’s key comes first

    For an existing account, use the key the service provides: a key generated here only works for a service you set up yourself.

Frequently asked questions

Which apps read this QR code?

Every TOTP app: Google Authenticator, Microsoft Authenticator, 1Password, Bitwarden, Aegis, FreeOTP and the rest.

Is it safe to generate a 2FA QR code online?

Here, the computing happens entirely in your browser: the key is neither sent nor kept. You can check by going offline before typing it: the code is drawn all the same.

When should I change the algorithm, digits or period?

Only if the service requires it. Google Authenticator ignores these settings and assumes SHA-1, 6 digits and 30 seconds.

Can I use this for my Google account or my bank?

Those services show their own QR code when you turn two-factor on: scan that one directly. This generator is for keys you manage yourself.

What if the destination changes one day?

Create the code from a short link: the same look, a destination you can change at any time, and scans counted.