A Python script to decode QR codes exported from Google Authenticator's "Transfer accounts" feature.
- Export QR code from Google Authenticator (Three dots → Transfer accounts → Export accounts)
- Save the QR code as an image
- Modify
INPUT_IMAGEin the script:INPUT_IMAGE = "your_qr_image.png"
- Run the script:
python google_auth_transfer_decoder.py
- Account issuer and name
- Secret key (Base32)
- OTP type (TOTP/HOTP)
- Current verification code (for TOTP)
- otpauth:// URL
- QR code printed in terminal
Auto-installed on first run:
- pyzbar
- pillow
- qrcode
- libzbar0