Dev Utils
TOTP Generator
Generate live TOTP codes from a secret or QR code, for testing 2FA integrations.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type TOTP Generator and press Return.
- Import a setup QR code: drop a screenshot of it onto Import from QR Code, or use Choose Image… or Paste Image.
- Or fill in Account Details yourself: account, issuer and the Base32 secret.
- Match your server's settings: Algorithm (SHA1, SHA256 or SHA512), Digits (6 or 8) and Period. Most services use SHA1, 6 digits and 30 seconds, which are the defaults.
- Read the live code. A countdown shows when it changes.
- Use Copy Code, or Copy Setup URI for the otpauth:// link.
Built for testing two-factor setups while you develop. Secrets stay in memory for the current session and are never saved to disk, so keep using your regular authenticator for real accounts.
This tool has its own screen in the app, so it isn't available from the command line.
Quick Switch also finds it by: totp, 2fa, mfa, authenticator, otp, hotp, qr, otpauth.
More Dev Utils tools
QR CodeGenerate QR codes from text, URLs, or dataCron ParserParse cron expressions and show next execution timesGit Branch NameGenerate standardized git branch names from descriptionsSemver ComparatorParse, compare, and bump semantic versionsASCII ArtGenerate ASCII art text bannersHTTP StatusLook up HTTP status codes and their meanings