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
📌 Требования: Python 3.10 или выше. При установке в Windows отметьте "Add Python to PATH".
pip install customtkinter pillow pyzbar opencv-python mss
🐧 Linux / macOS: Также понадобится нативная библиотека zbar:
# Ubuntu / Debian
sudo apt install libzbar0
# macOS
brew install zbar
python Google_auth_extractor.py
💡 Windows с несколькими версиями Python:
C:\Python311\python.exe Google_auth_extractor.py
Или создайте файл run.bat:
python "%~dp0Google_auth_extractor.py"
pause
Откройте Google Authenticator → меню (⋮) → Перенос аккаунтов → Экспорт аккаунтов → выберите аккаунты → появится один или несколько QR-кодов (максимум 10 аккаунтов на QR-код).
Отсканируйте QR-код → скопируйте URL otpauth-migration://offline?data=... → вставьте его → Извлечь аккаунты
Скриншот QR-кода → Выбрать изображение → Считать QR-код и извлечь
Покажите QR-код → Выбрать область → нарисуйте прямоугольник → автоматическое извлечение
💡 Если у вас больше 10 аккаунтов, повторите процесс для каждого QR-кода. Аккаунты накапливаются, а дубликаты игнорируются.
Когда все аккаунты окажутся в списке, нажмите кнопку нужного формата:
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 требует нативных библиотек. В случае сбоя автоматически используется opencv-python в качестве резервного варианта.