Home / Developer / TOTP / HOTP Generator
TOTP / HOTP Generator
Generate and check 2FA codes, and make QR codes for authenticator apps.
Free, no uploads, no sign-up. Runs 100% in your browser.
How TOTP / HOTP Generator works
Codes follow RFC 6238 and RFC 4226 using the otpauth library. Secrets are generated with the secure random generator, and the otpauth:// link and QR code work with common authenticator apps.
How to use TOTP / HOTP Generator
- Open TOTP / HOTP Generator and paste or type your input.
- Results update instantly as you type.
- Tweak options such as format, indentation or algorithm.
- Copy the output or download it as a file.
Tips
- Everything is computed locally. Safe for tokens, keys and private data.
- Use Ctrl/⌘ + K to jump between developer tools quickly.
TOTP / HOTP Generator FAQ
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- QR Code Generator: QR codes for links, Wi-Fi, vCards and text with colors and logo.
- Password Generator: Strong random passwords and passphrases with strength meter.
- BIP39 Mnemonic Generator: Generate and validate BIP39 seed phrases offline, in 10 languages, with the derived seed.
- JSON Formatter: Prettify, validate, minify and explore JSON as a tree.