TOTP Code Generator
Security ToolsGenerate 2FA codes from a Base32 secret
Embed this tool on your websiteFree
- Choose how tall the frame should be.
- Press Copy code.
- Paste it into your page, blog, WordPress or Notion HTML block.
The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.
Similar tools you may like
History
All history →TOTP Code Generator — at a glance
Generate 2FA codes from a Base32 secret.
How to use it — step by step
Just your input — nothing to install or sign up for.
Enter your values
Fill in the boxes. Sample values are already there so you can see how it works.
Calculate
Press the button to get your answer instantly.
Read the result
The main answer is shown in a large card with extra details below it.
Copy it
Use the copy button to save the result anywhere.
Pro tips
Small things that make the result better.
Quick facts
Frequently Asked Questions
What is TOTP Code Generator?+
Generate the current 6-digit two-factor authentication (TOTP) code from a Base32 secret key, the same algorithm used by Google Authenticator. Useful for testing 2FA setups.
How do I use TOTP Code Generator?+
Open TOTP Code Generator on this page, then: 1. Enter your values 2. Calculate 3. Read the result 4. Copy it. Everything runs in your browser on a phone or computer.
Is my data safe?+
Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.
Is this tool really free?+
Yes — completely free, no signup, no watermark and no usage limit.
Also searched as: totp generator · 2fa code generator · totp online · google authenticator online · base32 secret to code · two factor code generator

