All / Security

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.

  1. 1Paste the setup key or otpauth link, or drop a screenshot of the setup QR code.
  2. 2Compare the code shown with your authenticator app.
  3. 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