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)

019f00f9-cb2c-7246-bb0f-f7b251f36e26
019f00f9-cb2c-7425-b783-b1a2ff1a9cc4
019f00f9-cb2c-7565-bbcd-01ee310fcff5
019f00f9-cb2c-7684-ac2c-2b91489e7b27
019f00f9-cb2c-779a-85fe-fd840730dda1
019f00f9-cb2c-78b1-8823-b8250bfbc483
019f00f9-cb2c-79c7-a346-3c5f4cd8afad
019f00f9-cb2c-7ade-a638-f15a209a9d55
019f00f9-cb2c-7bf4-bda3-2dfa8423ab8b
019f00f9-cb2c-7d0b-9076-6f44729564a8
019f00f9-cb2c-7e1d-bf82-7a95d0e8b438
019f00f9-cb2c-7f34-b467-fb44feb080d1
019f00f9-cb2d-7046-86ec-c1b301e3e855
019f00f9-cb2d-7161-b5d7-9dcdd7a7e525
019f00f9-cb2d-7277-87fd-9109cf3b7fcf

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)

1f170e83-111d-69b0-820e-4cf95d479851
1f170e83-111d-6b54-820e-4cf95d479851
1f170e83-111d-6c3a-820e-4cf95d479851
1f170e83-111d-6d02-820e-4cf95d479851
1f170e83-111d-6dd4-820e-4cf95d479851
1f170e83-111d-6e92-820e-4cf95d479851
1f170e83-111d-6f50-820e-4cf95d479851
1f170e83-111e-6018-820e-4cf95d479851
1f170e83-111e-60d6-820e-4cf95d479851
1f170e83-111e-619e-820e-4cf95d479851
1f170e83-111e-62de-820e-4cf95d479851
1f170e83-111e-63b0-820e-4cf95d479851
1f170e83-111e-6478-820e-4cf95d479851
1f170e83-111e-6536-820e-4cf95d479851
1f170e83-111e-65f4-820e-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)

3111e6c6-70e8-11f1-820e-4cf95d479851
3111e72a-70e8-11f1-820e-4cf95d479851
3111e798-70e8-11f1-820e-4cf95d479851
3111e7fc-70e8-11f1-820e-4cf95d479851
3111e860-70e8-11f1-820e-4cf95d479851
3111e8c4-70e8-11f1-820e-4cf95d479851
3111e928-70e8-11f1-820e-4cf95d479851
3111e98c-70e8-11f1-820e-4cf95d479851
3111e9f0-70e8-11f1-820e-4cf95d479851
3111ea54-70e8-11f1-820e-4cf95d479851
3111eab8-70e8-11f1-820e-4cf95d479851
3111eb26-70e8-11f1-820e-4cf95d479851
3111eb8a-70e8-11f1-820e-4cf95d479851
3111ebf8-70e8-11f1-820e-4cf95d479851
3111ec66-70e8-11f1-820e-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)

57e8513a-5a05-800b-87ea-5ce32bd83b97
720b523a-5a05-800b-87ea-5ce32bd83b97
42ed533a-5a05-800b-87ea-5ce32bd83b97
1b6a543a-5a05-800b-87ea-5ce32bd83b97
c0a0553a-5a05-800b-87ea-5ce32bd83b97
7319563a-5a05-800b-87ea-5ce32bd83b97
010c573a-5a05-800b-87ea-5ce32bd83b97
5800583a-5a05-800b-87ea-5ce32bd83b97
65f2593a-5a05-800b-87ea-5ce32bd83b97
08625a3a-5a05-800b-87ea-5ce32bd83b97
28bb5b3a-5a05-800b-87ea-5ce32bd83b97
b2125c3a-5a05-800b-87ea-5ce32bd83b97
63685d3a-5a05-800b-87ea-5ce32bd83b97
1b745e3a-5a05-800b-87ea-5ce32bd83b97
5e7f5f3a-5a05-800b-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)

050fd4c2-2a83-4fee-b0e4-a1095bae1589
55b519a8-9f54-42c0-85ac-4eee0cb3791a
015721f7-8f4e-4569-a124-c3e6c00ebde3
44ec4d3b-a87c-432d-992b-0a7801dd6d59
b90fc7c5-b5e4-4fc4-8f7f-b07869a81b35
535818a2-8db5-4319-bb6b-8b343f0fb74b
040f9a88-1ab1-4bf6-bd54-2b434567de49
0481a4b0-1b8e-4f7f-b88f-50f0e44e4eea
48cafc90-3311-470c-9839-07bda8e483ca
fedda447-671b-4c0f-8bb6-ec855ec29aa8
6f2e21e3-652b-40b8-b640-82d77638fc73
400101ab-7043-4235-b6e1-3dff0df2d299
59c97543-d248-4016-b39c-b4f1bbb804be
7622c55c-818f-4372-b3de-a8a90c1a14f6
207c955e-272a-4219-a712-3257f12328b7

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: