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)

01a04faa-948e-7dbf-af28-076b53be4a90
01a04faa-948e-7f96-b2ec-f744222bdad9
01a04faa-948f-70de-ab0c-0924f7ea0a0c
01a04faa-948f-7205-ba25-1dd653c65c21
01a04faa-948f-7323-8fc4-c610539a58dc
01a04faa-948f-7442-9080-2674b96e7f40
01a04faa-948f-7561-b286-cbdb6b779c8e
01a04faa-948f-7684-b931-d092922ba51b
01a04faa-948f-779e-9895-e3e5b73efe2c
01a04faa-948f-78bd-be30-47c01a400185
01a04faa-948f-79dc-ab84-864c9298d9ad
01a04faa-948f-7afa-9062-65d4d31b19d3
01a04faa-948f-7c19-9409-24f681e4109a
01a04faa-948f-7d38-b888-ec0d499113ec
01a04faa-948f-7e52-b9b9-b7b86122aad1

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)

1f1a3fa0-acc7-6aea-8275-4cf95d479851
1f1a3fa0-acc7-6cb6-8275-4cf95d479851
1f1a3fa0-acc7-6d9c-8275-4cf95d479851
1f1a3fa0-acc7-6e64-8275-4cf95d479851
1f1a3fa0-acc7-6f2c-8275-4cf95d479851
1f1a3fa0-acc7-6fea-8275-4cf95d479851
1f1a3fa0-acc8-60b2-8275-4cf95d479851
1f1a3fa0-acc8-6170-8275-4cf95d479851
1f1a3fa0-acc8-6238-8275-4cf95d479851
1f1a3fa0-acc8-62f6-8275-4cf95d479851
1f1a3fa0-acc8-6472-8275-4cf95d479851
1f1a3fa0-acc8-6544-8275-4cf95d479851
1f1a3fa0-acc8-6602-8275-4cf95d479851
1f1a3fa0-acc8-66c0-8275-4cf95d479851
1f1a3fa0-acc8-677e-8275-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)

0acc8850-a3fa-11f1-8275-4cf95d479851
0acc88b4-a3fa-11f1-8275-4cf95d479851
0acc8918-a3fa-11f1-8275-4cf95d479851
0acc8972-a3fa-11f1-8275-4cf95d479851
0acc89d6-a3fa-11f1-8275-4cf95d479851
0acc8a3a-a3fa-11f1-8275-4cf95d479851
0acc8a9e-a3fa-11f1-8275-4cf95d479851
0acc8af8-a3fa-11f1-8275-4cf95d479851
0acc8b5c-a3fa-11f1-8275-4cf95d479851
0acc8bc0-a3fa-11f1-8275-4cf95d479851
0acc8c1a-a3fa-11f1-8275-4cf95d479851
0acc8c74-a3fa-11f1-8275-4cf95d479851
0acc8cd8-a3fa-11f1-8275-4cf95d479851
0acc8d32-a3fa-11f1-8275-4cf95d479851
0acc8d8c-a3fa-11f1-8275-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)

68d55a0e-4d05-810f-87ea-5ce32bd83b97
03ff5b0e-4d05-810f-87ea-5ce32bd83b97
c3a15c0e-4d05-810f-87ea-5ce32bd83b97
3bee5d0e-4d05-810f-87ea-5ce32bd83b97
43815e0e-4d05-810f-87ea-5ce32bd83b97
386f5f0e-4d05-810f-87ea-5ce32bd83b97
5c13600e-4d05-810f-87ea-5ce32bd83b97
e9a5610e-4d05-810f-87ea-5ce32bd83b97
eb6d620e-4d05-810f-87ea-5ce32bd83b97
3860630e-4d05-810f-87ea-5ce32bd83b97
da03640e-4d05-810f-87ea-5ce32bd83b97
3aaa650e-4d05-810f-87ea-5ce32bd83b97
dcd0660e-4d05-810f-87ea-5ce32bd83b97
c092670e-4d05-810f-87ea-5ce32bd83b97
3418680e-4d05-810f-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)

e6ff606c-87f3-4b54-9684-6e9ee549117b
68d53cd1-4d9c-486a-bde2-f30554c2597e
d322bad8-c92e-46c9-b1ac-5bcd7d56186e
0e48f621-29c3-4219-a7d8-2f190be227e1
cca9a35a-55ae-458d-a5e2-f54cdadb8f93
56b800c6-e8d4-4bd9-bc8d-b6774497021b
b369f361-3aa9-4a79-8f7a-1c83a446d2fc
ab3f6524-8c57-47c9-8646-96224ba211f8
402f32fb-9e0d-4849-871d-5c62438cf900
fbffcfcf-7947-46f8-8d3a-90752d638558
b7453945-524a-4560-8c06-a87c589a6184
278ff0fe-f589-4a11-b878-a0eab6bfc111
93da510a-fe4f-47c3-a39f-cf7923f3caf8
e486850e-75fa-460f-9762-27dcf3e4ad80
67a8573d-3ab8-4339-88e2-a68e2afbcc46

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: