DEV NO.009
UUID Generator
Bulk-generate UUID v4 from cryptographic randomness, one-click copy.
This tool runs entirely in your browser. Nothing is uploaded to any server.
What is this
什么是 UUID v4
UUID(通用唯一标识符)v4 是完全随机生成的 128 位标识符,形如 3f8a2c1e-9b4d-4e7a-a1c2-5f6e7d8c9b0a。无需中心服务器即可全球唯一,是数据库主键、分布式 ID 的常用选择。
What is UUID v4
UUID v4 is a 128-bit identifier generated purely at random, like 3f8a2c1e-9b4d-4e7a-a1c2-5f6e7d8c9b0a. Globally unique without a central authority — the go-to for primary keys and distributed IDs.
如何使用
- 选择生成数量(1-100)。
- 可选大写、去连字符格式。
- 逐个或整体复制。
FAQ
Can UUID v4 collide?
Practically never. With 122 random bits, even a billion UUIDs keep collision odds below one in a billion.
How random are the IDs?
They come from crypto.getRandomValues — a cryptographically secure source, far better than Math.random.
UUID vs GUID?
Essentially synonyms — GUID is Microsoft's name for UUID, and v4 output is identical.