UUID 生成器

生成各种 UUID 格式的唯一标识符,包括 v1、v4 和 v7。

UUID v4 使用随机数。最常用的版本,提供 122 位随机性。

功能特点

加密随机

使用安全随机数生成

批量生成

一次最多生成 100 个 UUID

多版本支持

支持 UUID v1、v4 和 v7

便捷复制

即时复制单个或全部 UUID

UUID Versions Explained

UUID v4 (Random)

Most commonly used version. Generated using random or pseudo-random numbers. Provides 122 bits of randomness, making collisions virtually impossible.

UUID v1 (Time-based)

Based on timestamp and MAC address (or random node ID). Useful when you need chronologically sortable IDs. Note: May reveal timing information.

UUID v7 (Unix Epoch Time-based)

New format from RFC 9562. Combines Unix timestamp with random data. Provides natural sorting by creation time while maintaining randomness.

使用方法

  1. Select the UUID version (v4 recommended for most use cases)
  2. Choose how many UUIDs to generate (1-100)
  3. Optionally toggle uppercase format
  4. Click "Generate" to create UUIDs
  5. Copy individual UUIDs or all at once

常见问题

What is a UUID?

UUID (Universally Unique Identifier) is a 128-bit identifier used to uniquely identify information in computer systems. Also known as GUID (Globally Unique Identifier).

Which UUID version should I use?

For most applications, UUID v4 is recommended due to its simplicity and randomness. Use v7 if you need time-ordered IDs for database indexing.

Can UUIDs collide?

While theoretically possible, the probability of a collision is astronomically low. You'd need to generate about 2.71 quintillion v4 UUIDs to have a 50% chance of a collision.

UUID Generator - Generate UUID v1, v4, v7 | Free Online Tool