Move Google Authenticator 2FA Codes to Another App
Microsoft Authenticator and 1Password can't read Google Authenticator's export QR code. Split it into standard per-account QR codes, check the codes match, and make a paper backup.
Contents
You get a new phone and decide to switch your two-factor authentication app from Google Authenticator to Microsoft Authenticator at the same time. Google Authenticator has a “Transfer codes” feature that shows a QR code. You point Microsoft Authenticator’s QR scanner at it, and either nothing happens or it says the QR code is invalid.
Nothing is broken. Google Authenticator’s export QR code bundles many accounts into one code in a Google-specific format, and only Google Authenticator itself and a few apps that support that format can read it. What Microsoft Authenticator and 1Password read is the other kind of QR code: the one-account code that a service shows on its screen when you set up two-factor authentication.
The 2FA migration tool unpacks that bundled QR code inside your browser and splits it back into ordinary QR codes, one per account. Below, using the English version of the tool, I go from loading the export QR code to registering the accounts in the new app, sorting out codes that don’t match, and making a paper backup. The accounts and secret keys used here are made up.
An export QR code is a bundle of accounts
Before the steps, it helps to see why the codes need splitting. The six-digit code an authenticator app shows is calculated from a “secret key” shared by the service and your device plus the current time, following RFC 6238 (TOTP). The QR code a service shows during setup is that key written as a single line of text like this:
otpauth://totp/GitHub:taro@example.com?secret=JBSWY3DPEHPK3PXP&issuer=GitHub
This otpauth:// format was published by Google, and almost every authenticator app can read it. The QR code from Google Authenticator’s “Export codes”, on the other hand, starts with otpauth-migration://offline?data=, followed by the keys, names and settings of several accounts packed with Protocol Buffers and then encoded in Base64. This format is not documented, so few apps can read it. Apps with an “import from Google Authenticator” feature, such as Aegis or 2FAS, read it directly, but to move to Microsoft Authenticator, 1Password and the like you have to turn it back into one otpauth:// line per account.
That conversion is all the tool does. It doesn’t guess keys or contact any service. Keys you load disappear when you close the page and are never sent anywhere.
Show “Export codes” in Google Authenticator
First, show the export QR code on the phone you are moving away from. In Google Authenticator’s menu, choose Transfer codes → Export codes (the labels follow your phone’s language), unlock the screen, tick the accounts to move and press Next.
The tricky part is getting that QR code into the tool. On Android, screenshots of this screen are blocked and usually come out black. So the normal approach is to open the tool on a device other than the phone.
- On a computer: hold the phone’s screen up to the laptop’s camera.
- On a second phone: if you are changing phones, open the tool on the new phone and point it at the old phone’s screen.
Either way, press “Scan with camera” and allow camera access, and the code is read as soon as it is in view. If you managed to take a screenshot on an iPhone, or you have the text from another QR reader, you can also load it by choosing an image file, pasting an image (Ctrl+V) or pasting the text.
If the export is split into several QR codes, keep going until all are read
When you move many accounts, the export is split into several QR codes that you step through with Next. If you read only the first one and stop, the accounts in the second and later codes are left behind. The tool reads the “code X of Y” information inside each export QR code and shows which numbers are still missing.
In this example, I used an export that split five accounts across two QR codes. Loading the first one adds three accounts and shows that the second code is still missing.

Press Next in Google Authenticator and show the second code, and the remaining two accounts are added. The box turns green and says “all 2 read”. Scanning the same QR code several times never adds the same account twice.

In the new app, scan one QR code per account
The loaded accounts are listed under “Loaded accounts”. Each one shows the service and account name, the current verification code, the seconds left and the next code. You can edit the service and account names here, and the edited names are what the new app receives. It is worth fixing them for accounts that had no name in Google Authenticator, or when several accounts from the same service are hard to tell apart.

In the new app, choose to add an account by scanning a QR code, then press “Show QR code” in the tool and point the camera at it. In Microsoft Authenticator that is Add account → Other (Google, Facebook, etc.); in 1Password, scan the QR code from the one-time password field of a login item.
Once it is registered, compare the six digits in the new app with the verification code in the tool. If they are the same, that account has moved successfully. If the new app runs on the same device as the tool and you can’t point a camera at the QR code, tick “Show secret keys”, press “Copy key” and paste it into the new app’s “enter a setup key” option.
Don’t delete anything from Google Authenticator until you have confirmed a match for every account. If you delete the old copy first and an entry in the new app is wrong, you will not be able to sign in to that service. Then your only options are to dig out the recovery codes you saved during setup or go through the service’s identity verification.
If the codes don’t match, suspect the clock first
When the code in the new app differs from the tool’s, there are two broad causes: a device clock is off, or the key or settings didn’t come across correctly. TOTP codes change every 30 seconds, so a clock that is just 30 seconds off shows the previous code.
Enter the new app’s code in the account’s “Check a code” field, and the tool shows which time step it matches, up to two before or after (±60 seconds). In the example below, while the displayed code was 380 444, I entered 538910, the code from the previous time step.

A message like “this is the code from 1 time step earlier (about 30 seconds). The device or server clock is off” means the key came across correctly and one of the devices has the wrong time. Setting the device’s date and time to automatic fixes it. If the code matches no time step at all, either the key was misread or the hash function or number of digits is different. The quickest fix is to delete the entry in the new app and add it again from the QR code.
This check also helps if you have built two-factor authentication into your own web service. When the codes from your server and the ones on your phone disagree, it tells you whether the clock or the implementation is to blame. Enter the key in the tool’s “Add from a secret key and check codes” section and you can do the same without any export QR code.
While you’re at it, make a paper backup
The real trouble with two-factor authentication is not migration but losing your phone. If the authenticator app is your only copy, you will have to go through recovery at every service. With the keys on paper, you just scan the QR codes again on the new device.
Press “Print QR codes” for a print view that lists the QR code, service name, account name and secret key of every account. They are laid out in three columns on A4 paper, and the five accounts in this example fit in a little over the top half of one page.

That sheet is also a bundle of spare keys: anyone who knows your passwords can use it to pass two-factor authentication. Keep it in a locked place, separate from any note with your passwords. For the same reason, files made with “Save as text” or “Save as CSV” should be attached to your password manager or stored somewhere similar, and then deleted from your Downloads folder.
What this tool can’t move
Finally, some things never travel in an export QR code. Before migrating, check whether any of your services rely on them.
- Codes sent by SMS or email, and push approvals: these are tied to your phone number or account rather than the device, so register again from each service’s settings on the new device. Microsoft Authenticator’s sign-in approvals work the same way.
- Passkeys: a different mechanism from authenticator codes, and not included in the export QR code.
- Steam Guard and other proprietary code formats: the key can be loaded, but the codes shown won’t match the service.
Also note that if you use Google Authenticator signed in to your Google account, signing in with the same account on the new phone syncs your codes. If you are only changing phones and keeping Google Authenticator, you don’t need an export at all. This tool earns its place when you move to an app outside Google, or when you want a backup in your own hands instead of relying on sync.