Chuyển đến nội dung chính

Tạo hàng loạt UUID v4 với nhiều định dạng

Xem nhanh kết quả

UUID Generator: Batch UUID v4 generation with multiple formats. 128-bit, format 8-4-4-4-12 hex; 122 random bits.

Bảng so sánh phiên bản UUID

Phiên bảnPhương thức tạo
v1Timestamp + MAC, may leak device info
v3/v5Namespace + MD5/SHA-1, deterministic
v4 ←Fully random (this tool), 122-bit entropy
v7Time-ordered + random, DB index friendly
Xác suất va chạm UUID ngẫu nhiên v4 cực thấp: ước tính theo nghịch lý sinh nhật, cần tạo khoảng 2.71×10¹⁸ cái mới có 50% xác suất va chạm — tạo 1 tỷ cái mỗi giây cũng cần khoảng 85 năm. Khi làm khóa chính cơ sở dữ liệu có thể xem xét v7 (thứ tự theo thời gian) — v4 ngẫu nhiên sẽ làm chèn B-tree không theo thứ tự, chỉ mục sẽ bị phân mảnh ở quy mô lớn.

Công cụ này có hữu ích cho bạn không?

Hướng dẫn sử dụng

  1. Paste or type content: drop code/text into the UUID Generator or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Điểm chính

  • 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.

Công thức và nguyên lý hoạt động

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

Câu hỏi thường gặp

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.

Công cụ liên quan

Hướng dẫn liên quan

Nguồn và cập nhật

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Cập nhật gần nhất:

Công thức và nội dung trên trang này đã được đội ngũ YiJianSuan kiểm tra lại, chỉ dùng để tham khảo học tập, các nghiệp vụ thực tế vui lòng tuân theo thông báo chính thức.

Nội dung được đội ngũ biên tập YiJianSuan duy trì và kiểm tra lại định kỳ, quy trình cập nhật và kiểm duyệt xem tạiQuy định biên tập.

Trích dẫn trang này: YiJianSuan. Trình tạo UUID[EB/OL]. https://www.yijiansuan.com/vi/c/dev/uuid

Kết quả do công cụ này cung cấp chỉ mang tính tham khảo, không cấu thành bất kỳ lời khuyên chuyên nghiệp nào, vui lòng dựa trên kết quả tính toán chính thức.