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)

01a1a99c-cf9f-751f-a357-ecff36984eea
01a1a99c-cf9f-76b1-8b19-c750e68b99bc
01a1a99c-cf9f-77ec-b196-b95021653188
01a1a99c-cf9f-7907-971a-76f5bd4d88b1
01a1a99c-cf9f-7a21-8ce7-33e0c6aedabb
01a1a99c-cf9f-7b38-a2a7-6ba701cf0993
01a1a99c-cf9f-7c4e-ab80-89bf5461a74d
01a1a99c-cf9f-7d61-8565-5deeda2813af
01a1a99c-cf9f-7e73-aaee-29b690e4f97d
01a1a99c-cf9f-7f9e-b86e-f833b51e35af
01a1a99c-cfa0-70cd-a65f-27aa52c99cc7
01a1a99c-cfa0-71e8-a152-f6334ee33959
01a1a99c-cfa0-7307-b686-d37b6abb102d
01a1a99c-cfa0-7419-a785-4125dcc2bf77
01a1a99c-cfa0-7530-80f0-19c26f8932d4

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)

1f1d8c39-0efa-6a9a-a660-4cf95d479851
1f1d8c39-0efa-6c48-a660-4cf95d479851
1f1d8c39-0efa-6d2e-a660-4cf95d479851
1f1d8c39-0efa-6e00-a660-4cf95d479851
1f1d8c39-0efa-6ec8-a660-4cf95d479851
1f1d8c39-0efa-6f90-a660-4cf95d479851
1f1d8c39-0efb-604e-a660-4cf95d479851
1f1d8c39-0efb-6116-a660-4cf95d479851
1f1d8c39-0efb-61d4-a660-4cf95d479851
1f1d8c39-0efb-62a6-a660-4cf95d479851
1f1d8c39-0efb-63fa-a660-4cf95d479851
1f1d8c39-0efb-64d6-a660-4cf95d479851
1f1d8c39-0efb-6594-a660-4cf95d479851
1f1d8c39-0efb-665c-a660-4cf95d479851
1f1d8c39-0efb-671a-a660-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)

90efb800-d8c3-11f1-a660-4cf95d479851
90efb864-d8c3-11f1-a660-4cf95d479851
90efb8c8-d8c3-11f1-a660-4cf95d479851
90efb92c-d8c3-11f1-a660-4cf95d479851
90efb990-d8c3-11f1-a660-4cf95d479851
90efb9ea-d8c3-11f1-a660-4cf95d479851
90efba4e-d8c3-11f1-a660-4cf95d479851
90efbaa8-d8c3-11f1-a660-4cf95d479851
90efbb0c-d8c3-11f1-a660-4cf95d479851
90efbb70-d8c3-11f1-a660-4cf95d479851
90efbbca-d8c3-11f1-a660-4cf95d479851
90efbc38-d8c3-11f1-a660-4cf95d479851
90efbc9c-d8c3-11f1-a660-4cf95d479851
90efbd00-d8c3-11f1-a660-4cf95d479851
90efbd6e-d8c3-11f1-a660-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)

041cb430-aa00-8513-87ea-5ce32bd83b97
da24b530-aa00-8513-87ea-5ce32bd83b97
7f1eb630-aa00-8513-87ea-5ce32bd83b97
1676b730-aa00-8513-87ea-5ce32bd83b97
e428b830-aa00-8513-87ea-5ce32bd83b97
1b66b930-aa00-8513-87ea-5ce32bd83b97
a558ba30-aa00-8513-87ea-5ce32bd83b97
9e55bb30-aa00-8513-87ea-5ce32bd83b97
f84dbc30-aa00-8513-87ea-5ce32bd83b97
57a0bd30-aa00-8513-87ea-5ce32bd83b97
a479be30-aa00-8513-87ea-5ce32bd83b97
9d03bf30-aa00-8513-87ea-5ce32bd83b97
3c66c030-aa00-8513-87ea-5ce32bd83b97
4360c130-aa00-8513-87ea-5ce32bd83b97
c657c230-aa00-8513-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)

c285e2af-eb58-49d0-9740-496c4462545c
d7799972-0a96-4c63-a8a8-c95e7a705bb3
f28a1b65-9aac-43d1-945a-27010f431081
abe65294-d53a-4bb2-9a81-d8d66c827f72
a7f7b4eb-a64a-40e0-92e1-75961be6a5da
11d7bbb5-218c-40ce-b452-d04c0accf1ba
e95f894c-a9b1-4353-a704-1460ab04f8bb
dc81b6c8-33f1-4dea-98e3-a0891a0d250d
69af22bf-02df-4cf0-91d1-8f4122db0e04
4a9b7712-3bbd-4b97-85fd-242a828f9a84
808fbccf-70de-4293-aa7b-84c8be1a7f5c
06bede95-d944-4d89-8402-939f6e11d75e
c6da6b75-21cd-4dbd-8305-a1873e563aa1
d969c0ee-f899-4122-ad3a-a473e44b770f
142eead1-e8e4-49de-ba24-9f57f0d5c4ea

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: