ZapKit

UUID Generator

Generate random v4 or time-ordered v7 UUIDs in bulk, formatted the way your code needs, and inspect any UUID to see its version and timestamp.

What is a UUID?

A UUID, universally unique identifier, is a 128-bit value written as 32 hexadecimal digits in five groups, like 3b241101-e2bb-4255-8caf-4136c566a962. Systems create them independently, without a central counter, and can be confident they'll never clash, which makes them ideal as database keys, file names, request IDs and API resource IDs.

This generator creates random version 4 UUIDs or time-ordered version 7 UUIDs, up to 500 at a time, in the format you need. Randomness comes from your browser's cryptographic generator. The checker reads any UUID's version, variant and, for time-based versions, the moment it was created.

How to use the UUID Generator

  1. 1.Pick a version

    Version 4 for random IDs; version 7 for IDs that sort by creation time.

  2. 2.Choose count and format

    Up to 500 at once, with or without hyphens, in upper case or wrapped in braces.

  3. 3.Copy or download

    Copy all, or download a .txt file with one UUID per line.

Example: reading a v7 UUID

A version 7 UUID created at noon UTC on 3 November 2026 starts with the timestamp:

UUID
01a1a147-ce00-7…
First 48 bits
0x01a1a147ce00 = 1793707200000 ms
Created
2026-11-03T12:00:00.000Z
Version digit
7 (the 13th hex digit)

A v4 UUID has a 4 in the same place and no timestamp at all.

Version 4 or version 7?

UUIDs are 128-bit identifiers defined in RFC 9562, which replaced RFC 4122 in 2024. Version 4 is 122 random bits; the chance of two ever colliding is negligible: you'd need to generate about 2.7 quintillion before a 50% chance of one duplicate.

Version 7 puts a millisecond Unix timestamp in the first 48 bits and fills the rest with random bits, so new IDs sort after old ones. That keeps database indexes compact, which is why many teams now prefer v7 for primary keys.

Frequently asked questions

Is a UUID the same as a GUID?

Yes. GUID is Microsoft's name for the same 128-bit identifier, often written in upper case inside braces.

Can two v4 UUIDs be the same?

In theory, but the odds are so small it isn't a practical concern.

Should I use v7 for database keys?

It's a good choice: v7 IDs are unique like v4 but arrive in time order, which databases index more efficiently.

Does a v7 UUID reveal when it was made?

Yes, to the millisecond. Paste one into the checker to see. Use v4 if that matters.

More Utilities tools