UUID 生成器

为模拟数据、测试夹具和示例记录生成随机的 UUID v4 标识符。

Create one or several identifiers at once whenever you need a quick set of unique-looking IDs.

结果

Generated UUIDs will appear here.
Choose how many UUIDs you want, then press 生成.

What is UUID v4?

UUID v4 is a randomly generated 128-bit identifier written as hexadecimal segments. It is commonly used when you need globally unique IDs without coordinating with a central server.

示例

7d36d95f-765e-4f2b-a9d9-0cb41e4ea0cb

常见问题

Is UUID v4 cryptographically secure?

In modern browsers, crypto.randomUUID() relies on a cryptographically secure source of randomness.

可以一次生成多个 UUID 吗?

可以。选择器允许一键生成 1 个、5 个或 10 个 UUID。

UUID 能保证唯一性吗?

它们没有数学上的绝对保证,但在实际使用中冲突极其罕见。

这款工具的常见用法

Read the practical guide for UUID usage in APIs, databases, queues and test data.

相关工具