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
📌 Requisitos / Requirements: Python 3.10 o superior. Durante la instalación en Windows, marca "Add Python to PATH".
pip install customtkinter pillow pyzbar opencv-python mss
🐧 Linux / macOS: También necesitas la librería nativa de zbar:
# Ubuntu / Debian
sudo apt install libzbar0
# macOS
brew install zbar
python Google_auth_extractor.py
💡 Windows con varias versiones de Python:
C:\Python311\python.exe Google_auth_extractor.py
O crea un archivo ejecutar.bat:
python "%~dp0Google_auth_extractor.py"
pause
Abre Google Authenticator → menú (⋮) → Exportar cuentas / Transfer accounts → Export accounts → selecciona las cuentas → aparecerá uno o varios QR (máximo 10 cuentas por QR).
Escanea el QR → copia la URL otpauth-migration://offline?data=... → pégala → Extraer cuentas
Captura de pantalla del QR → Seleccionar imagen → Leer QR y extraer
Muestra el QR → Seleccionar región → dibuja rectángulo → extracción automática
💡 Si tienes más de 10 cuentas, repite el proceso con cada QR. Las cuentas se acumulan y los duplicados se ignoran.
Una vez con todas las cuentas en el listado, pulsa el botón del formato que necesites:
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 requiere librerías nativas. Si falla, opencv-python se usa como alternativa automáticamente.