Generate a TOTP secret and QR code, and verify codes — without the secret leaving your browser.
······
0s until it changes
Generating
The secret is the entire second factor, so everything here happens in your browser: RFC 6238 is implemented directly rather than pulled from a library, and the QR code is drawn locally rather than handed to a QR image service — which is what most generators do, and which puts a second-factor secret into somebody else's server logs. Codes are derived from the current time divided into 30-second steps, which is why a device clock that is wrong breaks TOTP outright rather than degrading gracefully. Verification accepts the adjacent step in each direction, the standard allowance for skew and for the seconds between reading a code and submitting it.
What this cannot tell you
Take this with you
This tool never saves runs. What it handles should not be written to disk — not even your own.
2FA / TOTP QR Generator & Validator on RunTheTests — free browser-based security tools, no sign-up.