Advertisement

2FA QR Code Generator

Make a QR code for Google Authenticator or Authy setup, with a random secret key and a live test code.

Last updated:

2FA QR Code Generator
otpauth · Authenticator QR · Test code

How to Use It

1
Enter the issuer (your app name) and the user's account
2
Keep the random secret or paste one from your server
3
Scan the QR and check the app shows the same code

For developers and admins setting up or testing two-factor login.

Who Uses a 2FA QR Generator

Settings That Work Everywhere

SettingSafe default
AlgorithmSHA1 - some apps ignore SHA-256/512
Digits6
Period30 seconds
Secret160 bits (32 Base32 characters)

otpauth Link Format

Related Tools

Frequently Asked Questions

How do I create a QR code for Google Authenticator? +

Enter an issuer and account above. The tool makes a random secret, the otpauth link and the QR code to scan.

What is an otpauth URI? +

A link like otpauth://totp/Issuer:user?secret=KEY that authenticator apps read from the QR code.

Is the secret key random and secure? +

Yes. It is 160 random bits from your browser's secure random generator, the size RFC 4226 recommends.

Why does my app show a different code? +

Check your phone clock, and keep SHA1, 6 digits and 30 seconds - some apps ignore other settings.

Can I recreate a lost 2FA QR code? +

Yes, if you saved the secret key. Paste it in the secret field to get the same QR.

Is anything sent to your server? +

No. The key, link and QR code are made in your browser.

About the creator Prajwal Karkera, creator of ToolsFlow

Built and maintained by Prajwal Karkera, a digital product specialist with 8+ years of experience in digital products. Found a problem with this tool? Let us know through the Contact page.
Read more about me →