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)

018e8521-9e1c-797d-afd6-b6d90ec44b13
018e8521-9e1c-7b48-a43e-8e0e10d03746
018e8521-9e1c-7c88-8827-b81bef645aa1
018e8521-9e1c-7daa-9d81-100c623dfcd0
018e8521-9e1c-7ec5-988e-4de8f02d2da8
018e8521-9e1c-7fe0-82d4-fc1602c97758
018e8521-9e1d-7077-84bb-737061fb849f
018e8521-9e1d-71aa-9d18-42d2e8459b8f
018e8521-9e1d-72c9-a5e6-d4d8ef82cb2d
018e8521-9e1d-73e0-a402-e7fe621c1ce0
018e8521-9e1d-74fa-96c2-b64ca3ee3417
018e8521-9e1d-7615-88b5-db20a67a3769
018e8521-9e1d-7734-a1a1-8d1b42865cec
018e8521-9e1d-784a-a82c-3425c5f50bd0
018e8521-9e1d-7965-a6f3-550a24c8733b

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)

1eeed028-4b1a-6800-a558-4cf95d479851
1eeed028-4b1a-699a-a558-4cf95d479851
1eeed028-4b1a-6a80-a558-4cf95d479851
1eeed028-4b1a-6b52-a558-4cf95d479851
1eeed028-4b1a-6c10-a558-4cf95d479851
1eeed028-4b1a-6cd8-a558-4cf95d479851
1eeed028-4b1a-6d96-a558-4cf95d479851
1eeed028-4b1a-6e54-a558-4cf95d479851
1eeed028-4b1a-6f1c-a558-4cf95d479851
1eeed028-4b1a-6fd0-a558-4cf95d479851
1eeed028-4b1b-6142-a558-4cf95d479851
1eeed028-4b1b-62b4-a558-4cf95d479851
1eeed028-4b1b-63b8-a558-4cf95d479851
1eeed028-4b1b-6480-a558-4cf95d479851
1eeed028-4b1b-6534-a558-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)

9c23c326-1375-40d0-873c-0f90d722d27f
d94646bc-c8c0-4dc9-999e-084eb835be69
7553cd06-0753-4a71-9042-01f6d85ad002
a41494fc-6540-4c14-a33c-a946a6a4ff0e
ec41f7c5-935c-4572-8d00-37fd29526f98
032c6ad2-b8e4-4db5-af0b-b1c898505a28
42b7cc39-bca9-49fb-afeb-5c45f0cff06e
e04e5fdd-8edf-49df-8269-1bf0cfaeed09
c59032ac-45e6-4a18-97c4-3a10d94dd119
e1a4e112-ad67-4ada-a4c1-d3fe3216e6de
54d53db0-e22a-41b2-9bcf-fb462593068a
f1126fd6-a052-40bd-a58e-f17feb8f9f70
ca5798be-4d50-454d-aa37-f0dbc64cd0e8
dba67f2e-767e-4006-96de-f31ac88c3e10
954ef784-1cef-40a8-a622-ac6279c3aa96

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)

84b1bafc-ed02-11ee-a558-4cf95d479851
84b1bb6a-ed02-11ee-a558-4cf95d479851
84b1bbce-ed02-11ee-a558-4cf95d479851
84b1bc3c-ed02-11ee-a558-4cf95d479851
84b1bca0-ed02-11ee-a558-4cf95d479851
84b1bd04-ed02-11ee-a558-4cf95d479851
84b1bd72-ed02-11ee-a558-4cf95d479851
84b1bdd6-ed02-11ee-a558-4cf95d479851
84b1be3a-ed02-11ee-a558-4cf95d479851
84b1bea8-ed02-11ee-a558-4cf95d479851
84b1bf0c-ed02-11ee-a558-4cf95d479851
84b1bf70-ed02-11ee-a558-4cf95d479851
84b1bfd4-ed02-11ee-a558-4cf95d479851
84b1c038-ed02-11ee-a558-4cf95d479851
84b1c09c-ed02-11ee-a558-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)

5a4cb338-0074-8058-87e8-5ce32bd83b96
8384b438-0074-8058-87e8-5ce32bd83b96
88c1b538-0074-8058-87e8-5ce32bd83b96
a091b638-0074-8058-87e8-5ce32bd83b96
85e0b738-0074-8058-87e8-5ce32bd83b96
543bb838-0074-8058-87e8-5ce32bd83b96
ee16b938-0074-8058-87e8-5ce32bd83b96
13c8ba38-0074-8058-87e8-5ce32bd83b96
3405bc38-0074-8058-87e8-5ce32bd83b96
3a67bd38-0074-8058-87e8-5ce32bd83b96
d6dfbe38-0074-8058-87e8-5ce32bd83b96
fb8dbf38-0074-8058-87e8-5ce32bd83b96
e0c2c038-0074-8058-87e8-5ce32bd83b96
e324c138-0074-8058-87e8-5ce32bd83b96
ab08c238-0074-8058-87e8-5ce32bd83b96

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

An 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

An UUIDv3 is made out of a MD5 hash and an UUIDv5 is made out of a SHA1 hash. The revision of RFC4122 also contains an example for a custom UUIDv8 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: