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)

019fbf4a-aa96-790f-8975-7bd166e09858
019fbf4a-aa96-7a98-aa10-75077797fce0
019fbf4a-aa96-7bcf-b9e3-7bf972516a22
019fbf4a-aa96-7cee-bd7d-5339501827cb
019fbf4a-aa96-7e05-b294-a22b44eb801b
019fbf4a-aa96-7f17-a286-8377b8af946f
019fbf4a-aa97-7029-87e8-7e24c0784e39
019fbf4a-aa97-713c-aedb-2981731b459e
019fbf4a-aa97-724e-b597-ec8d3e35dc41
019fbf4a-aa97-7361-8c3f-a7d470103d15
019fbf4a-aa97-7473-bd63-def9639b2003
019fbf4a-aa97-7592-8ab6-7724a12f6a98
019fbf4a-aa97-76a8-9b54-e7c7ba9badba
019fbf4a-aa97-77bb-bf70-5a2243c06729
019fbf4a-aa97-78cd-87ed-b1ef8b7d7c06

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)

1f18df26-8290-63ca-b32b-4cf95d479851
1f18df26-8290-658c-b32b-4cf95d479851
1f18df26-8290-6672-b32b-4cf95d479851
1f18df26-8290-673a-b32b-4cf95d479851
1f18df26-8290-6802-b32b-4cf95d479851
1f18df26-8290-68c0-b32b-4cf95d479851
1f18df26-8290-697e-b32b-4cf95d479851
1f18df26-8290-6a3c-b32b-4cf95d479851
1f18df26-8290-6afa-b32b-4cf95d479851
1f18df26-8290-6bb8-b32b-4cf95d479851
1f18df26-8290-6d0c-b32b-4cf95d479851
1f18df26-8290-6dde-b32b-4cf95d479851
1f18df26-8290-6e9c-b32b-4cf95d479851
1f18df26-8290-6f5a-b32b-4cf95d479851
1f18df26-8291-6018-b32b-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)

682910e0-8df2-11f1-b32b-4cf95d479851
6829114e-8df2-11f1-b32b-4cf95d479851
682911bc-8df2-11f1-b32b-4cf95d479851
68291220-8df2-11f1-b32b-4cf95d479851
68291284-8df2-11f1-b32b-4cf95d479851
682912f2-8df2-11f1-b32b-4cf95d479851
68291356-8df2-11f1-b32b-4cf95d479851
682913c4-8df2-11f1-b32b-4cf95d479851
6829143c-8df2-11f1-b32b-4cf95d479851
682914aa-8df2-11f1-b32b-4cf95d479851
68291518-8df2-11f1-b32b-4cf95d479851
68291586-8df2-11f1-b32b-4cf95d479851
682915ea-8df2-11f1-b32b-4cf95d479851
6829164e-8df2-11f1-b32b-4cf95d479851
682916a8-8df2-11f1-b32b-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)

895b6e09-1b05-850d-87ea-5ce32bd83b97
11fd6f09-1b05-850d-87ea-5ce32bd83b97
a2ea7009-1b05-850d-87ea-5ce32bd83b97
34ab7109-1b05-850d-87ea-5ce32bd83b97
b9a77209-1b05-850d-87ea-5ce32bd83b97
e9f17309-1b05-850d-87ea-5ce32bd83b97
1c7d7409-1b05-850d-87ea-5ce32bd83b97
43d97509-1b05-850d-87ea-5ce32bd83b97
45727609-1b05-850d-87ea-5ce32bd83b97
60007709-1b05-850d-87ea-5ce32bd83b97
5bb37809-1b05-850d-87ea-5ce32bd83b97
19557a09-1b05-850d-87ea-5ce32bd83b97
c23e7b09-1b05-850d-87ea-5ce32bd83b97
95f97c09-1b05-850d-87ea-5ce32bd83b97
84857d09-1b05-850d-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)

97077429-99d1-4455-b7ca-700b45900f22
f73f6fdd-e771-4d54-a38d-69458203f3fa
e44436a7-c818-4708-b57e-009233f36708
5f392b64-f5d7-4073-92fe-20d1e10a2fc7
36a36f2e-1eb7-4288-982a-dac462793d80
3a245614-302a-42af-a1e1-0e021c68c902
b97865d3-4f6d-4465-a463-beaf83b73367
a20f3b06-6eee-44d5-881c-0e1abef55741
04211227-ae32-45f4-87cf-e54764b3cac2
85a88738-a7f8-454a-ae0e-db801990b3ba
97321815-1de3-4a59-8d08-5c30e99a97ff
59534141-c3bf-4f94-bc1d-8a17eeafa939
d522d7ca-9449-4437-b96e-261f41225f9a
3ac1eb37-9cd5-4b49-aead-984d78b1f6c3
563c76e7-0b77-4cfa-a00b-a26b3160d53c

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: