UUID Generator

Generate random UUIDs (v4) and sortable UUIDs (v7) instantly. Copy single or batch-generate multiple UUIDs at once.

Your data never leaves your browser

How to Use

  1. 1

    Select a UUID version

    Choose v4 (random) for general-purpose use or v7 (sortable) for time-ordered identifiers.

  2. 2

    Click Generate

    A new UUID is generated instantly in your browser using the Web Crypto API.

  3. 3

    Copy or batch generate

    Click Copy to copy the UUID, or use Generate 10 to create multiple UUIDs at once.

What is UUID Generator?

A UUID (Universally Unique Identifier) is a 128-bit identifier that is guaranteed to be unique across space and time without requiring a central registration authority. UUIDs are represented as 32 hexadecimal digits separated by hyphens in the format 8-4-4-4-12.

Version 4 UUIDs are generated using random or pseudo-random numbers and are the most commonly used type. Version 7 UUIDs embed a Unix timestamp in the first 48 bits, making them sortable by creation time while still being unique — ideal for database primary keys where insertion order matters.

UUIDs are used as database primary keys, API resource identifiers, session tokens, correlation IDs for distributed tracing, file names, and anywhere a globally unique identifier is needed without coordination.

FAQ

What is the difference between UUID and GUID?
They are the same thing. UUID is the standard term (RFC 4122), while GUID (Globally Unique Identifier) is Microsoft's term. The format and generation algorithms are identical.
Can UUIDs collide?
Theoretically yes, but the probability is astronomically low. For v4 UUIDs, you would need to generate about 2.71 quintillion (2.71 × 10^18) UUIDs to have a 50% chance of a single collision.
When should I use v7 instead of v4?
Use v7 when you need UUIDs that are sortable by creation time, such as database primary keys where insert order matters for index performance. Use v4 when order doesn't matter.

Related Articles

Related Tools