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)

01a0fc5f-cf44-75cf-9ab0-ebc5bda8d94c
01a0fc5f-cf44-7779-a6fc-f258c876295d
01a0fc5f-cf44-78b9-9b18-3b217c0233c4
01a0fc5f-cf44-79d3-aa28-2aabfe1abbdc
01a0fc5f-cf44-7aee-b9ca-171ff2f7cd49
01a0fc5f-cf44-7c00-8662-588967b2e697
01a0fc5f-cf44-7d17-9440-e535ce4805b4
01a0fc5f-cf44-7e29-a63d-334e3a42de25
01a0fc5f-cf44-7f4c-b9a8-9b7fc33044d0
01a0fc5f-cf45-7063-ab80-121a899dcb30
01a0fc5f-cf45-7179-9597-f7ce0f8c85b1
01a0fc5f-cf45-7290-b99f-f676a5b2c344
01a0fc5f-cf45-73cb-88fc-0e8f6c6d5cc2
01a0fc5f-cf45-74ea-b3cd-b566ff46c3bb
01a0fc5f-cf45-7600-94a8-8d2cfe08b6f2

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)

1f1be547-211c-6a10-803e-4cf95d479851
1f1be547-211c-6bbe-803e-4cf95d479851
1f1be547-211c-6c9a-803e-4cf95d479851
1f1be547-211c-6d6c-803e-4cf95d479851
1f1be547-211c-6e2a-803e-4cf95d479851
1f1be547-211c-6ee8-803e-4cf95d479851
1f1be547-211c-6f9c-803e-4cf95d479851
1f1be547-211d-6064-803e-4cf95d479851
1f1be547-211d-6118-803e-4cf95d479851
1f1be547-211d-61d6-803e-4cf95d479851
1f1be547-211d-6316-803e-4cf95d479851
1f1be547-211d-63de-803e-4cf95d479851
1f1be547-211d-649c-803e-4cf95d479851
1f1be547-211d-655a-803e-4cf95d479851
1f1be547-211d-660e-803e-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)

7211d6e0-be54-11f1-803e-4cf95d479851
7211d744-be54-11f1-803e-4cf95d479851
7211d79e-be54-11f1-803e-4cf95d479851
7211d802-be54-11f1-803e-4cf95d479851
7211d85c-be54-11f1-803e-4cf95d479851
7211d8b6-be54-11f1-803e-4cf95d479851
7211d91a-be54-11f1-803e-4cf95d479851
7211d974-be54-11f1-803e-4cf95d479851
7211d9ce-be54-11f1-803e-4cf95d479851
7211da32-be54-11f1-803e-4cf95d479851
7211da8c-be54-11f1-803e-4cf95d479851
7211dae6-be54-11f1-803e-4cf95d479851
7211db4a-be54-11f1-803e-4cf95d479851
7211dba4-be54-11f1-803e-4cf95d479851
7211dbfe-be54-11f1-803e-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)

680e8c34-b102-8311-87ea-5ce32bd83b97
cbef8d34-b102-8311-87ea-5ce32bd83b97
65f78e34-b102-8311-87ea-5ce32bd83b97
c1e28f34-b102-8311-87ea-5ce32bd83b97
fb809034-b102-8311-87ea-5ce32bd83b97
857c9134-b102-8311-87ea-5ce32bd83b97
b1009334-b102-8311-87ea-5ce32bd83b97
4cfe9434-b102-8311-87ea-5ce32bd83b97
022c9534-b102-8311-87ea-5ce32bd83b97
49a19634-b102-8311-87ea-5ce32bd83b97
c9a59734-b102-8311-87ea-5ce32bd83b97
14469834-b102-8311-87ea-5ce32bd83b97
4bcf9934-b102-8311-87ea-5ce32bd83b97
efb39a34-b102-8311-87ea-5ce32bd83b97
98219b34-b102-8311-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)

c8e87fe8-82e7-45f8-8a03-37805092f82d
9f8acacb-cff3-4136-9fc1-fd1034b710b3
9b301024-6a27-4c59-8730-a5e12ddc9fee
27134a4f-bce9-426a-aef8-c4256a78f32d
552068b4-d91c-4362-935f-41d53327444d
d9cf1df6-ba35-4702-8a66-6ee9a71893e1
1416e91d-04d5-4713-a60b-72526bc85b38
e97c8f3e-6959-4c57-b944-33cb6e981986
170f25e0-6998-45fe-bade-3cd21e40bc27
07ae4b4c-748f-45b2-9124-ba179de4f3e9
27e3b467-2238-407d-8e3e-908cdd712b0f
5e6ef841-a2be-4e1a-81ef-a9389d16e3aa
98de5867-225e-4f9a-96c4-391d74b57953
aa8e548b-af86-47ca-924b-e4479bed2c0b
1c8f6611-4072-4a34-98ed-f049828cc2e0

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: