UUID 生成器

生成用于数据库主键、请求 ID 和分布式系统测试的随机 UUID 第 4 版标识符。

0 items
#

UUID 是如何生成的

UUID 第 4 版(随机)是使用浏览器的 crypto.randomUUID() API(如果可用)生成的。格式为:xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx。

两个随机 UUID 发生碰撞的概率极低,因此非常适合作为测试数据库中的唯一标识符。

Frequently Asked Questions

UUID 第 4 版(随机生成)。这是应用程序标识符最常用的 UUID 版本。

Yes. The generator uses crypto.randomUUID() where available, which uses the browser's cryptographically secure random number generator.

Yes. UUID v4 is widely used as a primary key type in PostgreSQL, MySQL, MongoDB and other databases.

Standard UUID format: 8-4-4-4-12 hexadecimal characters separated by hyphens. Example: 550e8400-e29b-41d4-a716-446655440000.

Yes. Generate up to 1,000 UUIDs and export to CSV or JSON.

Related Tools

所有生成的数据均为虚构,不适合作为真实的个人信息使用。