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)

01a20f58-014e-7cc9-8d96-0a8fbe4f43e5
01a20f58-014e-7e5b-af01-99e63e17abdb
01a20f58-014e-7f9e-89de-0df0f7f02868
01a20f58-014f-70c1-af7d-4313042fc05b
01a20f58-014f-71dc-9fe8-44dfc0d8f706
01a20f58-014f-72f6-83b8-d4fce2412e72
01a20f58-014f-7411-829c-6c8b9ae2e9e8
01a20f58-014f-7534-88ba-3f3c9a03c933
01a20f58-014f-764e-a77f-f713782c1c9b
01a20f58-014f-7769-a515-1da2767930f1
01a20f58-014f-787f-8ca5-c34beebe4642
01a20f58-014f-799a-9f9e-d87cc593b245
01a20f58-014f-7ab1-aad7-0b5453655731
01a20f58-014f-7bcb-9710-3a9f4a68ea4c
01a20f58-014f-7ce2-b9d6-474ceb4796c7

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)

1f1e8497-1348-6186-931d-4cf95d479851
1f1e8497-1348-6384-931d-4cf95d479851
1f1e8497-1348-6474-931d-4cf95d479851
1f1e8497-1348-6546-931d-4cf95d479851
1f1e8497-1348-660e-931d-4cf95d479851
1f1e8497-1348-66e0-931d-4cf95d479851
1f1e8497-1348-679e-931d-4cf95d479851
1f1e8497-1348-6870-931d-4cf95d479851
1f1e8497-1348-6938-931d-4cf95d479851
1f1e8497-1348-69f6-931d-4cf95d479851
1f1e8497-1348-6b4a-931d-4cf95d479851
1f1e8497-1348-6c1c-931d-4cf95d479851
1f1e8497-1348-6cda-931d-4cf95d479851
1f1e8497-1348-6da2-931d-4cf95d479851
1f1e8497-1348-6e60-931d-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)

71348f3c-e849-11f1-931d-4cf95d479851
71348fa0-e849-11f1-931d-4cf95d479851
71349004-e849-11f1-931d-4cf95d479851
71349068-e849-11f1-931d-4cf95d479851
713490cc-e849-11f1-931d-4cf95d479851
71349130-e849-11f1-931d-4cf95d479851
7134918a-e849-11f1-931d-4cf95d479851
713491ee-e849-11f1-931d-4cf95d479851
71349248-e849-11f1-931d-4cf95d479851
713492ac-e849-11f1-931d-4cf95d479851
71349306-e849-11f1-931d-4cf95d479851
7134936a-e849-11f1-931d-4cf95d479851
713493c4-e849-11f1-931d-4cf95d479851
7134941e-e849-11f1-931d-4cf95d479851
71349478-e849-11f1-931d-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)

64417837-e804-8814-87ea-5ce32bd83b97
476c7a37-e804-8814-87ea-5ce32bd83b97
c8ce7b37-e804-8814-87ea-5ce32bd83b97
842b7c37-e804-8814-87ea-5ce32bd83b97
70a17d37-e804-8814-87ea-5ce32bd83b97
53fe7e37-e804-8814-87ea-5ce32bd83b97
f51b7f37-e804-8814-87ea-5ce32bd83b97
07ae8037-e804-8814-87ea-5ce32bd83b97
87038137-e804-8814-87ea-5ce32bd83b97
09488237-e804-8814-87ea-5ce32bd83b97
62bb8337-e804-8814-87ea-5ce32bd83b97
ebc58437-e804-8814-87ea-5ce32bd83b97
dfb18537-e804-8814-87ea-5ce32bd83b97
f3eb8637-e804-8814-87ea-5ce32bd83b97
21f38737-e804-8814-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)

3f884c7e-5f07-4d38-b6e4-033b67cc9f5e
2cbc237a-efde-43b8-bc90-2b7bf8563a4b
ca226a06-73e2-48b2-a822-264a1cfe194e
1de56b71-e0de-4977-851c-04cb685b5083
42289a92-d27f-41b4-a199-0b1826829c62
2ff88b8b-c64b-49e0-97b4-b1e715291731
1582debc-2638-4969-8f45-86ab008812d2
c2cd2bd8-b9ea-418f-b9d6-635ff3719a4d
8aa41146-531c-4eee-b33e-cba28e1f53a3
83a6a8a9-a81a-4487-914f-40674aa9efec
7dbd8396-12bc-4351-ae46-49a14f8c5c45
ec6aadf7-4793-405b-8adf-118e2dfd71b7
ce5c118c-f135-4936-8fd3-ec706a57e0ea
3cf24c01-9b87-411b-afc8-59da8a8315ff
4a52b0a9-0a1d-4a5f-8077-75bd1af78729

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: