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)

019e1dc9-797f-7821-b6c2-ba11bfb19fa9
019e1dc9-797f-79aa-8e92-44595a312814
019e1dc9-797f-7ae6-a968-58a84599323f
019e1dc9-797f-7c05-8b35-de7bd00b88c3
019e1dc9-797f-7d1b-a086-711491be5333
019e1dc9-797f-7e32-9f2c-2679ebe1eba1
019e1dc9-797f-7f4c-9279-d51bbe88945e
019e1dc9-7980-7063-9991-8dd8e0ca6c39
019e1dc9-7980-7179-8712-d4967db16c37
019e1dc9-7980-7290-b8a9-4a3503acb969
019e1dc9-7980-73a6-9655-695e2a6e1411
019e1dc9-7980-74b9-bc23-24f4f3f40918
019e1dc9-7980-75cf-bd9d-47e44fca77a3
019e1dc9-7980-76e6-87b4-4289d38143d4
019e1dc9-7980-77fc-b596-9436406d2f79

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)

1f14e3da-19b6-6f5c-8ab6-4cf95d479851
1f14e3da-19b7-60e2-8ab6-4cf95d479851
1f14e3da-19b7-61c8-8ab6-4cf95d479851
1f14e3da-19b7-629a-8ab6-4cf95d479851
1f14e3da-19b7-6358-8ab6-4cf95d479851
1f14e3da-19b7-6416-8ab6-4cf95d479851
1f14e3da-19b7-64d4-8ab6-4cf95d479851
1f14e3da-19b7-65ba-8ab6-4cf95d479851
1f14e3da-19b7-66a0-8ab6-4cf95d479851
1f14e3da-19b7-675e-8ab6-4cf95d479851
1f14e3da-19b7-689e-8ab6-4cf95d479851
1f14e3da-19b7-6970-8ab6-4cf95d479851
1f14e3da-19b7-6a2e-8ab6-4cf95d479851
1f14e3da-19b7-6aec-8ab6-4cf95d479851
1f14e3da-19b7-6baa-8ab6-4cf95d479851

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)

e3656559-a382-4c83-8e80-f267a616bb33
98e270f7-fb6f-4281-8773-80060f0123d3
002f139b-55d3-455c-aaa8-a54508d04135
7a2afac8-c7d0-4bb9-83e1-18772df3f5f7
604a0973-9aa7-4fde-934e-d2feadc48e49
1581de5c-dfe6-4a8e-8f45-6c6aeff78d1d
b5f8c5fb-b3f0-4949-bbd5-460a6dec5cd8
eef96792-24e8-49a5-bf94-1e9838beebf0
c60e37b2-ce1f-4126-9c94-71621a7503a5
49a5f468-e9cc-4c94-8623-a3b77cc1c736
e16855bb-0af6-43ee-9c18-e69f8f85c561
85fe6dd1-0e72-4419-8540-93c1e90a998c
10f0c28d-2008-4be4-a6ee-0afc9eab21ce
c26102bd-974c-4539-b747-0652d54845f2
7a029308-02ad-4beb-b532-0d5ab872d7f2

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)

a19b80d2-4e3d-11f1-8ab6-4cf95d479851
a19b8140-4e3d-11f1-8ab6-4cf95d479851
a19b81ae-4e3d-11f1-8ab6-4cf95d479851
a19b8212-4e3d-11f1-8ab6-4cf95d479851
a19b826c-4e3d-11f1-8ab6-4cf95d479851
a19b82da-4e3d-11f1-8ab6-4cf95d479851
a19b833e-4e3d-11f1-8ab6-4cf95d479851
a19b83a2-4e3d-11f1-8ab6-4cf95d479851
a19b8406-4e3d-11f1-8ab6-4cf95d479851
a19b8474-4e3d-11f1-8ab6-4cf95d479851
a19b84e2-4e3d-11f1-8ab6-4cf95d479851
a19b8546-4e3d-11f1-8ab6-4cf95d479851
a19b85b4-4e3d-11f1-8ab6-4cf95d479851
a19b8618-4e3d-11f1-8ab6-4cf95d479851
a19b8672-4e3d-11f1-8ab6-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)

ea23a617-b404-8408-87ea-5ce32bd83b97
c4c4a717-b404-8408-87ea-5ce32bd83b97
9eb9a817-b404-8408-87ea-5ce32bd83b97
bf73a917-b404-8408-87ea-5ce32bd83b97
d54eaa17-b404-8408-87ea-5ce32bd83b97
16ecab17-b404-8408-87ea-5ce32bd83b97
6f1dac17-b404-8408-87ea-5ce32bd83b97
0fb8ad17-b404-8408-87ea-5ce32bd83b97
c415ae17-b404-8408-87ea-5ce32bd83b97
fc54af17-b404-8408-87ea-5ce32bd83b97
c82ab017-b404-8408-87ea-5ce32bd83b97
d4f1b117-b404-8408-87ea-5ce32bd83b97
4fc0b217-b404-8408-87ea-5ce32bd83b97
9c4eb317-b404-8408-87ea-5ce32bd83b97
30f2b417-b404-8408-87ea-5ce32bd83b97

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: