OTP Generator is a free set of two-factor authentication tools that run entirely in your browser. We built it because people often need a 2FA code when their phone is not at hand, need codes for many accounts at once, or want to move accounts between authenticator apps, and most existing tools either ask for an account or process keys on a server.
Our principles
- Privacy first: keys never leave your device.
- Free: no sign-up and no paywall for the core tools. Ads keep the lights on.
- Honest: we explain the limits and risks, and we recommend proper backups.
- Standards-based: RFC 6238 (TOTP), RFC 4226 (HOTP) and RFC 4648 (Base32).
What you can do here
- Get a live 2FA code from a secret key with the 2FA code generator, or for many accounts at once with Bulk 2FA codes.
- Read the key inside a QR code with QR code to secret key, or move accounts out of Google Authenticator with the export decoder.
- Turn a key back into a QR code for a new phone with the 2FA QR code generator.
- Find where each service hides its key in our guides for 40 apps.
How we keep the codes right
Every code on this site comes from the same small, open algorithm your authenticator app uses. Before each release the tools are checked against the official test vectors published in RFC 4226 and RFC 6238, and the part that reads pasted text is tested with thousands of sample lines in many formats. If a code ever looks wrong, the cause is almost always the device clock: turn on automatic date and time and try again.
Who it is for
People who need a code while their phone is out of reach, developers testing two-factor sign-in, teams handling shared accounts they are authorised to use, and anyone switching authenticator apps. It is not a way into accounts that are not yours: without the right secret key no code can be produced.
Contact
Questions, bug reports or ideas: see our contact page.