Skip to content
Takikit

TOTP 2FA Code Generator

Generate a 6-digit code that changes every 30 seconds from a 2FA secret key, to test two-factor authentication integrations.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use it when building a two-factor authentication integration and you need to check codes, or to get a code temporarily when your phone is not at hand. Keep the 2FA secret key private, like a password.

How to use

  1. Paste a Base32 secret key or generate a new one.
  2. See the current code and the time left.
  3. Click to copy the code.

Frequently asked questions

Is the data I enter sent anywhere?

No. All calculations and processing run in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.

Related tools

More Security tools

See all security & privacy tools