Free UUID generator (v1, v3, v4, v5, v7), validator, inspector, and converter. ULID, NanoID, CUID2. All in browser.
UUIDs (Universally Unique Identifiers) are 128-bit identifiers designed to be unique across distributed systems without requiring coordination between the nodes generating them. They are the standard solution for generating primary keys in distributed databases, correlation IDs for distributed tracing, idempotency keys for API requests, and opaque resource identifiers in REST APIs. RFC 4122 defines five UUID versions, and newer versions (v6, v7, v8) add monotonic ordering properties critical for database performance. This hub covers generation, validation, inspection, and conversion of UUIDs and related identifier formats.
The UUID v4 generator uses cryptographic randomness (crypto.getRandomValues in the browser) to produce RFC 4122-compliant version 4 UUIDs. The collision probability for v4 UUIDs is negligibly small for practical use — generating 1 billion UUIDs per second for 100 years produces a collision probability of approximately 50%. Backend developers generate bulk UUIDs for seeding test databases, populating fixture files, or creating test correlation IDs.
The UUID v7 generator produces time-ordered UUIDs — a newer format (draft-ietf-uuidrev-rfc4122bis) where the high bits encode a millisecond-precision Unix timestamp. This ordering property makes v7 UUIDs far better than v4 as database primary keys: they insert in roughly sequential order, reducing B-tree index fragmentation and improving write performance significantly compared to random v4 UUIDs. Database architects migrating from auto-increment IDs to UUIDs should prefer v7.
The UUID validator confirms that a string conforms to UUID format and identifies which version it is (v1, v3, v4, v5, v7) from the version nibble and variant bits. Developers debugging 'invalid UUID' errors in API responses use this to quickly confirm whether the ID was malformed by the client or rejected due to version-specific expectations.
ULID (Universally Unique Lexicographically Sortable Identifier) and NanoID are included as alternatives: ULID provides the same sortability as UUIDv7 with a more compact base32 representation; NanoID is a smaller, URL-safe format popular in JavaScript ecosystems.