UUID產生器
開發者工具批次產生UUID v4並支援多種格式
答案速覽
UUID Generator: Batch UUID v4 generation with multiple formats. 128-bit, format 8-4-4-4-12 hex; 122 random bits.
UUID 版本對照
| 版本 | 生成方式 |
|---|---|
| v1 | Timestamp + MAC, may leak device info |
| v3/v5 | Namespace + MD5/SHA-1, deterministic |
| v4 ← | Fully random (this tool), 122-bit entropy |
| v7 | Time-ordered + random, DB index friendly |
v4 隨機 UUID 碰撞機率極低:按生日悖論估算,需生成約 2.71×10¹⁸ 個才有 50% 碰撞機率——每秒生成 10 億個也要約 85 年。做資料庫主鍵時可以考慮 v7(時間有序)——隨機 v4 會讓 B-tree 插入亂序、大規模下索引碎片化。
這個工具對你有幫助嗎?
怎麼用
- Paste or type content: drop code/text into the UUID Generator or fill the parameters.
- Choose mode/options: switch format, rules or processing as needed.
- Live output: results appear instantly — nothing is submitted, data stays in your browser.
- One-click copy: copy the output straight into your development environment.
核心要點
- UUID Generator is a free online developer tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Batch UUID v4 generation with multiple formats.
- Results come with formulas and reference tables so you can verify every number.
原理與公式
UUID v4 (RFC 4122)
128-bit, format 8-4-4-4-12 hex; 122 random bits
Version digit fixed at 4; variant digit ∈ {8,9,a,b}
Collision: ~50% chance only after 2.71×10¹⁸ UUIDs
常見問題
How do I use the UUID Generator?
Open the page and fill in the input fields — results update automatically. Batch UUID v4 generation with multiple formats.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.
相關工具
相關指南
來源與更新
Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07
最近更新:
本頁公式與內容經YiJianSuan團隊覆核,僅供學習參考,實際業務請以官方口徑為準。
內容由YiJianSuan編輯團隊維護並定期覆核,更新與審核流程詳見編輯規範.
引用本頁: YiJianSuan. UUID產生器[EB/OL]. https://www.yijiansuan.com/zh-TW/c/dev/uuid
本工具提供的結果僅供參考,不構成任何專業建議,請以官方核算為準。