สร้าง TOTP / 2FA
สร้างรหัสผ่านแบบใช้ครั้งเดียวตามเวลา (TOTP) จากคีย์ลับ — เข้ากันได้กับ Google Authenticator
TOTP Generator
RFC 6238 — Time-based One-Time Passwords via WebCrypto
Valid for 30 more seconds
Technical Details
Algorithm
HMAC-SHA1
Period
30 seconds
Digits
6
Time Slot (T)
59196888
Security Notice
Scan the secret with Google Authenticator or Authy to verify codes match. Never share your secret key — it grants full access to generate valid codes.
TOTP / 2FA Code Generator
Generate time-based one-time passwords (TOTP) from a secret key — compatible with Google Authenticator, Authy, and any RFC 6238 authenticator app. Runs 100% in your browser.
FAQ
What is TOTP?
TOTP (Time-based One-Time Password) is a 6-digit code that changes every 30 seconds. It's the second factor in 2FA — even if someone has your password, they can't log in without the current TOTP code.
How does TOTP work?
TOTP = HMAC-SHA1(secret_key, floor(current_unix_time / 30)), then take the last 6 digits. The server and your authenticator app derive the same code independently — no network call needed.
Is this tool safe to use?
This tool is for testing and development. Never enter your real 2FA secrets into any online tool. Use your authenticator app for production accounts.
สำรวจต่อ
เครื่องมือความปลอดภัย อื่นๆ ที่คุณอาจชอบ...
ตรวจสอบความแข็งแกร่งรหัสผ่าน
ตรวจสอบความแข็งแกร่งรหัสผ่านและรับคำแนะนำเพื่อปรับปรุงความปลอดภัย
สร้าง QR Code
สร้าง QR codes สำหรับ URL ข้อความ อีเมล และอื่นๆ
อ่าน QR Code
อ่านและถอดรหัส QR codes จากรูปภาพที่อัปโหลด
สร้าง Barcode
สร้าง barcodes ในรูปแบบ CODE128, EAN-13 และอื่นๆ
สร้างคีย์ SSH
สร้างคู่คีย์ SSH Ed25519 หรือ ECDSA โดยใช้ Web Crypto API — ทำงาน 100% ในเบราว์เซอร์
สร้างคีย์ RSA
สร้างคู่คีย์ RSA 2048-bit หรือ 4096-bit ในรูปแบบ PEM โดยใช้ Web Crypto API — ทำงาน 100% ในเบราว์เซอร์
เปรียบเทียบ Hash
เปรียบเทียบค่า hash สองค่าเพื่อตรวจสอบความถูกต้องของไฟล์หรือรหัสผ่าน
ตรวจสอบ Hash ไฟล์
ลากและวางไฟล์ใดๆ เพื่อคำนวณ MD5, SHA-1, SHA-256 และ SHA-512 checksums ทันที — ตรวจสอบความถูกต้องกับ hash ที่ทราบ