UUID & MAC Utils by Daniel Marschall

View the source code

Overview

Generate random and/or time-based UUIDs

New: Generate Unix Epoch time-based (version 7) UUID ⭐

A UUIDv7 measures time in the Unix Epoch with an accuracy between 1ms and 245ns, depending on how many bits are spent for the timestamp (48-60 bits). The rest of the UUID (62-74 bits) is filled with random data. The timestamp is at the front of the UUID, therefore the UUIDs are monotonically increasing, which is good for using them in database indexes. Since this UUID version does not contain a MAC address, it is also recommended due to the improved privacy.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

019ee667-a7ab-79bf-8664-4d8228c3b137
019ee667-a7ab-7b82-af8a-dfe9ee544b4b
019ee667-a7ab-7cbd-856b-87220d211920
019ee667-a7ab-7dd8-a03c-71f307c636e0
019ee667-a7ab-7ef2-a98e-953704c1fea4
019ee667-a7ab-7009-b41c-7d4304c260f1
019ee667-a7ac-711f-a592-e3a8cbfb211b
019ee667-a7ac-7236-a9c5-28c7843425b1
019ee667-a7ac-734c-88aa-234580ca5cfc
019ee667-a7ac-745f-82fb-08819c694af0
019ee667-a7ac-7575-92d4-19e0802f01e4
019ee667-a7ac-7688-81bd-d5cede727283
019ee667-a7ac-779a-8500-8733e612e6b5
019ee667-a7ac-78b1-83ab-ee31b7cf6974
019ee667-a7ac-79c7-a82f-571c7c835334

New: Generate reordered Gregorian time-based (version 6) UUID ⏰

Like UUIDv1, this kind of UUID is made of the MAC address of the generating computer, the time, and a clock sequence. However, the components in UUIDv6 are reordered (time is at the beginning), so that UUIDs are monotonically increasing, which is good for using them in database indexes.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

1f16cda4-4870-6d42-afdf-4cf95d479851
1f16cda4-4870-6efa-afdf-4cf95d479851
1f16cda4-4870-6fea-afdf-4cf95d479851
1f16cda4-4871-60b2-afdf-4cf95d479851
1f16cda4-4871-617a-afdf-4cf95d479851
1f16cda4-4871-6238-afdf-4cf95d479851
1f16cda4-4871-62f6-afdf-4cf95d479851
1f16cda4-4871-63be-afdf-4cf95d479851
1f16cda4-4871-6486-afdf-4cf95d479851
1f16cda4-4871-6544-afdf-4cf95d479851
1f16cda4-4871-66a2-afdf-4cf95d479851
1f16cda4-4871-676a-afdf-4cf95d479851
1f16cda4-4871-6832-afdf-4cf95d479851
1f16cda4-4871-68f0-afdf-4cf95d479851
1f16cda4-4871-69b8-afdf-4cf95d479851

Generate Gregorian time-based (version 1) UUID ⏰

A UUIDv1 is made of the MAC address of the generating computer, the time, and a clock sequence.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

44871a8a-6cda-11f1-afdf-4cf95d479851
44871af8-6cda-11f1-afdf-4cf95d479851
44871b5c-6cda-11f1-afdf-4cf95d479851
44871bc0-6cda-11f1-afdf-4cf95d479851
44871c1a-6cda-11f1-afdf-4cf95d479851
44871c7e-6cda-11f1-afdf-4cf95d479851
44871ce2-6cda-11f1-afdf-4cf95d479851
44871d3c-6cda-11f1-afdf-4cf95d479851
44871d96-6cda-11f1-afdf-4cf95d479851
44871df0-6cda-11f1-afdf-4cf95d479851
44871e5e-6cda-11f1-afdf-4cf95d479851
44871ec2-6cda-11f1-afdf-4cf95d479851
44871f1c-6cda-11f1-afdf-4cf95d479851
44871f80-6cda-11f1-afdf-4cf95d479851
44871fe4-6cda-11f1-afdf-4cf95d479851

Generate SQL Server sortable time-based (version 8) UUID

The sorting of UUIDs in SQL Server is rather confusing and incompatible with UUIDv6 and UUIDv7.
Therefore this method developed by HickelSOFT generates UUIDs which are sortable by SQL Server.
They have a time resolution of 1 milliseconds combined with 16 bits of random data.

C# implementation | PHP implementation

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

ea895b0d-7504-8b0a-87ea-5ce32bd83b97
ef635c0d-7504-8b0a-87ea-5ce32bd83b97
33f15d0d-7504-8b0a-87ea-5ce32bd83b97
8b8b5e0d-7504-8b0a-87ea-5ce32bd83b97
369b5f0d-7504-8b0a-87ea-5ce32bd83b97
2f6f600d-7504-8b0a-87ea-5ce32bd83b97
69ab610d-7504-8b0a-87ea-5ce32bd83b97
8dad620d-7504-8b0a-87ea-5ce32bd83b97
d308630d-7504-8b0a-87ea-5ce32bd83b97
2564650d-7504-8b0a-87ea-5ce32bd83b97
0bcd660d-7504-8b0a-87ea-5ce32bd83b97
d4a3670d-7504-8b0a-87ea-5ce32bd83b97
b838680d-7504-8b0a-87ea-5ce32bd83b97
cb2e690d-7504-8b0a-87ea-5ce32bd83b97
a0416a0d-7504-8b0a-87ea-5ce32bd83b97

Generate random (version 4) UUID 🎲

A UUIDv4 is made of 122 random bits. No other information is encoded in this kind of UUID.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

7001a6a6-48c9-4d3a-801d-5f041695d1c1
0bbd18a4-b84d-4279-a2ff-f55c7c3365f6
803e960b-cb62-4db5-8384-276d1b451819
28237dec-cef1-43be-a242-87ae5dbc4b6c
e282d7d0-07e4-46cd-9f2d-009af5a39409
3ae5a913-3ec5-4096-af48-1d6e8b4555a4
bbe50b3d-224e-41fc-b5ea-2c328e5eeb6b
f2601db3-6789-452f-8fd8-dff6d5c014eb
beaed9d4-5d60-47c4-b337-7af1346e73a8
960f2d28-6a4e-4311-9b00-bdded2010fb4
601976dc-ee82-42b6-a58c-2da324a9a2fd
b7a69222-87b4-4c49-8beb-9e12ad3f890d
c5b68ccc-a9a9-489d-8579-ce994ff16efe
e38b4946-b1b4-452c-98bc-9bd6806f34a8
e643b392-0d13-44c2-9a9a-db8a6751d3a0

Generate other UUID types

The following types of UUIDs are less common and/or require special knowledge. Please only use the following generators if you know what you are doing.

NCS (variant 0) UUID

The NCS UUIDs are a legacy format initially designed by Apollo Computer that cannot be generated anymore, because the amount of available timestamp bits was exhausted on 5 September 2015. As an example, here is the last possible NCS UUID (all bits of the timestamp are set to 1) for IP address 127.0.0.1: ffffffff-ffff-0000-027f-000001000000.

Show format

Generate DCE Security (version 2) UUID

A UUIDv2 contains information about the creator (person, group, or organization), the generating system (MAC address), and time. The creator information replaced parts of the time bits, therefore the time resolution is very low.

Show format

= Address Family ID: (decimal notation)
(decimal notation)
Warning: The timestamp has an accuracy of 7:10 minutes, therefore the uniqueness of these UUIDs is not guaranteed!

Generate name-based (version 3 / 5 / New: 8) UUID

A UUIDv3 is made out of a MD5 hash and a UUIDv5 is made out of a SHA1 hash. RFC 9562 also contains an example for a custom UUIDv8 implementation that uses modern hash algorithms.

Show format


= Namespace UUID:

Warning: These UUIDs do not contain a timestamp, therefore the uniqueness of these UUIDs is not guaranteed!

New: Generate Custom (version 8) UUID

UUIDv8 is made of 122 bits application-specific / custom data. The other 6 bits are used to specify the variant and version of the UUID, to make it RFC-compatible.

Show format

0x = Decimal
0x = Decimal
0x = Decimal
0x = Decimal
0x = Decimal
Warning: These UUIDs do not contain a timestamp, therefore the uniqueness of these UUIDs is not guaranteed!

Interpret a UUID

You can enter a UUID in the following notations:

The script will output:

Please enter a UUID or UUID OID:

Interpret a MAC address (MAC / EUI / ELI / SAI / AAI)

You can enter a UUID in the following notations:

The script will output:

Please enter a MAC (EUI, ELI, SAI, AAI), or IPv6-Link-Local address:

Generate an AAI

An Administratively Assigned Identifier (AAI) is a MAC address which can be locally defined by applications or an administrator. Unlike the EUI, an AAI is NOT worldwide unique.


The following options are rather unusual, but are implemented for the sake of completeness: