UUID 生成器

在线生成 UUID v4,支持批量生成和格式定制。纯前端处理,零延迟。

广告位 — Google AdSense

UUID Generator — Bulk Create v1 / v4 UUIDs Online

工具介绍

UUIDs (Universally Unique Identifiers) are 128-bit identifiers that are practically unique without central coordination. This tool generates UUID v1 (timestamp + MAC) and v4 (fully random) versions, in single or batch mode. All UUIDs are created using the browser's crypto.randomUUID() API — secure, fast, and never sent to a server. Perfect for database keys, filenames, order numbers, and tracking IDs.

怎么使用

  1. Pick a UUID version (v4 random or v1 timestamp)
  2. Choose how many to generate (1–1000)
  3. Click "Generate"; results appear below; copy with one click

常见用例

常见问题

Q: Are UUIDs truly unique?
A: Practically yes — 2¹²² possible values means collisions are negligible.

Q: When should I use v1 vs v4?
A: Use v4 (random) for almost everything. Pick v1 only if you need time ordering.

Q: Is anything uploaded?
A: No. Generation is 100% local.

小贴士

Store UUIDs as CHAR(36) or BINARY(16). They use about 2x more space than auto-increment.

Need time ordering? v1. Need only uniqueness? v4.

Want shorter IDs? Try the random number generator or a NanoID-style scheme.