首页 Home/UUID 生成器 / UUID Generator

UUID 生成器 · UUID Generator

UUID(通用唯一识别码)是软件开发中广泛使用的标识符,格式为 8-4-4-4-12 的 32 位十六进制字符串。v4 UUID 基于随机数生成,是日常开发中最常用的版本。

A UUID (Universally Unique Identifier) is a 128-bit identifier widely used in software, formatted as 32 hex digits in groups of 8-4-4-4-12. Version 4 UUIDs are randomly generated and are the most common choice for everyday development.

UUID 生成器UUID Generator
INPUT0 chars
OUTPUT
结果会显示在这里
提示:所有处理都在你的浏览器本地完成。输入后自动更新结果

UUID 生成器 / UUID Generator

功能介绍(中文)

UUID(通用唯一识别码)是软件开发中广泛使用的标识符,格式为 8-4-4-4-12 的 32 位十六进制字符串。v4 UUID 基于随机数生成,是日常开发中最常用的版本。

本工具使用浏览器的加密模块(crypto.randomUUID)生成 v4 UUID,随机性远高于 Math.random。你可以一次生成 1、5、10 或 50 个,并选择大小写与是否保留连字符,结果一键复制。

生成过程完全在浏览器本地完成,不依赖服务器,也不会记录任何生成结果。

Overview (English)

A UUID (Universally Unique Identifier) is a 128-bit identifier widely used in software, formatted as 32 hex digits in groups of 8-4-4-4-12. Version 4 UUIDs are randomly generated and are the most common choice for everyday development.

This tool uses the browser's crypto.randomUUID to generate v4 UUIDs with strong randomness, far better than Math.random. Generate 1, 5, 10 or 50 at once, choose upper/lowercase and whether to keep hyphens, then copy all results in one click.

Generation happens entirely in your browser — no server involved and nothing is recorded.

功能特点(中文)

  • 使用 crypto.randomUUID 生成,随机性强
  • 一次可生成 1 / 5 / 10 / 50 个 UUID
  • 大小写与连字符格式可选
  • 一键复制全部结果
  • 纯本地生成,不联网、不记录

Features (English)

  • Generated with crypto.randomUUID for strong randomness
  • Generate 1 / 5 / 10 / 50 UUIDs at once
  • Choose uppercase/lowercase and hyphen style
  • Copy all results in one click
  • Fully local — no network, no logging

常见问题 / FAQ

v4 UUID 是随机的,会重复吗?

v4 UUID 有 122 位随机数,重复概率极低(约 5.3×10^-36 才有一次碰撞),在绝大多数场景下可以认为不会重复。

Can random v4 UUIDs collide?

A v4 UUID has 122 random bits, making a collision extremely unlikely (about one in 5.3×10^36). For virtually all practical purposes they are unique.

UUID 和 GUID 有什么区别?

GUID 是微软对 UUID 标准的实现,两者本质上是同一个概念,都是 128 位标识符,格式基本相同。

What is the difference between UUID and GUID?

GUID is Microsoft's implementation of the UUID standard. They are essentially the same concept — 128-bit identifiers with the same format.

生成的 UUID 会被记录下来吗?

不会。生成完全在浏览器本地进行,服务器不会收到也不会存储任何生成结果。

Are generated UUIDs recorded?

No. Generation happens entirely in the browser; the server never receives or stores any result.

← 返回全部工具 / All tools

已复制到剪贴板