Bulk UUID / GUID Generator
Generate up to 1,000 UUIDs with custom formatting, casing, and download formats.
Generate random UUID v4 or time-sorted UUID v7 identifiers instantly. 100% client-side, zero tracking, bulk export.
Generating...
Generate up to 1,000 UUIDs with custom formatting, casing, and download formats.
A UUID (Universally Unique Identifier), also known as a GUID (Globally Unique Identifier) in the Microsoft ecosystem, is a 128-bit number standardized under RFC 4122 and RFC 9562.
In canonical string form, a UUID is represented as 32 hexadecimal digits displayed in five groups separated by hyphens: 8-4-4-4-12 (for a total of 36 characters), such as:
For over two decades, UUID v4 was the default standard for generating random identifiers. However, because UUID v4 is completely random, inserting new rows into PostgreSQL, MySQL, or SQLite B-tree indexes causes severe index fragmentation and cache thrashing as tables scale to millions of rows.
| Feature | UUID v4 (Random) | UUID v7 (Time-Ordered) |
|---|---|---|
| Standard | RFC 4122 (2005) | RFC 9562 (2024) |
| Generation Basis | 122 random bits | 48-bit Unix timestamp + 74 random bits |
| Sortability | ❌ Not sortable | ✅ Naturally sortable by creation time |
| Database Performance | Slow on high-write tables (B-tree rebalancing) | ⚡ 4x faster inserts (appends to end of index) |
| Best Use Case | Public tokens, session IDs, API nonces | Database Primary Keys (PostgreSQL, MySQL) |
| Version | Algorithm | Primary Use Case | Security / Privacy Notes |
|---|---|---|---|
| UUID v1 | MAC address & 100ns timestamp | Legacy distributed systems | ⚠️ Leaks MAC address and hardware identity |
| UUID v3 | MD5 hash of namespace & string | Deterministic ID generation | MD5 is cryptographically broken; use v5 |
| UUID v4 | CSPRNG Pseudo-Random | General-purpose web & software IDs | ✅ 100% secure, zero metadata leak |
| UUID v5 | SHA-1 hash of namespace & string | Deterministic naming (URL, DNS) | Safe for reproducible name hashing |
| UUID v6 | Reordered v1 timestamp | Sortable legacy compatibility | Superseded by UUID v7 |
| UUID v7 | Unix millisecond timestamp + random | Modern Database Primary Keys | ✅ Excellent security & index speed |
Copy-paste code snippets for your backend stack:
import uuid
# Generate a random UUID v4
uid = uuid.uuid4()
print(str(uid)) # "550e8400-e29b-41d4-a716-446655440000"// Native Web Crypto API (Browser & Node 19+)
const id = crypto.randomUUID();
console.log(id);import uuid
from django.db import models
class Order(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)-- Built-in function in PostgreSQL 13+
SELECT gen_random_uuid();
-- In table definition:
id UUID PRIMARY KEY DEFAULT gen_random_uuid()package main
import (
"fmt"
"github.com/google/uuid"
)
func main() {
id := uuid.NewString()
fmt.Println(id)
}use uuid::Uuid;
fn main() {
let id = Uuid::new_v4();
println!("{}", id);
}import java.util.UUID;
UUID uuid = UUID.randomUUID();
System.out.println(uuid.toString());using System;
Guid guid = Guid.NewGuid();
Console.WriteLine(guid.ToString());A UUID v4 contains 122 bits of pure random entropy. The total number of possible UUIDs is:
To put this in perspective: if every human on Earth generated 1 million UUIDs per second for the next 100 years, the probability of generating a single duplicate would still be less than 0.00000000001%.
A UUID (Universally Unique Identifier) is a standardized 128-bit number used in software engineering to identify records across distributed databases without a central authority.
GUID (Globally Unique Identifier) is Microsoft's naming for the UUID standard. In practice, they are identical 128-bit values formatted with 36 hexadecimal characters.
For modern high-scale databases, use UUID v7. Because UUID v7 contains a Unix timestamp prefix, it inserts sequentially into B-tree indexes, avoiding the memory fragmentation caused by random UUID v4.
No. All UUIDs are generated 100% locally in your browser using the cryptographically secure Web Crypto API. No data is stored, tracked, or sent across the network.
Yes. Use the formatting checkboxes above to toggle uppercase, remove hyphens (32-character compact string), or wrap in JSON quotes/braces.