AccDuo tools
2FA code generator
Paste a 2FA secret to get the live 6-digit code (TOTP)
🔒 Codes are computed locally in your browser; secrets are never uploaded to any server.
Accepts secrets like JBSWY3DPEHPK3PXP (spaces ignored), otpauth://totp/… URIs, and whole lines like login|password|secret.
什么是 2FA 验证码?
很多社媒账号开启了两步验证(2FA)。购买的账号若附带「2FA 密钥」(一串由 A–Z 和 2–7 组成的字符),登录时需要输入由该密钥生成的 6 位动态验证码,验证码每 30 秒更新一次。本工具按 RFC 6238(TOTP)标准生成这个验证码。
What is a 2FA code?
Many social accounts have two-factor authentication (2FA) enabled. If your account comes with a "2FA secret" (a string of letters A–Z and digits 2–7), logging in requires a 6-digit code generated from that secret, refreshed every 30 seconds. This tool generates that code according to RFC 6238 (TOTP).
如何用密钥获取 2FA 验证码?
复制交付内容里的 2FA 密钥(或 otpauth:// 链接),粘贴到上方输入框并按 Enter 或点击「添加」。列表中会显示当前的 6 位验证码和剩余秒数;点击验证码或「复制」即可复制,在登录页面输入即可。倒计时快结束时建议等下一个验证码再输入。
在线生成安全吗?
验证码由你浏览器中的 Web Crypto 在本地计算,密钥不会发送到 AccDuo 或任何其他服务器;页面没有上传密钥的接口。默认不保存密钥,关闭页面即清空;只有勾选「在本机保存」时才会存入本浏览器的 localStorage,可随时点「清除全部」删除。请勿在公共或他人的设备上保存密钥。
How do I get a 2FA code from a secret?
Copy the 2FA secret (or otpauth:// link) from your delivery, paste it into the box above and press Enter or click "Add". The list shows the current 6-digit code and the seconds remaining; click the code or "Copy" to copy it and enter it on the login page. If the countdown is almost over, wait for the next code.
Is generating codes online safe?
Codes are computed locally in your browser with Web Crypto; secrets are never sent to AccDuo or any other server, and the page has no endpoint that receives them. Nothing is stored by default — closing the page clears the list. Only if you tick "Save on this device" are secrets kept in this browser's localStorage, and "Clear all" removes them. Don't save secrets on shared devices.