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)

019cb659-547c-7907-8245-7b212b2586ff
019cb659-547c-7a9c-ac2b-454de0476100
019cb659-547c-7be0-8435-5cde5f930e1a
019cb659-547c-7d03-a26a-549a76c65763
019cb659-547c-7e1d-a3e5-7ed58aa7c23d
019cb659-547c-7f3c-9879-7773ead86f44
019cb659-547d-7057-a6f2-8e2eec7cebf2
019cb659-547d-7171-bfd6-ca3f1432ac35
019cb659-547d-728c-82e4-ffa204043a85
019cb659-547d-73a6-9eb4-c5c2557ad1b9
019cb659-547d-74c1-81a5-e4196dcc3975
019cb659-547d-75f8-94f4-f8d99c429c34
019cb659-547d-7740-96b6-8d9477e6d741
019cb659-547d-7898-8bf1-56ea92f9ddde
019cb659-547d-79ec-9d83-c45d245d4023

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)

1f117651-4f5a-6f9a-9825-4cf95d479851
1f117651-4f5b-6206-9825-4cf95d479851
1f117651-4f5b-63b4-9825-4cf95d479851
1f117651-4f5b-6526-9825-4cf95d479851
1f117651-4f5b-667a-9825-4cf95d479851
1f117651-4f5b-67d8-9825-4cf95d479851
1f117651-4f5b-6936-9825-4cf95d479851
1f117651-4f5b-6a94-9825-4cf95d479851
1f117651-4f5b-6bca-9825-4cf95d479851
1f117651-4f5b-6d1e-9825-4cf95d479851
1f117651-4f5b-6f08-9825-4cf95d479851
1f117651-4f5c-6066-9825-4cf95d479851
1f117651-4f5c-61b0-9825-4cf95d479851
1f117651-4f5c-6304-9825-4cf95d479851
1f117651-4f5c-6462-9825-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)

47c6e4d9-4a17-4fd7-b8cc-9301d25f02bb
2572d1f1-d7f0-4789-89ea-66ebb13f1ace
a3d58e69-274d-468c-aaeb-7c29468cf273
0c208872-f669-4f22-b197-f0b606c3d6b6
adc13161-5c57-4e36-a106-59480cdefd0a
c0bce340-34e4-4bdc-9aa8-e8e4523446d6
2a19b4e0-8b2c-41c8-91ce-fb896744879d
8a51cf1c-e5aa-4812-a581-fce5da5b836c
5eef55c6-8188-44c8-a73a-e5602bd7f9aa
66809df9-ea98-4994-8db3-9cb9eb53d301
4d254f6f-5e78-4ab3-87e2-e0e673f821db
6a5c213c-61ec-476a-9c80-ccb01387494d
e4f68a08-30f1-4068-a40e-a08c26d40396
d4f75031-c8ae-485f-98f0-eacf42a04476
ea687f65-4959-41af-9eab-cf158d915c6f

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)

14f5cc14-1765-11f1-9825-4cf95d479851
14f5ccbe-1765-11f1-9825-4cf95d479851
14f5cd68-1765-11f1-9825-4cf95d479851
14f5ce08-1765-11f1-9825-4cf95d479851
14f5ceb2-1765-11f1-9825-4cf95d479851
14f5cf52-1765-11f1-9825-4cf95d479851
14f5cffc-1765-11f1-9825-4cf95d479851
14f5d092-1765-11f1-9825-4cf95d479851
14f5d13c-1765-11f1-9825-4cf95d479851
14f5d1dc-1765-11f1-9825-4cf95d479851
14f5d268-1765-11f1-9825-4cf95d479851
14f5d312-1765-11f1-9825-4cf95d479851
14f5d3b2-1765-11f1-9825-4cf95d479851
14f5d452-1765-11f1-9825-4cf95d479851
14f5d4f2-1765-11f1-9825-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)

f44b990d-3a00-8f03-87ea-5ce32bd83b97
22939a0d-3a00-8f03-87ea-5ce32bd83b97
4e1f9b0d-3a00-8f03-87ea-5ce32bd83b97
01759c0d-3a00-8f03-87ea-5ce32bd83b97
89449d0d-3a00-8f03-87ea-5ce32bd83b97
97fb9e0d-3a00-8f03-87ea-5ce32bd83b97
86919f0d-3a00-8f03-87ea-5ce32bd83b97
568da00d-3a00-8f03-87ea-5ce32bd83b97
7a5da10d-3a00-8f03-87ea-5ce32bd83b97
61cca20d-3a00-8f03-87ea-5ce32bd83b97
ee5aa30d-3a00-8f03-87ea-5ce32bd83b97
9b7ba40d-3a00-8f03-87ea-5ce32bd83b97
3996a50d-3a00-8f03-87ea-5ce32bd83b97
e77da60d-3a00-8f03-87ea-5ce32bd83b97
f2d1a70d-3a00-8f03-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: