Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



29 Commits

Repository files navigation

Generate time-based one time passwords in the browser


This page lets you easily generate a time-based one time password (TOTP) entirely in the web browser in case you ever lose access to your phone.

It uses the excellent otpauth package, downloaded from

Providing parameters in the URL

Private key

You can provide the key in the URL using the URI fragment or a query parameter, for example: or

Additional parameters

You can also pass the token digits, period and algorithm using a query string in the URL, for example:

See supported hashing algorithms for the complete list.

Import using QR codes

To make it easier to import Authy entries into another authenticator app, generate QR codes using my QR code generator.

Other Resources