A simple tool to migrate TOTP (Two-Factor Authentication) codes from Apple Passwords to another authenticator app by generating QR codes.
- Load TOTP codes from Apple Passwords CSV export
- Display QR codes for each TOTP entry
- Export individual QR codes as PNG files
- Export all QR codes to a single PDF for easy printing
pip3 install -r requirements.txtInstructions are accurate as of macOS Sequoia 15.6.1.
- Open Safari > File > Export Browsing Data to File...
- Turn off all the switches in the pop-up window except for "Passwords". Click Export and follow the prompts to save the file.
- Extract Passwords.csv out of the saved .zip file.
python3 main.py- Click Browse and select your exported CSV file
- The tool will automatically filter and load entries with TOTP codes
- Use Previous/Next buttons to navigate between entries
Individual PNG Files:
- Click Export All QR Codes
- Choose a folder to save PNG files
- Each QR code is saved with the website name as filename
PDF Export:
- Click Export PDF
- Choose a folder to save the PDF
- All QR codes are arranged in a printable format (4 per page)
- Open your new authenticator app (Google Authenticator, Authy, etc.)
- Scan the QR codes displayed on screen or from exported files
- Your TOTP codes are now migrated!
To prevent unwanted people finding the passwords on your desktop, it is recommended to permanently delete the passwords after you are done migrating your TOTP codes.
- Only entries with valid OTPAuth data will be loaded
- QR codes contain the complete TOTP configuration including secrets
- Keep exported files secure and delete them