---
title: "OTP Verifier - TOTP Self-test Tool - AllTools"
description: "AllTools OTP Verifier builds a TOTP QR from a secret and checks the rolling code, so you can confirm algorithm and clock sync before shipping two-factor auth."
canonical_url: "https://tool.warmday.wang/en/design/otp-verification"
meta:
  author: AllTools
  keywords: "online tools, AllTools, free online tools, developer tools, image tools, PDF tools, text tools, unit converter, no login, browser-based tools"
  "og:description": "AllTools OTP Verifier builds a TOTP QR from a secret and checks the rolling code, so you can confirm algorithm and clock sync before shipping two-factor auth."
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "OTP Verifier - TOTP Self-test Tool"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **TOTP Verifier**

Generate two-factor authentication QR codes and verify dynamic passwords

### **OTP QR Code Generation & Verification**

Generating QR code...

**Secret**

**OTP URI**

Verification

**Enter OTP code**

**Current Token:**530624

Remaining Time:14 seconds

Instructions

**Features:**

- Generate TOTP QR codes compliant with RFC 6238
- Supports Google Authenticator, Microsoft Authenticator, and more
- Verify OTP tokens online
- Token auto-refreshes every 30 seconds

**How to Use:**

1. Scan the QR code with your mobile authenticator app
2. Or manually copy and add the secret to your authenticator
3. Enter the 6-digit code shown in your authenticator
4. Click "Verify" to check if the code is correct

### **Code Example**

Using the `QRCodeOTP` component in other pages is simple:

```
<template>
  <QRCodeOTP
    id="user-123"
    hash="unique-hash-value"
    @verified="handleVerified"
    @failed="handleFailed"
  />
</template>

<script setup>
// Handle verification success
const handleVerified = (data) => {
  console.log('Verification succeeded:', data)
  // data.delta - time offset
  // data.token - verified token
}

// Handle verification failure
const handleFailed = (error) => {
  console.log('Verification failed:', error)
  // error.reason - failure reason
}
</script>
```

**Parameters:**

- `id` (required): unique identifier for distinguishing different OTP configurations
- `hash` (optional): hash value used to generate a unique secret seed

**Events:**

- `{'@'}verified`: triggered on successful verification, returns verification result data
- `{'@'}failed`: triggered on verification failure, returns error info

## **Related tools**

More from the same category · Design Tools

[**Color Palette Generator**Generate palettes in one click and copy the hex values into your design.](https://tool.warmday.wang/en/design/colors) [**Color Format Converter**Convert HEX, RGB, HSL, CMYK and HSV live with one synced picker.](https://tool.warmday.wang/en/design/color-converter) [**QR Code Generator**Make QR codes with your logo and colors, then export vector SVG.](https://tool.warmday.wang/en/design/qrcode) [**QR Code Decoder**Scan a QR from an image or camera and copy its link or text.](https://tool.warmday.wang/en/design/qrcode-decoder) [**Barcode Generator**Create Code128, EAN, UPC and more barcodes as vector files.](https://tool.warmday.wang/en/design/barcode) [**Barcode Decoder**Read the value of a 1D barcode image for fast stock checks.](https://tool.warmday.wang/en/design/barcode-decoder)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/en#website","url":"https://tool.warmday.wang/en","name":"AllTools","inLanguage":"en","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/en?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/en/design/otp-verification#webpage","url":"https://tool.warmday.wang/en/design/otp-verification","isPartOf":{"@id":"https://tool.warmday.wang/en#website"},"inLanguage":"en","name":"OTP Verifier - TOTP Self-test Tool","description":"AllTools OTP Verifier builds a TOTP QR from a secret and checks the rolling code, so you can confirm algorithm and clock sync before shipping two-factor auth."},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/en/design/otp-verification#app","name":"OTP Verifier - TOTP Self-test Tool","description":"AllTools OTP Verifier builds a TOTP QR from a secret and checks the rolling code, so you can confirm algorithm and clock sync before shipping two-factor auth.","url":"https://tool.warmday.wang/en/design/otp-verification","applicationCategory":"DesignApplication","operatingSystem":"Web","inLanguage":"en","isPartOf":{"@id":"https://tool.warmday.wang/en/design/otp-verification#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/en/design/otp-verification#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://tool.warmday.wang/en"},{"@type":"ListItem","position":2,"name":"Design Tools","item":"https://tool.warmday.wang/en/design"},{"@type":"ListItem","position":3,"name":"OTP Verifier","item":"https://tool.warmday.wang/en/design/otp-verification"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
