← All Tools
TOTP 2FA Code Generator
Generate time-based one-time passwords (RFC 6238) for testing 2FA
Secret Key
Algorithm
SHA-1 (default)
SHA-256
SHA-512
Digits
6 digits
7 digits
8 digits
Period (seconds)
Random Secret
Current Code
------
Click to copy
Expires in --s
Details
Counter (T)
-
Epoch Time
-
Algorithm
-
Secret (hex)
-
Recent Codes
Codes will appear here as they rotate
Copied!