Google Authenticator Exporter is a tool to decode and export OTP (One-Time Password) codes from Google Authenticator OTPAuth migration URLs.
Google Authenticator is a popular app for generating OTP codes for two-factor authentication (2FA). When you set up 2FA for an account using Google Authenticator, it provides you with an OTPAuth migration URL for backup purposes. This tool allows you to decode and export OTP codes from those migration URLs so you can import them back to another app or just for backup.
Key features:
- Decodes OTPAuth migration URLs.
- Exports OTP codes to a readable format.
- From Google Authenticator app press the menu and select export accounts
-
Select the accounts you want to export.
-
When QR codes step is shown, please notice if you have multiple codes see in the next screenshot
-
From another phone scan the QR code and select save a txt file.
-
Transfer the txt files to your computer.
The best option is to go to the releases section and download the release matching your opearating system.
https://github.com/yehudah/google-authenticator-exporter/releases/latest
No matter which installation method you choose, you must put your backup txt files in the code folder.
To use Google Authenticator Exporter, you'll need to have Go (Golang) installed on your system.
- Clone this repository to your local machine:
git clone https://github.com/yehudah/google-authenticator-exporter.git
- Change directory to the repository folder
cd google-authenticator-exporter
- Run the Golang command line
go run .
To use the Google Authenticator Exporter, run the following command:
./google-authenticator-exporter
This project is licensed under the MIT License. See the LICENSE file for details.
This development was inspired by the code located here: https://gist.github.com/mapster/4b8b9f8f6b92cc1ca58ae5506e0508f7