crowned.tools

TOTP Code Generator

Two-factor (2FA) codes from a secret key.

your code will appear here

Advanced
Digits
Period
Algorithm

Almost every service uses 6 digits, 30 seconds and SHA-1. Change these only if the service says so.

Your secret never leaves this page. Don't use this for accounts you can't afford to lose access to, and never share a secret key with anyone.

How it works

  1. Paste the secret key from the service's 2FA setup page (the text shown instead of the QR code). Spaces, dashes and lower case are fine.
  2. The current code appears with a countdown line and changes by itself when the time runs out. The next code shows in the last 5 seconds.
  3. Click the code to copy it. Open Advanced only if the service says it uses 8 digits, a 60-second period, or SHA-256 or SHA-512.

Privacy

This tool makes no network requests. Your secret key is kept only in this page's memory: it isn't saved in your browser, put in the address bar or sent anywhere, and it's cleared when you leave the page. Codes are worked out with your browser's built-in cryptography, and it keeps working even if you go offline after the page loads.

Secret keys use Base32: letters A–Z and digits 2–7, 16 to 64 characters (usually 16 or 32). Spaces and dashes are ignored.

Codes depend on your device's clock. If a code is rejected, check that your clock is set automatically.

More tools