TOTP / 2FA Code Generator implements RFC 6238. Give it the base32 secret from a service's two-factor setup and it shows the current code and the seconds left before it changes.
It runs entirely in your browser. The secret is not sent anywhere. Treat this as a testing aid or a backup, not a place to store the secret long term.
It is the string a service gives you when you set up two-factor authentication, often shown next to the QR code. It uses the letters A to Z and digits 2 to 7.
Check the digit count, period, and algorithm. Most services use 6 digits, a 30-second period, and SHA1. Also make sure your device clock is accurate.
The secret never leaves your browser. Still, anyone who has the secret can generate your codes, so only do this on a device you trust and clear the field when done.
It can generate the same codes, but an app keeps the secret in secure storage. Use this for testing or as a short-term backup.