Google Authenticator TOTP Generator

Generate Google Authenticator compatible TOTP codes from a Base32 secret key. Free, instant, 100% client-side with optional local browser storage.

100% Client-side Processing
Views
Secret Key Not saved

Accepts Base32 secrets and otpauth://totp URLs. Standard Google Authenticator settings are used: SHA-1, 6 digits, 30 seconds.

Current OTP 30s period
------

Frequently Asked Questions about Google Authenticator TOTP Codes

How do I generate a Google Authenticator code online?

Enter your Base32 secret key and the current 6-digit TOTP code is generated instantly in your browser. The code refreshes automatically every 30 seconds.

Is this Google Authenticator generator secure?

Yes, TOTP codes are calculated 100% client-side with the browser Web Crypto API. Your secret key is not uploaded or sent to any server.

Can I save my authenticator secret key locally?

Yes, you can choose to save the secret key in this browser's localStorage. It stays on the current device and can be deleted any time from the tool.

What secret key format does Google Authenticator use?

Google Authenticator commonly uses Base32 secret keys such as JBSWY3DPEHPK3PXP. This tool also accepts otpauth://totp URLs and extracts the secret parameter.

Does this TOTP generator work offline?

After the page is loaded, code generation works locally in your browser. It only needs your device clock to be accurate for the generated OTP to match.

Why is my authenticator code not working?

Check that the secret key is correct, your device clock is synchronized, and the service uses standard TOTP settings: SHA-1, 6 digits, and a 30-second period.