# Import time-based codes from Google Authenticator

[Read this guide on KeySigner](https://keysigner.io/integrations/guides/import-codes-from-google-authenticator/)

Copy a test account’s time-based sign-in code into KeySigner, then check that the original service accepts a fresh code.

## Before you start

**KeySigner for iPhone or Mac with Google Authenticator import**

- Unlock Sign-in codes and use a disposable account with its own recovery option. Have a second screen for the export QR code or a private local QR image. Have the signers you need to approve a code.

## Data and access

- **Shared or checked**. The test export carries a time-based code enrollment into KeySigner. The service checks the generated code for the original account.
- **Check separately**. Google Authenticator keeps its copy. A provider reset is needed if you want to invalidate the old enrollment.

## 1. Export a test account

On iPhone, open Google Authenticator and choose Transfer accounts, then Export accounts. On Android, choose Transfer codes, then Export codes. Select only the test account. Keep its QR code private because it contains the information needed to generate codes.

**Check.** Only the test account is selected. The source account is still listed in Google Authenticator.

## 2. Add the export to KeySigner

In KeySigner, open Accounts, choose Add (+), then Sign-in codes and backup. Unlock, choose Add account, then Import from Google Authenticator. Choose Scan export QR code or Choose export QR image. If Google Authenticator made more than one code, add every QR code from that same export before choosing Review accounts.

**Check.** The review opens after KeySigner has received every QR code from the same export.

## 3. Review and import

Check the issuer and account name next to Ready to import. Choose Import ready accounts. Bulk import skips duplicates and unsupported entries. Leave counter-based (HOTP) accounts in Google Authenticator for this test. The separate HOTP transfer requires confirming the next counter with the service and retiring older copies.

**Check.** The expected account shows Imported. Check the other review statuses separately before leaving the import screen.

## 4. Verify on the original service

Return to Sign-in codes, choose Show code for the test account, and complete code approval. Use it to sign in to the original service. Keep the Google Authenticator copy and your independent recovery option available while you test.

**Check.** The original service opens a fresh session for the same account, and Google Authenticator still has its original copy.

![KeySigner’s Import accounts screen offers Scan export QR code and Choose export QR image. Review accounts is disabled until a code is added.](https://keysigner.io/integrations/guides/import-codes-from-google-authenticator/keysigner-import-accounts.png)

KeySigner on Mac before an export is added.

## Check your result

KeySigner shows Imported for the time-based test account, and the service accepts a fresh KeySigner code. The source account is still available in Google Authenticator.

[How to verify your setup](https://keysigner.io/integrations/verify-a-setup/)

## If you get stuck

### The export is incomplete or the account is skipped

Start with a fresh export and make sure every QR code you added came from that one export. If an account already exists in KeySigner, verify its code first. If the service rejects the fresh code, use your source app or recovery option to regain access and confirm the correct account and device time.

- [Add every QR code from the same export once, then review again.](https://keysigner.io/integrations/setup-messages/#missing-export-qr)
- [Already in KeySigner or repeated in export; skipped](https://keysigner.io/integrations/setup-messages/#repeated-export-account)
- [The reviewed data or your accounts changed. Review again.](https://keysigner.io/integrations/setup-messages/#review-changed)
- [This export has an older counter. Re-enroll this account with its service instead.](https://keysigner.io/integrations/setup-messages/#older-counter)
- [Could not confirm whether the counter advanced. Check with the service before requesting another code.](https://keysigner.io/integrations/setup-messages/#counter-unconfirmed)

## Tools in this guide

- [Google Authenticator](https://keysigner.io/integrations/google-authenticator/)
  - [Setup requirements](https://keysigner.io/integrations/setup-requirements/#google-authenticator)

## Setup instructions

- [Export Google Authenticator accounts on iPhone or iPad](https://support.google.com/accounts/answer/1066447?co=GENIE.Platform%3DiOS&hl=en)
- [Export Google Authenticator codes on Android](https://support.google.com/accounts/answer/1066447?co=GENIE.Platform%3DAndroid&hl=en)
- [Copy codes from 1Password, KeePass or KeePassXC](https://keysigner.io/integrations/guides/test-sign-in-code-import/)
- [Set up a new sign-in code with the service](https://keysigner.io/integrations/guides/set-up-a-time-based-sign-in-code/)

[More guides for this task](https://keysigner.io/integrations/tasks/import-sign-in-codes/)
