UUID Generator
Generate any number of UUIDs in v1 (time-based), v4 (random), v5 (name-based SHA-1), or v7 (time-ordered random) format. Bulk generation, validation, and format analysis included.
Frequently Asked Questions
What is a UUID and when should I use it?
A UUID (Universally Unique Identifier) is a 128-bit identifier designed to be globally unique without a central authority. Use them for database primary keys, request IDs, session tokens, or any ID that must be unique across distributed systems.
UUID v4 vs v7 — which should I use for database keys?
UUID v7 is preferred for database primary keys because it's time-ordered (monotonically increasing), which leads to better B-tree index performance and less page fragmentation. UUID v4 is purely random and causes index fragmentation at scale.
Are these UUIDs cryptographically secure?
Yes — they use the browser's crypto.randomUUID() and crypto.getRandomValues(), which are cryptographically secure random number generators. These are suitable for use as tokens, API keys, and security-sensitive identifiers.