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)

01a0bfac-395f-73ec-9873-c550c1c23a82
01a0bfac-395f-75f0-b184-65f85a6e035e
01a0bfac-395f-772c-83c3-86561c7f18ad
01a0bfac-395f-7842-b551-8567bc3217f0
01a0bfac-395f-7954-95c3-ad63d0e1eca9
01a0bfac-395f-7a67-b8b4-a21e8d5395a1
01a0bfac-395f-7b79-b5fe-28f6233eabdb
01a0bfac-395f-7c90-9b70-78ba778b326b
01a0bfac-395f-7da2-bcb1-ddc604a9e12a
01a0bfac-395f-7ebd-b020-597c20a0a1a1
01a0bfac-395f-7fcb-9e67-6a6fbd683eff
01a0bfac-3960-70de-88df-63230860e58c
01a0bfac-3960-71f4-9187-6eb848d17962
01a0bfac-3960-7303-8f05-eeba314c065d
01a0bfac-3960-7415-a581-60b77d4697ee

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)

1f1b5114-b028-6442-bad9-4cf95d479851
1f1b5114-b028-6604-bad9-4cf95d479851
1f1b5114-b028-66e0-bad9-4cf95d479851
1f1b5114-b028-67a8-bad9-4cf95d479851
1f1b5114-b028-6866-bad9-4cf95d479851
1f1b5114-b028-6924-bad9-4cf95d479851
1f1b5114-b028-69e2-bad9-4cf95d479851
1f1b5114-b028-6aa0-bad9-4cf95d479851
1f1b5114-b028-6b5e-bad9-4cf95d479851
1f1b5114-b028-6c1c-bad9-4cf95d479851
1f1b5114-b028-6d5c-bad9-4cf95d479851
1f1b5114-b028-6e24-bad9-4cf95d479851
1f1b5114-b028-6ee2-bad9-4cf95d479851
1f1b5114-b028-6f96-bad9-4cf95d479851
1f1b5114-b029-6054-bad9-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)

4b029126-b511-11f1-bad9-4cf95d479851
4b02918a-b511-11f1-bad9-4cf95d479851
4b0291ee-b511-11f1-bad9-4cf95d479851
4b02925c-b511-11f1-bad9-4cf95d479851
4b0292b6-b511-11f1-bad9-4cf95d479851
4b02931a-b511-11f1-bad9-4cf95d479851
4b02937e-b511-11f1-bad9-4cf95d479851
4b029400-b511-11f1-bad9-4cf95d479851
4b02945a-b511-11f1-bad9-4cf95d479851
4b0294be-b511-11f1-bad9-4cf95d479851
4b029518-b511-11f1-bad9-4cf95d479851
4b029572-b511-11f1-bad9-4cf95d479851
4b0295cc-b511-11f1-bad9-4cf95d479851
4b029630-b511-11f1-bad9-4cf95d479851
4b029694-b511-11f1-bad9-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)

8e46451e-e403-8710-87ea-5ce32bd83b97
f5ee471e-e403-8710-87ea-5ce32bd83b97
3890481e-e403-8710-87ea-5ce32bd83b97
7d33491e-e403-8710-87ea-5ce32bd83b97
dace4a1e-e403-8710-87ea-5ce32bd83b97
bc964b1e-e403-8710-87ea-5ce32bd83b97
a1e44c1e-e403-8710-87ea-5ce32bd83b97
878d4d1e-e403-8710-87ea-5ce32bd83b97
18bf4e1e-e403-8710-87ea-5ce32bd83b97
d6804f1e-e403-8710-87ea-5ce32bd83b97
9c22501e-e403-8710-87ea-5ce32bd83b97
317f511e-e403-8710-87ea-5ce32bd83b97
0261521e-e403-8710-87ea-5ce32bd83b97
a9be531e-e403-8710-87ea-5ce32bd83b97
9455541e-e403-8710-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)

f79586b6-1692-4527-8674-fb8301fc8dd3
ed9d72c2-5965-4ea5-81bf-d0eeb134a21f
ebc802a8-ef8b-401e-ad76-2540b89f1031
cd682926-eae8-4de9-b74c-968d6712efe7
7ddb62e3-8313-4158-8b0c-28c828ab2d56
caca43b4-b763-4f2b-bdda-da598f198a8d
cb5ed43c-7f78-449f-ac85-465b4fa7117d
14e71e92-fc68-4104-97e1-f9e51dd65c73
bf4283b8-7f7b-447b-b27f-824ddd97118f
77b0c31f-3687-4853-8105-aae0d38cdff6
9f660f47-5322-4a5a-a375-44153fdf9e12
7732cd90-7d9e-4e3a-b959-d5ee2fa2761d
86442375-91c4-4659-a74f-0cf616c1e045
074f3c08-4e01-4711-81b9-6622d60519a1
285d797b-52a3-4f8a-a931-2db07af2b3ee

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: