FREE · DEVELOPER TOOLS
TOTP Code Generator.
Calculate RFC 6238 authentication codes from a Base32 secret and explicit settings.
How to use TOTP Code Generator
Enter the required text or settings and generate locally. Review the displayed algorithm and limits before copying or downloading.
How it works
Calculate RFC 6238 authentication codes from a Base32 secret and explicit settings. Generate again to refresh. Never share your actual authentication secret or its exported result. Web Crypto uses the browser’s secure random generator; pasted data is not sent to a server.
Example
The public RFC secret at Unix time 59 produces 94287082 with SHA-1 and eight digits.
Questions about TOTP Code Generator
Is TOTP Code Generator free, and do I need an account?
Yes. This tool is free to use in your browser without an account. Processing takes place on your device.
What are the limits and what should I check?
Generate again to refresh. Never share your actual authentication secret or its exported result. Review the result before using it in your work.
Is my input sent to a server?
Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.