otpauth-migration

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

Library for converting between otpauth-migration URIs (Google Authenticator transfer format) and standard otpauth URIs. Current version 1.0.0. Provides bidirectional conversion: decode migration URIs into individual otpauth URI strings, and encode a list of otpauth URIs back into a migration URI. Uses TypeScript with full type definitions. Designed for browser and Node.js (ESM/CJS). No runtime dependencies. Key differentiator: dedicated converter for the migration format used by Google Authenticator and compatible apps, filling a gap not covered by more general OTP libraries.