Exporta tus cuentas TOTP de Google Authenticator a TXT, Aegis, 2FAS o CSV.
Export your Google Authenticator TOTP accounts to TXT, Aegis, 2FAS or CSV.
Google Authenticator exporta las cuentas en un formato propietario (otpauth-migration://) que ninguna otra app puede leer directamente. Cada código QR contiene hasta 10 cuentas. Esta herramienta decodifica esos QR y extrae las claves TOTP para que puedas importarlas donde quieras.
Google Authenticator exports accounts in a proprietary format (otpauth-migration://) that no other app can read directly. Each QR code holds up to 10 accounts. This tool decodes those QR codes and extracts the TOTP secrets so you can import them anywhere.
git clone https://github.com/joseqwrtt/Google_auth_extractor.git
cd Google_auth_extractor
📌 Requirements: Python 3.10 or higher. During installation on Windows, check "Add Python to PATH".
pip install customtkinter pillow pyzbar opencv-python mss
🐧 Linux / macOS: You also need the native zbar library:
# Ubuntu / Debian
sudo apt install libzbar0
# macOS
brew install zbar
python Google_auth_extractor.py
💡 Windows with multiple Python versions:
C:\Python311\python.exe Google_auth_extractor.py
Or create a run.bat file:
python "%~dp0Google_auth_extractor.py"
pause
Open Google Authenticator → menu (⋮) → Transfer accounts → Export accounts → select the accounts → one or more QR codes will appear (max 10 accounts per QR).
Scan the QR → copy the otpauth-migration://offline?data=... URL → paste it → Extract accounts
Screenshot of the QR → Select image → Read QR and extract
Show the QR → Select region → draw a rectangle → automatic extraction
💡 If you have more than 10 accounts, repeat the process for each QR. Accounts accumulate and duplicates are ignored.
Once all your accounts are in the list, click the button for the format you need:
pip install pillow pyzbar opencv-python mss
sudo apt install libzbar0 # Ubuntu
brew install zbar # macOS
C:\Python311\python.exe -m pip install customtkinter pillow pyzbar opencv-python mss
pyzbar requires native libraries. If it fails, opencv-python is used as an automatic fallback.