Skip to content

About

Web TOTP QR Code Decoder

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

TOTP QR Decoder

Decodes a 2FA QR code image, an otpauth:// URL, a Base32 secret or a Google Authenticator export QR code into live one-time codes. It runs in the browser and uploads nothing.

Use it at totp.onlyyaml.dev (Russian version).

Two accounts decoded from a Google Authenticator export QR code, each with a one-time code, a QR code, a Base32 secret and an otpauth:// URL

Run locally

Requires Node.js 20.19 or later in the 20 line, or 22.12 or later.

npm install   # installs the dependencies of web/
npm run dev   # serves http://localhost:3000

Open http://localhost:3000 and drop test/test-qr-30s.png onto the page. The page shows the account TestService1 with a six-digit code that changes every 30 seconds.

npm run build writes the production build to web/dist.

Links

About

Web TOTP QR Code Decoder

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Contributors

Languages