What is a universally unique identifier?
UUID format: xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx M = UUID Version (e.g., 1, 4, 7) N = UUID Variant (typically 8, 9, a, or b)
Our UUID Generator is a professional-grade tool for creating Version 1, 4, and the modern Version 7 Universally Unique Identifiers. Whether you need standard randomness (v4), time-based tracking (v1), or the latest lexicographically sortable identifiers (v7) for optimized database indexing, our entirely client-side generator provides high-entropy IDs instantly.
UUID format: xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx M = UUID Version (e.g., 1, 4, 7) N = UUID Variant (typically 8, 9, a, or b)
// Native browser-based cryptographic generation const randomId = crypto.randomUUID(); console.log(randomId); // Output: f81d4fae-7dec-11d0-a765-00a0c91e6bf6
| timestamp (48 bits) | ver (4 bits) | rand_a (12 bits) | var (2 bits) | rand_b (62 bits) | | time since epoch | 0111 | random noise | 10 | random noise |
TimeLow (32 bits) - TimeMid (16 bits) - TimeHighAndVersion (16 bits) - ClockSeqAndVariant (16 bits) - NodeID (48 bits)
Standard: f81d4fae-7dec-11d0-a765-00a0c91e6bf6
No hyphens: f81d4fae7dec11d0a76500a0c91e6bf6
Uppercase: F81D4FAE-7DEC-11D0-A765-00A0C91E6BF6
Braced: {f81d4fae-7dec-11d0-a765-00a0c91e6bf6}// Verification of cryptographic secure randomness source
const hasSecureCrypto = typeof window !== 'undefined' &&
window.crypto &&
typeof window.crypto.getRandomValues === 'function';
console.log("Secure source active:", hasSecureCrypto);Choose between Single to generate a single identifier or Bulk to generate multiple UUIDs simultaneously.
Select from v1 (time-based), v4 (fully random), or v7 (ordered/timestamp-based) depending on your application requirements.
If you select bulk mode, specify the exact count of UUIDs you want to create (up to 500 max).
Use checkboxes to decide whether to include hyphens, convert characters to uppercase, or enclose identifiers in curly braces.
Click Copy or Copy All to copy the generated list to your clipboard, or click Download to save them as a text file.
Copy & paste production-ready code snippets for UUID Generator in your language of choice
import uuid
# Generate a random UUID (Version 4)
new_uuid = uuid.uuid4()
print(f"Generated UUID v4: {new_uuid}")
print(f"Hex String: {new_uuid.hex}")