On this page
Why extract the key?
A 2FA QR code is just a picture of a link such as otpauth://totp/Service:you?secret=KEY. Saving that key lets you add the account to a second device, keep an offline backup, or use a browser generator when your phone is not around.
How to use it
- When a site shows its 2FA QR code, take a screenshot.
- Drop the image above, press Ctrl+V to paste it, or scan with your camera.
- Copy the secret key and store it somewhere safe, such as a password manager.
- Finish setup on the site by entering the 6-digit code shown here.
Google Authenticator export codes
QR codes from Google Authenticator’s Transfer accounts screen start with otpauth-migration:// and can contain many accounts. This tool decodes them too. See the export decoder.
Frequently asked questions
Is the image uploaded?
No. The image is read with a canvas in your browser and decoded by a JavaScript QR library bundled with this site. It never leaves your device.
It says no QR code was found
Crop the screenshot closer to the code, make sure the whole code including its corners is visible, and avoid photos taken at an angle. Very small or blurry codes may not decode.
Should I keep screenshots of 2FA QR codes?
A QR code is as sensitive as a password, because anyone with it can generate your codes. If you keep one, store it encrypted (for example in a password manager) and delete it from your photo gallery and cloud photo backups.