สร้าง UUID เวอร์ชัน 4 ตาม RFC 4122 แบบสุ่ม 5 ตัวพร้อมกัน ข้อมูลที่ป้อนจะถูกละเว้น เรียกใช้อีกครั้งเพื่อชุดใหม่
วิธีใช้ สร้าง UUID
กด เรียกใช้ เพื่อสร้างชุด UUID ใหม่
UUID เวอร์ชัน 4 ห้าตัวปรากฏในแผงผลลัพธ์
คัดลอกด้วยคลิกเดียว เรียกใช้อีกครั้งเพื่อชุดใหม่
A UUID (universally unique identifier) is a 128-bit value used to label things, database rows, files, events, messages, API resources, without a central authority handing out IDs. Any machine can mint one independently and trust it will not clash with anyone else's.
This generator produces version 4 UUIDs, the most common kind. A v4 UUID is almost entirely random: 122 of its 128 bits come from a random source, with the remaining 6 bits fixed to mark the version and variant. It is written as 32 hexadecimal digits in the familiar 8-4-4-4-12 grouping.
Each batch of five is generated with your platform's cryptographically secure random source, the same one used for security-sensitive randomness, not a predictable pseudo-random function. Press Run again any time for a fresh batch.
Uniqueness is a matter of probability rather than a hard guarantee, but the numbers are reassuring: with 122 random bits you would need to generate billions of UUIDs before the chance of a single collision became meaningful. For practically every application this is effectively unique.
Version 4 is the right default when you just need a unique ID. If ordering matters, version 7 encodes a timestamp in its leading bits so IDs sort by creation time, which keeps database indexes tidier than fully random v4 keys. The Learn article on v4 vs v7 covers the trade-off in depth.
Common uses include primary keys, idempotency keys that make a request safe to retry, correlation IDs for tracing a request across services, and unique file names. Keep in mind that a v4 UUID is random but not secret, so it should not be used on its own as a security token or password.
คำถามที่พบบ่อย
เป็น UUID เวอร์ชัน 4 ตาม RFC 4122: ตัวระบุแบบสุ่มที่มี 122 บิตสุ่ม สร้างด้วยแหล่งสุ่มที่แข็งแกร่งทางการเข้ารหัส
การชนกันแทบเป็นไปไม่ได้ ด้วย 122 บิตสุ่ม คุณต้องสร้าง UUID หลายพันล้านตัวก่อนจะมีโอกาสซ้ำตามความเป็นจริง
ห้าตัวเป็นชุดที่สะดวกสำหรับงานส่วนใหญ่ กด เรียกใช้ อีกครั้งเพื่อสร้างอีกห้าตัวเมื่อต้องการมากขึ้น
ฝังเครื่องมือนี้
เพิ่มเครื่องมือนี้ลงในเว็บไซต์ของคุณเอง คัดลอกสคริปต์ด้านล่าง โดยจะอัปเดตให้เป็นปัจจุบันโดยอัตโนมัติ
<iframe src="https://monu.tools/embed/th/uuid-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>เครื่องมือที่เกี่ยวข้อง
เข้ารหัสข้อความเป็น Base64 หรือถอดรหัส Base64 กลับเป็นข้อความ ปลอดภัยกับ UTF-8 พร้อมตรวจจับทิศทางอัตโนมัติ
เข้ารหัสและถอดรหัสแบบเปอร์เซ็นต์สำหรับ URL และส่วนประกอบ URL ปลอดภัยกับ UTF-8
ถอดรหัส JSON Web Token เพื่อตรวจสอบส่วนหัวและข้อมูล พร้อมแสดงเวลาหมดอายุและเวลาออกในรูปแบบที่อ่านได้ ทำงานทั้งหมดในเบราว์เซอร์ของคุณ ไม่มีการอัปโหลด token
สร้างแฮช SHA-1, SHA-256, SHA-384 และ SHA-512 ของข้อความใดก็ได้ ในเบราว์เซอร์ของคุณ