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)

019a820a-a2cb-7c5f-8bc3-fb5c9e0e01ad
019a820a-a2cb-7dec-9a1c-5ebe0457294a
019a820a-a2cb-7f30-95e8-24c3d7d23362
019a820a-a2cc-7052-8e7b-7dc2880b2e88
019a820a-a2cc-7171-8335-ba38f214494b
019a820a-a2cc-7290-ba44-f9d42ab7f6a5
019a820a-a2cc-73aa-bc5b-b2dd407a3d72
019a820a-a2cc-74c9-9751-7c0baabc35bc
019a820a-a2cc-75e4-a67c-397728e59d8a
019a820a-a2cc-76fe-bb99-e821d7c8c096
019a820a-a2cc-7819-9fab-c157b8b933ad
019a820a-a2cc-7934-a82b-08149a5a1cf2
019a820a-a2cc-7a52-8eb9-60389b3e86a8
019a820a-a2cc-7b6d-8e20-253319f57eef
019a820a-a2cc-7ce2-81dd-f420d46ef2b9

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)

1f0c149d-2f8a-64a6-98bf-4cf95d479851
1f0c149d-2f8a-6672-98bf-4cf95d479851
1f0c149d-2f8a-6762-98bf-4cf95d479851
1f0c149d-2f8a-6848-98bf-4cf95d479851
1f0c149d-2f8a-6924-98bf-4cf95d479851
1f0c149d-2f8a-69f6-98bf-4cf95d479851
1f0c149d-2f8a-6ac8-98bf-4cf95d479851
1f0c149d-2f8a-6b9a-98bf-4cf95d479851
1f0c149d-2f8a-6c6c-98bf-4cf95d479851
1f0c149d-2f8a-6d34-98bf-4cf95d479851
1f0c149d-2f8a-6e7e-98bf-4cf95d479851
1f0c149d-2f8a-6f50-98bf-4cf95d479851
1f0c149d-2f8b-6022-98bf-4cf95d479851
1f0c149d-2f8b-60f4-98bf-4cf95d479851
1f0c149d-2f8b-61c6-98bf-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)

69fa0234-9761-413f-9761-88d599296195
c2f86007-3022-4119-b594-8af1deb6027b
5567dce0-6cf1-4601-b36d-fe9bd8a26c73
f943c0ad-eb59-4a82-919f-f0bf6b3ed67a
5cf2ff1c-333f-404b-889a-41e80a5eb755
f4fdc70d-70c4-496f-81b7-d8e529dbd3d7
1f938e23-947e-474a-863d-1a4964be80f6
8a377f79-f39f-4b3c-8d8a-7351de16293f
0519c8b9-77ee-43bc-a4f9-f6148d42dc47
1a3d66a5-8a3c-4e53-a3f6-cf374a6b20ff
b9507116-85e9-46d4-9d0d-300ee9d1d8b5
e9da8437-2733-4886-a6b8-a9f2201f9c57
5575ec67-99d1-4cf3-9dba-5e8aa440404e
6cb1e856-e88d-4ed7-9124-5417baa5a7d5
d651e546-3a6f-4b32-9b7e-d683c7d463b4

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)

d2f8b702-c149-11f0-98bf-4cf95d479851
d2f8b770-c149-11f0-98bf-4cf95d479851
d2f8b7d4-c149-11f0-98bf-4cf95d479851
d2f8b838-c149-11f0-98bf-4cf95d479851
d2f8b89c-c149-11f0-98bf-4cf95d479851
d2f8b900-c149-11f0-98bf-4cf95d479851
d2f8b964-c149-11f0-98bf-4cf95d479851
d2f8b9c8-c149-11f0-98bf-4cf95d479851
d2f8ba2c-c149-11f0-98bf-4cf95d479851
d2f8ba9a-c149-11f0-98bf-4cf95d479851
d2f8bb08-c149-11f0-98bf-4cf95d479851
d2f8bb76-c149-11f0-98bf-4cf95d479851
d2f8bbda-c149-11f0-98bf-4cf95d479851
d2f8bc48-c149-11f0-98bf-4cf95d479851
d2f8bcac-c149-11f0-98bf-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)

43547a1a-9a02-8e13-87e9-5ce32bd83b97
9f597b1a-9a02-8e13-87e9-5ce32bd83b97
d68b7c1a-9a02-8e13-87e9-5ce32bd83b97
a1217d1a-9a02-8e13-87e9-5ce32bd83b97
97ef7e1a-9a02-8e13-87e9-5ce32bd83b97
5f757f1a-9a02-8e13-87e9-5ce32bd83b97
b52e801a-9a02-8e13-87e9-5ce32bd83b97
6829811a-9a02-8e13-87e9-5ce32bd83b97
7ffb821a-9a02-8e13-87e9-5ce32bd83b97
bd5d831a-9a02-8e13-87e9-5ce32bd83b97
2f96841a-9a02-8e13-87e9-5ce32bd83b97
6359851a-9a02-8e13-87e9-5ce32bd83b97
1381861a-9a02-8e13-87e9-5ce32bd83b97
5d80871a-9a02-8e13-87e9-5ce32bd83b97
0f00881a-9a02-8e13-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: