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)

019dc732-d199-7290-9b3e-4fda8d9478e8
019dc732-d199-7436-a1e4-0c1f3bad7aa4
019dc732-d199-757d-80ca-d87d955c2603
019dc732-d199-76a0-8535-a583ceeaf349
019dc732-d199-7927-9a8c-85958061a33a
019dc732-d199-7a63-a562-3c4528531b11
019dc732-d199-7b86-86e2-33da16fd6da1
019dc732-d199-7ca0-ad6d-2746cdd97f9b
019dc732-d199-7dbb-b079-ba3b802bde22
019dc732-d199-7ed5-9a4c-036efb186dc1
019dc732-d199-7ff0-96c7-3523222b1b40
019dc732-d19a-7107-a51e-8645db5ea164
019dc732-d19a-7221-99ce-212737cb7ce7
019dc732-d19a-7340-9717-1dc176465a18
019dc732-d19a-745b-a3b7-508579d1688c

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)

1f141074-49cd-6e28-87d4-4cf95d479851
1f141074-49cd-6fc2-87d4-4cf95d479851
1f141074-49ce-60b2-87d4-4cf95d479851
1f141074-49ce-6184-87d4-4cf95d479851
1f141074-49ce-624c-87d4-4cf95d479851
1f141074-49ce-6314-87d4-4cf95d479851
1f141074-49ce-63d2-87d4-4cf95d479851
1f141074-49ce-649a-87d4-4cf95d479851
1f141074-49ce-6558-87d4-4cf95d479851
1f141074-49ce-6616-87d4-4cf95d479851
1f141074-49ce-6760-87d4-4cf95d479851
1f141074-49ce-6828-87d4-4cf95d479851
1f141074-49ce-68e6-87d4-4cf95d479851
1f141074-49ce-69ae-87d4-4cf95d479851
1f141074-49ce-6a62-87d4-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)

280ea87c-c216-4d30-b63f-57edeaca3c81
dc6e482c-b1fe-4e9a-9da7-2d75016dd584
a6c17556-4b30-439e-a3d6-1582cfd44e2f
4ede55a1-71ab-468f-8c4c-1475e6720c8a
dbf0b78f-ab96-474e-9fc0-8827827dbba3
0b013cd3-d3f8-4cba-8af2-ac4c86dec882
245ea1d5-ee96-450a-9ab2-f968da4c0b5f
cc8ebb5f-4302-4b12-90cb-8f487fa40764
b74eab3a-b2ce-42d2-a2d6-ab0fdc8ce711
7da9e2f5-88a1-42f7-b6eb-aa1de926d269
42573e5d-0f3b-483f-a9c2-9c76f6be7a55
5a3aa429-e2e6-494e-a123-e5cb8f9be8c5
6e6fcf3a-834a-4f55-b3eb-5ac25a981a8c
f786ddb3-7fea-49a0-82d5-8069ca9ac1f2
bf2b253b-0fa9-481d-b268-fedd9f6237d0

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)

449cef8a-4107-11f1-87d4-4cf95d479851
449cefee-4107-11f1-87d4-4cf95d479851
449cf052-4107-11f1-87d4-4cf95d479851
449cf0b6-4107-11f1-87d4-4cf95d479851
449cf11a-4107-11f1-87d4-4cf95d479851
449cf17e-4107-11f1-87d4-4cf95d479851
449cf1ec-4107-11f1-87d4-4cf95d479851
449cf250-4107-11f1-87d4-4cf95d479851
449cf2aa-4107-11f1-87d4-4cf95d479851
449cf318-4107-11f1-87d4-4cf95d479851
449cf37c-4107-11f1-87d4-4cf95d479851
449cf3ea-4107-11f1-87d4-4cf95d479851
449cf44e-4107-11f1-87d4-4cf95d479851
449cf4b2-4107-11f1-87d4-4cf95d479851
449cf520-4107-11f1-87d4-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)

40eab01d-2000-8407-87ea-5ce32bd83b97
a08db11d-2000-8407-87ea-5ce32bd83b97
d67db21d-2000-8407-87ea-5ce32bd83b97
e718b31d-2000-8407-87ea-5ce32bd83b97
b4fcb41d-2000-8407-87ea-5ce32bd83b97
bfd4b51d-2000-8407-87ea-5ce32bd83b97
4baeb71d-2000-8407-87ea-5ce32bd83b97
a3b6b81d-2000-8407-87ea-5ce32bd83b97
6566b91d-2000-8407-87ea-5ce32bd83b97
62f1ba1d-2000-8407-87ea-5ce32bd83b97
c334bb1d-2000-8407-87ea-5ce32bd83b97
4d08bc1d-2000-8407-87ea-5ce32bd83b97
1870bd1d-2000-8407-87ea-5ce32bd83b97
585abe1d-2000-8407-87ea-5ce32bd83b97
6b20bf1d-2000-8407-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: