TOTP Code Generator
Two-factor codes from a secret, plus a setup QR code
Runs on your device
How to use TOTP Code Generator
Set the options: “Secret”, “Account”, “Issuer”, “Digits” and more. Reset puts them back.
The result updates as you go. Copy it or download it.
About TOTP Code Generator
Two-factor codes from a secret, plus a setup QR code.
TOTP Code Generator: common questions
Is TOTP Code Generator free?
Yes. There's no sign-up, no limit on how often you use it and no watermark.
Is what you enter uploaded anywhere?
No. TOTP Code Generator works on this device only, so what you enter stays private. You can even turn off the internet once the page is open.
What can I change?
6 settings, including “Secret”, “Account”, “Issuer”, “Digits”, “Period” and “Algorithm”. Every setting has a sensible default, and Reset puts them all back.
Does it work on a phone?
Yes, in any current browser on Android, iPhone, iPad and desktop.
More security tools
- Password GeneratorStrong random passwords with an entropy estimate
- Passphrase GeneratorMemorable multi-word passphrases
- Password Strength CheckerHow strong a password is, checked on this device only
- Random String GeneratorRandom strings from any character set
- Secret Key Generator256-bit keys as hex, Base64 or Base64URL (for JWT, sessions, APIs)
- Random Hex GeneratorRandom hex strings of any length
- Random Base64 GeneratorRandom bytes as Base64, standard or URL-safe
- PIN GeneratorRandom PINs that avoid easy patterns
- EXIF ViewerSee exactly what your photos reveal: camera, time, GPS
- EXIF RemoverRemove location, camera and other hidden details from photos, all of them or the ones you choose, without recompressing
- EXIF EditorWrite the author, copyright, caption, date taken or location into photos, without recompressing
- Text RedactorBlack out emails, phone numbers, cards, IDs and names you list