UUID 生成
批量生成 UUID v4,便于复制
Output
Generate UUID v4 values for keys, IDs, and tests
UUID v4 is the standard for unique identifiers when you don't want a centralized counter — primary keys, request IDs, idempotency tokens, session identifiers. Generating them in the browser uses the native crypto API for proper randomness, with options to format with or without hyphens and uppercase or lowercase to match your storage conventions.
Use the generator when you need to
Mint database primary keys
Generate UUIDs for new records so your IDs stay unique across services without a central counter.
Create idempotency or request IDs
Tag every API request with a UUID so retries are safe and traces are easy to correlate.
Bulk-generate IDs for tests or seed data
Produce dozens of IDs at once for fixtures, mock data, or sample database rows.
How to generate UUIDs quickly
- 1
Set the quantity (1 to 100) and choose hyphenation and case options.
- 2
Click Generate to produce UUID v4 values using the browser's secure random source.
- 3
Copy the list or download a text file for use in code or fixtures.
Keep going
Hash text or files
Generate SHA-256/384/512 digests when you need a deterministic identifier instead of random.
Convert Unix timestamps
Pair generated IDs with timestamps when you need ordered, traceable records.
Decode tokens
Inspect the JTI and other claims when troubleshooting auth tokens.
Generate full mock records
Build realistic test records that include UUIDs alongside names and emails.
Common UUID workflows
Generate a batch of UUIDs to seed primary keys when bringing up a new database table.
Use the same generated UUIDs across runs to make a flaky test deterministic.
Generate stable IDs for webhook delivery so retries don't double-process events.
相关工具
常见问题
生成的是 v4 UUID(随机 UUID)。在可用时会使用浏览器的 crypto.randomUUID() API。适合用作数据库主键、请求 ID、会话标识等。
可以。选择数量(1 到 100)后点击 Generate。每个标识符会单独占一行,方便复制或下载。
Uppercase 会把 A–F 转为大写。Remove hyphens 会输出连续的 32 位十六进制字符串,有些系统比标准的 8-4-4-4-12 格式更偏好这种形式。
不会。UUID 完全在你的浏览器中生成,不会上传或存储到我们的基础设施。