Developer Tools
UUID 生成器
数据库种子或测试夹具需要一批 ID?一键生成数百个 v4 UUID。
Format
9d09df76-06a7-4b42-a1a9-19e76576556dea34fb15-22c9-410a-a4ef-de2878b82d4a3ff3d412-ea59-436d-ae7e-2331a6cbab6b3f88bef9-e9b2-4419-81f2-46097e8920199733e7b6-bfbe-4762-8bd8-f5c53df02c8b170b0455-0fe6-4cd6-807a-f12ba7a33425e3dc96ce-0a22-4f8e-9a6f-6e1a93ed3e2d3e54cb1b-31cd-43c9-9505-b280ecaad875f89b7bcc-f576-45e9-a783-eee021a9c451134b29ee-1e13-4206-9994-b71d1be81242
Version 4 UUIDs generated with crypto.randomUUID(). Real cryptographic randomness, one per line for easy pasting. Everything happens locally in your browser.
Private by design: This tool runs entirely in your browser. Nothing you type or upload is sent to a server.
使用方法 UUID 生成器
- 设置数量. 选择需要多少个 UUID——1 到 1000。
- 选择格式. 开关大写与连字符,匹配系统期望的格式。
- 生成. 一键即时生成整批。
- 复制. 复制单个 UUID,或用「全复制」拿到整个列表。
UUID 生成器 功能
- crypto.randomUUID()——真正的 v4 随机
- 批量生成最多 1000 个
- 大写 / 小写切换
- 连字符开关
- 复制单个或全复制
- 每行一个,方便粘贴
UUID 生成器 常见问题
- 版本 4(随机)。每个 UUID 有 122 个随机 bit,由浏览器的 crypto.randomUUID() 生成——安全系统同款 API,不是 Math.random() 的野路子。
- 实际不会。122 个随机 bit 下,需要每秒生成约十亿个 UUID、持续 85 年,碰撞概率才到 50%。作 ID 用,v4 实际唯一。
- 可以,但随机 UUID 在某些数据库中会打散索引。需要可排序 ID 可考虑 UUIDv7(时间有序)——本工具生成 v4,最适合令牌、请求 ID 与测试数据。
- 同一种 128 位格式——GUID 只是微软对 UUID 的叫法。v4 UUID 在需要 GUID 的地方都能用。
相关工具
Password Generator
Generate strong random passwords with Web Crypto - length, character sets, entropy meter.
Use tool →Hash Generator
Hash text or files with MD5, SHA-1, SHA-256, SHA-384, SHA-512 - in your browser.
Use tool →Regex Tester
Test regular expressions live with match highlighting, capture groups and a cheatsheet.
Use tool →Timestamp Converter
Convert Unix timestamps (seconds/ms auto-detect) to dates and back, UTC/local, relative time.
Use tool →