What is the 2FA Secret and QR Code Generator?
Setting up two-factor login for your own app or service? Generate a random secret and a QR code that authenticator apps can scan, along with the otpauth link and the secret in text.
Features
Scannable QR
Works with common authenticator apps.
Random secret
Made with secure browser randomness.
How to use the 2FA Secret and QR Code Generator
- 1
Type the site name and the account.
- 2
Scan the QR code with your 2FA app.
- 3
Check the app shows the same code as this page.
Who it is for
App developers
Test 2FA enrolment.
Tips for better results
- Store the secret safely on your server; anyone with it can make valid codes.
Questions people ask
Is it free?
Yes, free and private.
Is what I type sent anywhere?
No. Everything runs in your own browser with its built-in cryptography. Nothing is sent to our server or saved.
Is the secret random?
Yes. It is 160 random bits from your browser's secure random source, the length the 2FA standard (RFC 6238) recommends.