2FA QR Code Reader
Runs in your browser. Nothing is sent to us. Is it safe?
When a website sets up two-factor authentication, it shows a QR code. This tool reads that code with your camera or from an image, and shows you your first working code straight away. Saving the account is optional. Everything is processed in your browser, and nothing is uploaded.
What a 2FA QR code really is
A 2FA QR code is not special. It is a way of carrying a line of text that an authenticator can read quickly. That text starts with otpauth:// and contains your secret key plus the settings the service wants. Scanning is just a faster way of copying the key without typing it.
That tells you two useful things. First, if you cannot scan, there is always a text version of the key on the same screen. Second, the picture is the secret. A photo or screenshot of the code is as sensitive as a password.
How to scan a 2FA QR code
- Start the 2FA setup on the website and choose "authenticator app". The service shows a QR code.
- Open this reader and choose how to scan:
- Camera: allow camera access when your browser asks, then point it at the QR code on another screen or on paper.
- Upload, paste or drop: if the code is on the same device, take a screenshot, then upload the file, paste the image, or drop it on the page.
- Get your code. The reader picks out the code and the 6-digit code appears at once, with a countdown.
- Check the details (name and issuer) to be sure it is the account you expect.
- Copy and confirm. Press the big Copy button and enter the code on the website to finish. No account or passphrase is needed. Press "Save to my accounts" only if you want to keep it in the optional encrypted vault.
- Delete any screenshot you made, and empty the trash or recently deleted folder.
Scanning tips that save time
- Light and glare. Tilt the screen to avoid reflections, and turn the brightness up.
- Size. Make the QR code bigger on screen, or move closer. A very small code loses detail.
- Steady hands. Rest the phone or prop it against something.
- Both screens. If the QR code is on a laptop and you are scanning with a phone's browser, keep the QR code fully in view with some blank border around it.
- Plain background. Close extra windows over the code.
If the scan fails
If the code will not read after a few tries, look for the text alternative on the website, often called "can't scan the code?" or "enter a setup key". Paste that key into the 2FA code generator instead. If the website gave you a link starting with otpauth://, the otpauth URI decoder will break it into its parts.
What the reader does and does not handle
| Format | Supported |
|---|---|
Single-account otpauth://totp/... QR codes |
Yes |
Single-account otpauth://hotp/... QR codes |
Yes |
| Codes carrying non-default digits, period or algorithm | Yes, the settings are read from the code |
| Bulk migration or export QR codes from other apps | {{migration_qr_support}} |
| QR codes that are not 2FA codes (web links, Wi-Fi, contacts) | No, they are ignored |
Using the same QR code twice
A QR code from a service stays valid while that 2FA setup is active. If you scan it on two devices, both will produce valid codes. That can be handy for a spare device, but it also means anyone who scanned it can do the same. When you disable and re-enable 2FA, the service issues a new code and the old one stops working.
Why a browser reader, and is it safe
Reading a QR code does not need a server, so ours does not use one. The camera feed or image is decoded in your browser, and the secret stays in page memory only until you press Clear or leave the page. If you choose to save the account, it is encrypted with your passphrase (PBKDF2-SHA256 and AES-GCM-256) and stored only on your device. This page has no ads and no analytics. To see it for yourself, open your browser's network panel while you scan: nothing should be sent. The steps, and an honest list of limits, are in Is it safe?.
One limit applies to every authenticator: a QR code shown on a compromised computer can be copied by malware. Only scan codes you requested yourself, from the real website.
After you scan
- Save the website's recovery codes.
- If you use the vault, make an encrypted backup of it.
- Keep the instructions for adding more accounts: our step-by-step guides show where each service puts its QR code.
Frequently asked questions
How do I scan a 2FA QR code on my computer?
Allow camera access and hold your phone, or another screen showing the QR code, up to your webcam. If the QR code is on the same computer screen, take a screenshot and read the image instead, then delete the screenshot.
What is inside a 2FA QR code?
A text link starting with otpauth://. It holds the secret key and the settings the service wants: the account name, the issuer and, where they are not the defaults, the digits, period and algorithm.
Is my QR code uploaded anywhere?
No. The image or camera frame is read in your browser and nothing is sent to our server. You can confirm this in your browser's network panel.
Why will the QR code not scan?
Common causes are glare, a small or blurry code, a screen that is too dim, or a camera that is too close or too far. Try better lighting, enlarge the code, hold steady, or use a clear screenshot instead.
Can I turn a QR code into a secret key?
Yes. Reading the QR code reveals the secret key. You can add the account directly, or open the otpauth URI decoder to see and copy the key.
Should I keep a screenshot of the QR code as a backup?
No. A QR code is the same as the secret itself, and anyone who gets the picture can generate your codes. Make an encrypted backup of your vault instead, and delete screenshots.
Does it read QR codes from other authenticator apps' exports?
Single-account QR codes in the standard otpauth format are supported. Bulk export formats used by some apps are different. {{migration_qr_support}}
Does this work on iPhone and Android?
Yes, in a modern browser that allows camera access. If the camera is blocked, you can read a saved image instead.
Save accounts in an encrypted vault (optional)
Want your codes kept on this device? Create a vault protected by your passphrase. Skip it if you only need a code right now.