2FA Code Tester
Read a 2FA setup key or QR code and show the six-digit codes it makes, to check an authenticator setup or a clock problem.
Time-based codes (TOTP) only, with SHA-1, SHA-256, or SHA-512 and 6 to 8 digits. The key is kept only while this page is open. Codes depend on this device's clock.
- 1Paste the setup key or otpauth link, or drop a screenshot of the setup QR code.
- 2Compare the code shown with your authenticator app.
- 3Clear the key when you are done.
A setup key can make your login codes forever. Only test keys on your own device, and clear the box when you are done.
About this tool
Check that a two-step login setup works before you rely on it, or find out why codes keep failing.
- Accepts a setup key, an otpauth link, or a screenshot of the QR code
- Shows the current code, a countdown, and the next code
- Supports SHA-1, SHA-256, SHA-512 and 6 to 8 digits
- One button clears the key
Questions
- Why do my authenticator codes not work?
- Usually the phone's clock is a minute or more off. Set the date and time to automatic. If this page and your app show different codes at the same moment, one clock is wrong.
- Is it safe to paste a setup key here?
- The key is kept only in this open page, but anyone who sees it can make your codes. Test on your own device and clear the box afterwards.
- Can this replace my authenticator app?
- No. It forgets the key when you leave. Use an authenticator app or a password manager for daily logins.
Ratings
No ratings yet. The average shows after 3 ratings.
Ratings come from people using this tool. Nobody is paid or rewarded for them, and written reviews are checked for spam before they appear, not for whether they are positive.
Related tools
Password generatorGenerate a random password or a short passphrase on this device.- Has my password been leaked?Check a password against hundreds of millions of leaked passwords from Have I Been Pwned, sending only the first five characters of its hash.
- QR code scannerScan a QR code with your camera or read one from a screenshot, then check where a link goes before you open it.
- Password strength checkerSee how long a password would take to guess, which patterns make it weak, and how to make it stronger, as you type.
Encrypt a fileLock files or a whole folder with a password into one AES-256-GCM bundle. File names and folders are hidden inside the encryption, and you can keep the key in a separate file.
Hash and checksum generatorCompute the MD5, SHA-1, SHA-256, or SHA-512 hash of a file or a piece of text, so you can compare it with a published checksum. This is not HMAC.
File safety checkCheck a file for a program disguised as a document, data hidden after a picture, PDF scripts, Office macros, or a zip bomb. The bytes are read here, not opened in any program.
Website security checkLook up a public site's Mozilla Observatory grade for its security headers.