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)

019cbff4-076b-7759-87c0-3a08a88bc3c2
019cbff4-076b-791b-a641-06b05278abc4
019cbff4-076b-7a63-8954-f618eb3e4051
019cbff4-076b-7c88-909a-fee82ecba5a0
019cbff4-076b-7dd8-b58f-1081378ccbb1
019cbff4-076b-7ef6-ad97-b260728557a7
019cbff4-076c-7011-ab0f-5e39d5ebd44f
019cbff4-076c-712c-8482-12ef453de6cb
019cbff4-076c-7246-a4fb-4aaf03e311c1
019cbff4-076c-735d-8431-97cfe5ec7803
019cbff4-076c-7473-92c3-fa6d06fa72d6
019cbff4-076c-758a-a1f6-23c8155d4b11
019cbff4-076c-76a4-ab7a-b38894b80b1a
019cbff4-076c-77bf-9b66-a89550b6b5f6
019cbff4-076c-7903-8204-96d7e2e63c4d

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)

1f118dc3-fe34-665e-9e1f-4cf95d479851
1f118dc3-fe34-67ee-9e1f-4cf95d479851
1f118dc3-fe34-6910-9e1f-4cf95d479851
1f118dc3-fe34-69ec-9e1f-4cf95d479851
1f118dc3-fe34-6ab4-9e1f-4cf95d479851
1f118dc3-fe34-6b7c-9e1f-4cf95d479851
1f118dc3-fe34-6c3a-9e1f-4cf95d479851
1f118dc3-fe34-6d02-9e1f-4cf95d479851
1f118dc3-fe34-6dc0-9e1f-4cf95d479851
1f118dc3-fe34-6e88-9e1f-4cf95d479851
1f118dc3-fe35-6018-9e1f-4cf95d479851
1f118dc3-fe35-60ea-9e1f-4cf95d479851
1f118dc3-fe35-61a8-9e1f-4cf95d479851
1f118dc3-fe35-6270-9e1f-4cf95d479851
1f118dc3-fe35-632e-9e1f-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)

113e54e3-e573-4137-a290-2ad49257090b
afd312cc-1815-4ba7-a6dd-ace0aeb92aa9
433ea99e-a078-4753-9c8e-e8b7bfdb0f96
5a673b92-3c5c-4a8b-8554-fbf4439f8adf
ef247644-0f0c-4d1e-99be-2ce6bf8f420a
7bb891c2-79ac-43ca-9450-3ba4367e61c4
ef01d810-0f6a-41b0-bf42-b4909e6aaf13
5b793b4a-ad48-4a09-b6c9-0e8782fbad7d
f0fafd5b-a6cb-4f85-9dcc-3b31b9611029
52cbb2c4-e05c-4f17-88a5-2702ddc47a68
58306942-e901-43e8-b24b-b1559ede8766
02b15100-bb83-4ee8-be7d-9c9bc21b5716
187f273a-ebfe-4d42-8d30-1f8182cc5830
fdeb2d61-b245-4ef6-8855-27c5d74c87cc
52e6e090-5c7d-4ac7-a2a3-86b84d1dab35

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)

3fe35860-18dc-11f1-9e1f-4cf95d479851
3fe358c4-18dc-11f1-9e1f-4cf95d479851
3fe35932-18dc-11f1-9e1f-4cf95d479851
3fe359a0-18dc-11f1-9e1f-4cf95d479851
3fe35a04-18dc-11f1-9e1f-4cf95d479851
3fe35a68-18dc-11f1-9e1f-4cf95d479851
3fe35ad6-18dc-11f1-9e1f-4cf95d479851
3fe35b3a-18dc-11f1-9e1f-4cf95d479851
3fe35b9e-18dc-11f1-9e1f-4cf95d479851
3fe35c02-18dc-11f1-9e1f-4cf95d479851
3fe35c66-18dc-11f1-9e1f-4cf95d479851
3fe35cca-18dc-11f1-9e1f-4cf95d479851
3fe35d2e-18dc-11f1-9e1f-4cf95d479851
3fe35d92-18dc-11f1-9e1f-4cf95d479851
3fe35df6-18dc-11f1-9e1f-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)

c795e42e-1705-8004-87ea-5ce32bd83b97
05f5e52e-1705-8004-87ea-5ce32bd83b97
872ee62e-1705-8004-87ea-5ce32bd83b97
75e5e72e-1705-8004-87ea-5ce32bd83b97
8007e82e-1705-8004-87ea-5ce32bd83b97
4799e92e-1705-8004-87ea-5ce32bd83b97
164aea2e-1705-8004-87ea-5ce32bd83b97
e80eeb2e-1705-8004-87ea-5ce32bd83b97
532cec2e-1705-8004-87ea-5ce32bd83b97
5410ed2e-1705-8004-87ea-5ce32bd83b97
4442ee2e-1705-8004-87ea-5ce32bd83b97
9356ef2e-1705-8004-87ea-5ce32bd83b97
2c6df02e-1705-8004-87ea-5ce32bd83b97
4833f12e-1705-8004-87ea-5ce32bd83b97
904af22e-1705-8004-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: