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)

019d9298-6d59-72da-9bca-47c42ab6ea10
019d9298-6d59-7494-b6c2-3e6c41fcd3fa
019d9298-6d59-75d8-a85a-735c49b86517
019d9298-6d59-76f6-a3a0-4438e5b60053
019d9298-6d59-7815-94d8-2f2b15f23254
019d9298-6d59-7934-85df-f441b4ed096d
019d9298-6d59-7a4a-b6f4-fafa22f92783
019d9298-6d59-7b65-b8af-b0b586309722
019d9298-6d59-7c7b-aab2-afb3c53e9563
019d9298-6d59-7d92-9b99-14dedbaa05b4
019d9298-6d59-7ea8-98fa-5be9287f600c
019d9298-6d59-7fc3-bb0f-72adb6b6f54b
019d9298-6d5a-70de-9f41-5d9fc40c6929
019d9298-6d5a-71f8-be3c-ac66053e2b03
019d9298-6d5a-7313-826e-9e2fa1b3a654

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)

1f139007-5b0d-6848-bfcd-4cf95d479851
1f139007-5b0d-69f6-bfcd-4cf95d479851
1f139007-5b0d-6adc-bfcd-4cf95d479851
1f139007-5b0d-6ba4-bfcd-4cf95d479851
1f139007-5b0d-6c6c-bfcd-4cf95d479851
1f139007-5b0d-6d2a-bfcd-4cf95d479851
1f139007-5b0d-6df2-bfcd-4cf95d479851
1f139007-5b0d-6eb0-bfcd-4cf95d479851
1f139007-5b0d-6f6e-bfcd-4cf95d479851
1f139007-5b0e-602c-bfcd-4cf95d479851
1f139007-5b0e-6176-bfcd-4cf95d479851
1f139007-5b0e-623e-bfcd-4cf95d479851
1f139007-5b0e-62fc-bfcd-4cf95d479851
1f139007-5b0e-63ba-bfcd-4cf95d479851
1f139007-5b0e-6478-bfcd-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)

115949be-e382-47fd-b315-686a177ba79f
37008fcf-ab44-48dd-a3c5-9520d6c65529
6cdef859-df8b-4461-9ead-b0e60e36449f
d0c68984-6028-4881-aaa6-39c7b98f08fb
b8496657-8265-4e71-ad70-d0f0c6d1adca
162920e0-4f55-4564-bd6f-60f6e71c1b91
ce4568e8-8fef-46db-92d4-55631710d721
9dfef7c7-a09d-4ef1-8954-d555adb69107
b237c9b8-9317-47cc-9772-48cd5fe1a59e
39ada408-dd18-4685-800c-7d7c70e90504
afcc5e3b-6fcf-42a9-9834-9607b4bb159c
c0853209-2199-466d-8481-e1eb267cd879
6db6024e-b595-4b22-a063-eec9d8d58577
fff49e28-aca3-4f8c-9230-fc75b57b1544
1cd2e87e-a6d0-4f33-ab10-67584bb2b495

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)

75b0e98c-3900-11f1-bfcd-4cf95d479851
75b0e9f0-3900-11f1-bfcd-4cf95d479851
75b0ea54-3900-11f1-bfcd-4cf95d479851
75b0eaae-3900-11f1-bfcd-4cf95d479851
75b0eb12-3900-11f1-bfcd-4cf95d479851
75b0eb76-3900-11f1-bfcd-4cf95d479851
75b0ebd0-3900-11f1-bfcd-4cf95d479851
75b0ec34-3900-11f1-bfcd-4cf95d479851
75b0ec98-3900-11f1-bfcd-4cf95d479851
75b0ecfc-3900-11f1-bfcd-4cf95d479851
75b0ed60-3900-11f1-bfcd-4cf95d479851
75b0edba-3900-11f1-bfcd-4cf95d479851
75b0ee1e-3900-11f1-bfcd-4cf95d479851
75b0ee78-3900-11f1-bfcd-4cf95d479851
75b0eedc-3900-11f1-bfcd-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)

f9e74024-8b04-8906-87ea-5ce32bd83b97
07bd4124-8b04-8906-87ea-5ce32bd83b97
d8374224-8b04-8906-87ea-5ce32bd83b97
086d4324-8b04-8906-87ea-5ce32bd83b97
925b4424-8b04-8906-87ea-5ce32bd83b97
a98c4524-8b04-8906-87ea-5ce32bd83b97
b5d34624-8b04-8906-87ea-5ce32bd83b97
e9ac4724-8b04-8906-87ea-5ce32bd83b97
f5dd4824-8b04-8906-87ea-5ce32bd83b97
911e4924-8b04-8906-87ea-5ce32bd83b97
2fae4a24-8b04-8906-87ea-5ce32bd83b97
743f4b24-8b04-8906-87ea-5ce32bd83b97
578c4c24-8b04-8906-87ea-5ce32bd83b97
d5544d24-8b04-8906-87ea-5ce32bd83b97
d2264f24-8b04-8906-87ea-5ce32bd83b97

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: