About this 2fa code generator
Turn a two-factor authentication secret key into the current 6-digit login code, with a countdown to the next one. Because generation happens on your device, results never touch a server and the tool works offline.
What the tool does, how to run it, and what to expect from the result.
Turn a two-factor authentication secret key into the current 6-digit login code, with a countdown to the next one. Because generation happens on your device, results never touch a server and the tool works offline.
A quick way to understand who this helps, what it solves, and where it connects next.
Developers, designers, and anyone who needs quick, private generated values.
Generating values on demand without a backend, install, or sign-up.
Short answers for the questions people usually have before trying a utility like this.
Yes. It is completely free, with no sign-up, no watermark, and no usage limits.
No. Generation runs locally in your browser, so nothing is uploaded, logged, or stored.
Into this one, yes, and the reason is checkable: the code is computed in your own browser with the Web Crypto API, so the key never leaves the tab, is never sent to a server, and is not stored anywhere. Open your network tab and you will see no request carrying it. Be careful with other sites, though. A 2FA secret is a permanent credential, and any tool that sends it to a server has been handed your second factor for good.
Your password is fixed until you change it. A 2FA code is derived from a shared secret plus the current time, so it changes every 30 seconds and a stolen one is worthless a minute later. That is why two-factor authentication survives a leaked password.
When a service sets up two-factor authentication it shows a QR code plus a line of letters and digits, often labelled "manual entry", "setup key" or "can't scan the code". That line is the secret. You can paste it here with or without spaces, or paste the whole otpauth:// link the QR encodes and the digits, period and algorithm fill in themselves.
Nearly always the clock. Codes are derived from the current time, so a device running a few minutes off produces valid-looking codes for the wrong moment. Check that your system clock is set automatically. After that, confirm the digit count and period match what the service expects, most use 6 digits over 30 seconds.
No, and it is not meant to. Use it to get into an account when your phone is not to hand, to check that a secret you just saved actually works before you rely on it, or to test 2FA while building something. For everyday use, an authenticator app on a device you carry keeps the secret off your desktop.
Nearby tools from the catalog that fit the same job or workflow.
CRC32 checksum for a local file
Calculate the CRC32 checksum of a local file in the browser and compare it with a known value, alongside SHA-256, SHA-512, SHA-1, and MD5.
Clean pasted clipboard text
Clean pasted clipboard text by normalizing hidden Unicode, punctuation, line endings, and broken whitespace.
Redact email addresses
Redact email addresses from pasted text or lists with placeholder or partial-mask output.
Scan JSON for likely PII
Scan pasted JSON for likely PII and secret-like values, then export findings and redacted JSON.
Hash a file locally
Compute SHA-256, SHA-512, SHA-1, MD5, and CRC32 for one local file in the browser and compare it with a known hash.
Redact phone numbers
Redact phone numbers from pasted text with placeholder or digit-masking output.
Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.
The code is computed in this tab with the Web Crypto API. Your secret key is never sent anywhere, never stored, and disappears when you close the page.
Paste the secret key your service showed you when you set up two-factor authentication, or the full otpauth:// link behind its QR code.