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)

019fa4d8-1ead-715d-af69-7e2d204638a6
019fa4d8-1ead-730f-9990-8d503731aac7
019fa4d8-1ead-7446-8451-0472beabf43f
019fa4d8-1ead-7561-be57-f9f0da176d99
019fa4d8-1ead-7677-b685-2dbbedee5419
019fa4d8-1ead-778e-b786-d8dac11cbb3c
019fa4d8-1ead-78fe-a3fd-63ba273587f7
019fa4d8-1ead-7a4a-b176-37a542dbada1
019fa4d8-1ead-7b69-a531-6310ae71121e
019fa4d8-1ead-7c7f-a3d6-4647eb4ce206
019fa4d8-1ead-7d96-85b4-5a5724875678
019fa4d8-1ead-7ea8-8069-2023fcb9e0a1
019fa4d8-1ead-7fbf-ad72-b07c12aee9c6
019fa4d8-1eae-70d1-ae25-99e944b841df
019fa4d8-1eae-71e8-b49f-f800c6b63925

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)

1f189e94-dafb-6726-afce-4cf95d479851
1f189e94-dafb-68d4-afce-4cf95d479851
1f189e94-dafb-69ce-afce-4cf95d479851
1f189e94-dafb-6aa0-afce-4cf95d479851
1f189e94-dafb-6b72-afce-4cf95d479851
1f189e94-dafb-6c44-afce-4cf95d479851
1f189e94-dafb-6d0c-afce-4cf95d479851
1f189e94-dafb-6dde-afce-4cf95d479851
1f189e94-dafb-6ea6-afce-4cf95d479851
1f189e94-dafb-6f6e-afce-4cf95d479851
1f189e94-dafc-613a-afce-4cf95d479851
1f189e94-dafc-6216-afce-4cf95d479851
1f189e94-dafc-62de-afce-4cf95d479851
1f189e94-dafc-63b0-afce-4cf95d479851
1f189e94-dafc-6478-afce-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)

4dafc554-89e9-11f1-afce-4cf95d479851
4dafc5b8-89e9-11f1-afce-4cf95d479851
4dafc61c-89e9-11f1-afce-4cf95d479851
4dafc680-89e9-11f1-afce-4cf95d479851
4dafc6e4-89e9-11f1-afce-4cf95d479851
4dafc748-89e9-11f1-afce-4cf95d479851
4dafc7ac-89e9-11f1-afce-4cf95d479851
4dafc806-89e9-11f1-afce-4cf95d479851
4dafc86a-89e9-11f1-afce-4cf95d479851
4dafc8ce-89e9-11f1-afce-4cf95d479851
4dafc93c-89e9-11f1-afce-4cf95d479851
4dafc9a0-89e9-11f1-afce-4cf95d479851
4dafc9fa-89e9-11f1-afce-4cf95d479851
4dafca5e-89e9-11f1-afce-4cf95d479851
4dafcac2-89e9-11f1-afce-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)

6d2be436-5704-800d-87ea-5ce32bd83b97
d005e536-5704-800d-87ea-5ce32bd83b97
27f7e636-5704-800d-87ea-5ce32bd83b97
db99e836-5704-800d-87ea-5ce32bd83b97
eabbe936-5704-800d-87ea-5ce32bd83b97
72a6ea36-5704-800d-87ea-5ce32bd83b97
104beb36-5704-800d-87ea-5ce32bd83b97
d1c2ec36-5704-800d-87ea-5ce32bd83b97
0304ed36-5704-800d-87ea-5ce32bd83b97
515fee36-5704-800d-87ea-5ce32bd83b97
3c38ef36-5704-800d-87ea-5ce32bd83b97
57e5f036-5704-800d-87ea-5ce32bd83b97
3801f136-5704-800d-87ea-5ce32bd83b97
1656f236-5704-800d-87ea-5ce32bd83b97
79d0f336-5704-800d-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)

2203179f-3f47-41fb-87e6-c72c931e76ef
6a3f3470-ad75-46c7-9893-0db991a797d8
1ae2e81b-cb28-4512-8236-088eb63aac77
3fe2d627-fd75-40b0-b849-cee1f55f2cf4
506bb255-112f-4401-b694-f455abea9cd8
4f9e618a-f11b-48bc-8db4-47c055a17c24
c70327cf-a8d0-4329-b791-0fa2741e09ce
fec1e8b3-08f5-48ea-88a5-c5b8f5bc4664
e3404bc2-2d0c-4d90-a504-08a3f105ff76
53b2a69c-79f9-473a-9d1d-b721b6106400
3f2c76d5-ebb2-48a3-959e-33c3337f1dae
921a8a8f-f43d-4fb8-b4d2-7f7542e03687
9023383f-c0ee-4f7a-b5ce-bfb2cbb48182
2a682bed-e89f-471a-b492-5dc91b06acc9
dd89129f-a20f-48bd-8ca6-36555f90ffd6

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: