How to create one in 3 steps
- Enter your details in the form above — only the fields for this type, nothing extra.
- Check the live preview and customize the color, background and size (256, 512 or 1024 px) to match your brand or print.
- Click Download PNG, test-scan the code once with your phone, then print it or share it wherever your audience is.
About this Two-Factor Authentication (TOTP)
Every authenticator setup screen in the world shows the same thing: an otpauth://totp/… QR code carrying the issuer, the account and a Base32 secret. This generator builds that code to the Key URI Format specification — SHA1, 30-second period, 6 or 8 digits — for developers wiring up 2FA, admins preparing enrollment material, and anyone restoring a setup from a saved secret.
Handle the secret like a password, because it is one: whoever holds it can generate your codes forever. This page creates the QR locally in your browser and stores nothing — but never print or share a production account’s code, and store backup secrets in a password manager, not in photos.
Best uses
- Developer 2FA integration and testing
- Team enrollment preparation
- Restoring setup from a saved secret
- Security-training demonstrations
Put the code exactly where the decision is made — on the table, the counter, the packaging, the invitation or the screen — and give people one short line of instruction such as “Scan to open” or “Scan to pay”. Print codes at least 2 cm wide with a quiet white border and strong contrast so older phone cameras read them quickly; for posters scanned from a distance, use the 1024 px size and print bigger — a good guide is roughly one tenth of the scanning distance.
How it works
Payload: otpauth://totp/ISSUER:ACCOUNT?secret=BASE32&issuer=…&algorithm=SHA1&digits=…&period=30 — spaces are stripped from the secret and it is upper-cased automatically, the two most common hand-typing errors.
Worked example
A developer testing her app’s new 2FA flow generates codes for throwaway accounts from their test secrets, scanning each into an authenticator to verify her server accepts the codes.
Frequently Asked Questions
Is this Two-Factor Authentication (TOTP) generator free?
Yes. Loona’s Two-Factor Authentication (TOTP) generator is completely free with no signup, no watermark and no limit on how many codes you create, for personal or commercial use.
Will my QR code expire?
No. Loona creates static QR codes: your information is encoded directly inside the QR pattern itself, not stored on a server or hidden behind a paid redirect. A code you print today will keep working as long as the destination itself stays active.
Is my information private on this Two-Factor Authentication (TOTP) page?
Yes. Generation happens 100% in your browser using JavaScript. Nothing you enter is sent to or stored on any server.
My code’s digits do not match the service. Why?
Usually the secret was copied with an error, or the device clock is off — TOTP is time-based, so check automatic time is enabled. Regenerate and re-scan rather than debugging from a screenshot.
Is it safe to make this here?
Generation happens entirely in your browser; nothing is sent anywhere. The real risk is what you do with the image afterwards — treat it as the password it is.
Related QR Code Generators
Put any text or message inside a QR code.
Turn any website link into a QR code.
Test-scan any code with your camera.
Create many QR codes at once from a list.
Scan to save a contact card.
Embed this tool on your website — free
Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.