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: Python 3.10 ou superior. Durante a instalação no Windows, marque "Add Python to PATH".
pip install customtkinter pillow pyzbar opencv-python mss
🐧 Linux / macOS: Você também precisa da biblioteca nativa zbar:
# Ubuntu / Debian
sudo apt install libzbar0
# macOS
brew install zbar
python Google_auth_extractor.py
💡 Windows com várias versões de Python:
C:\Python311\python.exe Google_auth_extractor.py
Ou crie um arquivo executar.bat:
python "%~dp0Google_auth_extractor.py"
pause
Abra o Google Authenticator → menu (⋮) → Transferir contas → Exportar contas → selecione as contas → aparecerá um ou mais QR (máximo 10 contas por QR).
Escaneie o QR → copie a URL otpauth-migration://offline?data=... → cole-a → Extrair contas
Captura de tela do QR → Selecionar imagem → Ler QR e extrair
Mostre o QR → Selecionar região → desenhe um retângulo → extração automática
💡 Se você tiver mais de 10 contas, repita o processo para cada QR. As contas se acumulam e os duplicados são ignorados.
Com todas as contas na lista, clique no botão do formato que precisar:
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
O pyzbar requer bibliotecas nativas. Se falhar, o opencv-python é usado automaticamente como alternativa.