/ utilidad gratuita · código abierto

Google Auth Extractor

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.

Python 3.10+ Windows macOS Linux MIT
/ motivo

¿Por qué existe esta herramienta?

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.

/ características

Todo lo que incluye.

Pegar URL otpauth-migration:// directamente
Subir imagen o captura del QR
Escanear región de pantalla con el ratón
Acumula cuentas entre escaneos
Deduplicación automática
Copiar Emisor, Nombre o Clave
Interfaz en Español e Inglés
Borrar lista para empezar de cero
Exportar a TXT, Aegis, 2FAS, CSV
100% local — ningún dato sale del equipo
/ capturas

La herramienta en uso.

La herramienta en uso. La herramienta en uso. La herramienta en uso. La herramienta en uso. La herramienta en uso.
/ instalación

Instalación.

1. Clona el repositorio / Clone the repo
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".

2. Instala las dependencias / Install dependencies
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
/ uso

Cómo se ejecuta.

Ejecutar / Run
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
/ guía

Paso a paso.

01

Exportar desde Google Authenticator

Abre Google Authenticator → menú (⋮) → Exportar cuentas / Transfer accounts → Export accounts → selecciona las cuentas → aparecerá uno o varios QR (máximo 10 cuentas por QR).

02

Importar en la app (elige un modo)

🔗 Modo URL

Escanea el QR → copia la URL otpauth-migration://offline?data=... → pégala → Extraer cuentas

🖼️ Modo imagen

Captura de pantalla del QR → Seleccionar imagen → Leer QR y extraer

📷 Modo escaneo pantalla

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.

03

Exportar

Una vez con todas las cuentas en el listado, pulsa el botón del formato que necesites:

TXT · .txt Aegis · .json · Android 2FAS · .2fas · Android/iOS CSV · Bitwarden, 1Password
/ dependencias

Qué usa por dentro.

customtkinter — interfaz gráfica pillow — lectura de imágenes pyzbar — decodificación QR (principal) opencv-python — decodificación QR (fallback) mss — captura multi-monitor
/ ayuda

Solución de problemas.

El escáner de pantalla no funciona

pip install pillow pyzbar opencv-python mss
sudo apt install libzbar0   # Ubuntu
brew install zbar           # macOS

Varias versiones de Python en Windows

C:\Python311\python.exe -m pip install customtkinter pillow pyzbar opencv-python mss

Error al importar pyzbar en Windows

pyzbar requiere librerías nativas. Si falla, opencv-python se usa como alternativa automáticamente.

/ seguridad

Sin conexión a internet.

Sin conexiones de red · No network connections
Claves TOTP solo en tu equipo · TOTP secrets stay local
Código fuente auditable · Full source available

Licencia MIT.

Úsalo, modifícalo y distribúyelo libremente.

Ver repositorio →