A powerful, user-friendly web application that allows you to scan, decode, and export Google Authenticator QR codes. This tool is perfect for migrating your 2FA tokens between devices or creating backups of your authentication secrets.
- π± Scan QR Codes: Directly scan QR codes using your device's camera
- π Migration Support: Process Google Authenticator migration QR codes containing multiple accounts
- π TOTP/HOTP Support: Compatible with both Time-based (TOTP) and Counter-based (HOTP) one-time passwords
- π² Mobile Optimized: Responsive design works great on both desktop and mobile devices
- π Secure: All processing happens locally in your browser - no data is sent to any server
- π€ Export Options: Export as JSON or generate new QR codes for individual accounts
- π Easy Copying: One-tap copying of OTP codes and secrets

Main interface showing a scanned authentication token

Multiple account selection from migration QR code
You can use the Google Authenticator Exporter online at: https://amirkabiri.github.io/google-authenticator-exporter/
The Google Authenticator Exporter utilizes several technologies to provide a seamless experience:
- Framework: Built with React and TypeScript for reliable, type-safe code
- OTP Implementation: Uses the
otpauth
library for TOTP/HOTP generation - QR Scanning: Implemented with the HTML5-QRCode library
- Protobuf Parsing: Decodes Google Authenticator's migration format using protobufjs
- Visit the app in your browser
- Allow camera access when prompted
- Scan a Google Authenticator QR code:
- Single account QR code
- Migration QR code (multiple accounts)
- Any standard otpauth:// QR code
- View your authentication details
- For TOTP accounts, watch the code refresh with the countdown timer
- Copy the code, secret, or export to your preferred format
Your security is our priority:
- All code runs entirely in your browser
- No data is ever sent to any server
- No analytics or tracking
- No cookies used
- Open source, so you can verify the security yourself
- Node.js 16+ or Bun
- npm, yarn, or bun
# Clone the repository
git clone https://github.com/amirkabiri/google-authenticator-exporter.git
cd google-authenticator-exporter
# Install dependencies
npm install
# or
yarn install
# or
bun install
# Start development server
npm run dev
# or
yarn dev
# or
bun dev
npm run build
# or
yarn build
# or
bun build
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Google Authenticator for the inspiration
- All the open-source libraries that made this project possible
- Everyone who has contributed to the project