Authenticator batch import
Parses otpauth:// links, `account----secret` lines or CSV rows (name,secret,issuer) into an account list, then emits scannable otpauth-migration codes. Long lists are split into several codes with the full URI and account count per code, and unrecognized lines raise an error instead of being silently dropped.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Pure local computation; nothing is uploaded.
Enter input to see the result
Accounts: 0 · Codes: 0 · Skipped lines: 0
What this tool does
- Collect scattered otpauth links into one migration code for a single import.
- Turn legacy `account----secret` backups into scannable code content.
- Convert a CSV account table into migration codes instead of typing every entry by hand.
Example
Input
otpauth://totp/GitHub:[email protected]?secret=AAAAAAAAAAAAAAAA&issuer=GitHub otpauth://totp/Google:[email protected]?secret=BBBBBBBBBBBBBBBB&issuer=Google&algorithm=SHA256&digits=8 carol----CCCCCCCCCCCCCCCC
Output
Accounts: 3 Migration codes: 1 #1 (3 accounts) otpauth-migration://offline?data=CjMKEEFBQUFBQUFBQUFBQUFBQUESEWFsaWNlQGV4YW1wbGUuY29tGgZHaXRIdWIgASgBMAIKMQoQQkJCQkJCQkJCQkJCQkJCQhIPYm9iQGV4YW1wbGUuY29tGgZHb29nbGUgAigCMAIKHwoQQ0NDQ0NDQ0NDQ0NDQ0NDQxIFY2Fyb2wgASgBMAIQAQ%3D%3D Account list: 1. GitHub:[email protected] [TOTP SHA1 6 digits] 2. Google:[email protected] [TOTP SHA256 8 digits] 3. carol [TOTP SHA1 6 digits]
The codes are built with a hand-written otpauth-migration protobuf matching Google Authenticator’s export format; the secret field carries the Base32 text itself. The per-code account count mirrors Google Authenticator’s import limit.
Frequently asked questions
Why must every line be parseable?
Any non-empty line that cannot be parsed raises an error, so you never discover missing accounts only after importing; blank lines and the CSV header are just counted as skipped.
How many accounts go into one code?
Ten by default, matching Google Authenticator’s import limit; lowering it makes the QR code easier for a phone to scan.
Is the secret stored in clear text?
The code carries the Base32 secret in clear text because that is how Google Authenticator’s migration protocol works, so do not share or paste the result publicly.
Which algorithms and digit counts are supported?
Inputs may specify SHA1/SHA256/SHA512/MD5 and 6 or 8 digits; accounts without those fields use the defaults you pick in the controls.
Keywords:otpauth-migrationotpauthauthenticatorbatch import