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)

01a02304-dda4-71f0-a757-e6edd4ac185c
01a02304-dda4-73aa-b6fe-54e4bf3108fa
01a02304-dda4-74e2-909f-c83ed3a41e3f
01a02304-dda4-75fc-9a5e-32506d49ee02
01a02304-dda4-7713-95af-8dd1d4ae3cb7
01a02304-dda4-7829-abff-39966724540f
01a02304-dda4-7940-902f-1ff4f324b29d
01a02304-dda4-7a52-ac0c-edfc26928dd3
01a02304-dda4-7b69-88a7-bdaaab8b5add
01a02304-dda4-7c7b-a35e-164c89f768f3
01a02304-dda4-7d92-8357-0718a3f28eaf
01a02304-dda4-7ea4-8152-c3a82ff01ea5
01a02304-dda4-7fbb-86c4-50e8400b2547
01a02304-dda5-70cd-984d-63449b9bf966
01a02304-dda5-71e4-8ba0-34bc47cc4e3d

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)

1f19d2a0-1934-6872-9cc6-4cf95d479851
1f19d2a0-1934-6a66-9cc6-4cf95d479851
1f19d2a0-1934-6b56-9cc6-4cf95d479851
1f19d2a0-1934-6c32-9cc6-4cf95d479851
1f19d2a0-1934-6d04-9cc6-4cf95d479851
1f19d2a0-1934-6dcc-9cc6-4cf95d479851
1f19d2a0-1934-6e94-9cc6-4cf95d479851
1f19d2a0-1934-6f66-9cc6-4cf95d479851
1f19d2a0-1935-602e-9cc6-4cf95d479851
1f19d2a0-1935-6100-9cc6-4cf95d479851
1f19d2a0-1935-6268-9cc6-4cf95d479851
1f19d2a0-1935-6344-9cc6-4cf95d479851
1f19d2a0-1935-6416-9cc6-4cf95d479851
1f19d2a0-1935-64de-9cc6-4cf95d479851
1f19d2a0-1935-65ba-9cc6-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)

01935696-9d2a-11f1-9cc6-4cf95d479851
0193570e-9d2a-11f1-9cc6-4cf95d479851
0193577c-9d2a-11f1-9cc6-4cf95d479851
019357f4-9d2a-11f1-9cc6-4cf95d479851
01935894-9d2a-11f1-9cc6-4cf95d479851
0193592a-9d2a-11f1-9cc6-4cf95d479851
01935998-9d2a-11f1-9cc6-4cf95d479851
01935a06-9d2a-11f1-9cc6-4cf95d479851
01935a74-9d2a-11f1-9cc6-4cf95d479851
01935ad8-9d2a-11f1-9cc6-4cf95d479851
01935b46-9d2a-11f1-9cc6-4cf95d479851
01935bb4-9d2a-11f1-9cc6-4cf95d479851
01935c22-9d2a-11f1-9cc6-4cf95d479851
01935c90-9d2a-11f1-9cc6-4cf95d479851
01935d08-9d2a-11f1-9cc6-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)

07839438-8801-890e-87ea-5ce32bd83b97
f5fd9638-8801-890e-87ea-5ce32bd83b97
a34a9738-8801-890e-87ea-5ce32bd83b97
6b359838-8801-890e-87ea-5ce32bd83b97
ce969938-8801-890e-87ea-5ce32bd83b97
a67a9a38-8801-890e-87ea-5ce32bd83b97
ce169b38-8801-890e-87ea-5ce32bd83b97
948d9c38-8801-890e-87ea-5ce32bd83b97
d1489d38-8801-890e-87ea-5ce32bd83b97
d3bb9e38-8801-890e-87ea-5ce32bd83b97
6ccd9f38-8801-890e-87ea-5ce32bd83b97
83a0a038-8801-890e-87ea-5ce32bd83b97
f4a7a138-8801-890e-87ea-5ce32bd83b97
d3e9a238-8801-890e-87ea-5ce32bd83b97
ae3ea338-8801-890e-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)

e7e5fb60-587f-4d71-bb73-cb1152212225
57fcbaa0-18fb-46db-87be-361be3091674
871482bc-e34a-46df-a463-325a2f6814a2
5e830b55-b5d7-41d3-a352-3af914a8eff8
bab3ff6a-3116-401b-8101-697fdca9bf7c
dad1114a-c5f1-4bee-9677-cef69fdf311b
fa42b29f-9b1e-4a8d-bfd1-d4c7b3d7a292
e52e0753-a56c-40d3-b049-1c3768959185
581c127b-a05f-482b-9ff7-e4c995add562
35941c22-8db8-4f43-b42c-fa78a209f854
1d6ac0ff-d81b-47ef-8bd6-a2267d13baca
84da3ae7-ce0a-4b21-a2e4-3c424b799872
45330c5f-c26c-4828-bce5-a1d5492291af
7b379ef4-4678-4106-8e93-15f938c17545
c30c90f4-6947-48a0-b57f-c30f6f570e39

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: