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)

019ce5d8-41c9-723a-a77d-d5543fea10a2
019ce5d8-41c9-73f4-bf6c-40cdbc3dd895
019ce5d8-41c9-7538-bf6d-6c6c80ca4edf
019ce5d8-41c9-765b-bc86-29572592b0b1
019ce5d8-41c9-7775-85dd-68e19713ad59
019ce5d8-41c9-7890-83f7-c8c2e457d56d
019ce5d8-41c9-79aa-9138-fa59c304f6ee
019ce5d8-41c9-7ac5-950e-5268d2dfc16a
019ce5d8-41c9-7be4-a9ef-9a9d00f0f58d
019ce5d8-41c9-7cfe-b7ee-02c8de0763c7
019ce5d8-41c9-7e15-b534-e4050733956e
019ce5d8-41c9-7f30-8c44-468fdadaaeb4
019ce5d8-41ca-704a-9f1d-047eb984b27e
019ce5d8-41ca-7165-9de8-99e46362193c
019ce5d8-41ca-727b-8abe-7493140de731

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)

1f11ea46-30b2-6e26-aadf-4cf95d479851
1f11ea46-30b2-6fd4-aadf-4cf95d479851
1f11ea46-30b3-60ba-aadf-4cf95d479851
1f11ea46-30b3-6182-aadf-4cf95d479851
1f11ea46-30b3-624a-aadf-4cf95d479851
1f11ea46-30b3-6308-aadf-4cf95d479851
1f11ea46-30b3-63d0-aadf-4cf95d479851
1f11ea46-30b3-648e-aadf-4cf95d479851
1f11ea46-30b3-654c-aadf-4cf95d479851
1f11ea46-30b3-660a-aadf-4cf95d479851
1f11ea46-30b3-6754-aadf-4cf95d479851
1f11ea46-30b3-681c-aadf-4cf95d479851
1f11ea46-30b3-68da-aadf-4cf95d479851
1f11ea46-30b3-6998-aadf-4cf95d479851
1f11ea46-30b3-6a56-aadf-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)

daafe7ce-7f00-41f8-b9a9-8f354d9287a0
a562a177-77b7-435a-a8dc-4664f34954c8
18c5d304-0b6d-4403-b8ee-23b1837e6dce
35dff38c-48d7-4975-b26d-d3fc9f2dee42
477792a0-93d4-44e3-a4a8-881c3da67d44
c483fac0-e45d-4dca-91e4-637b3e1e94a9
c825ff73-c875-4266-a667-4aa8b0ca7da3
556df527-e8ee-4d81-9902-2534ab52fc09
8b8307e6-8dc8-4243-9b79-5885a5e6b1bd
5bf67dd8-d96f-415b-b197-7727f3a6860c
0ffcad01-100a-4c17-b396-ed53e6e07bd4
bfb06655-7964-4470-9372-b01584e6d8be
3c5ee524-dc3c-4443-a6aa-c126a8cfd150
783b8edd-e715-4a8f-8ebf-aa8801e33990
dc363e37-0a58-4435-adc2-42e31546abf6

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)

630b3f7e-1ea4-11f1-aadf-4cf95d479851
630b3fe2-1ea4-11f1-aadf-4cf95d479851
630b4050-1ea4-11f1-aadf-4cf95d479851
630b40aa-1ea4-11f1-aadf-4cf95d479851
630b4118-1ea4-11f1-aadf-4cf95d479851
630b417c-1ea4-11f1-aadf-4cf95d479851
630b41d6-1ea4-11f1-aadf-4cf95d479851
630b4230-1ea4-11f1-aadf-4cf95d479851
630b4294-1ea4-11f1-aadf-4cf95d479851
630b42f8-1ea4-11f1-aadf-4cf95d479851
630b4352-1ea4-11f1-aadf-4cf95d479851
630b43ac-1ea4-11f1-aadf-4cf95d479851
630b4410-1ea4-11f1-aadf-4cf95d479851
630b4500-1ea4-11f1-aadf-4cf95d479851
630b4564-1ea4-11f1-aadf-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)

45760901-7b01-8804-87ea-5ce32bd83b97
a7860a01-7b01-8804-87ea-5ce32bd83b97
79d40b01-7b01-8804-87ea-5ce32bd83b97
a6680c01-7b01-8804-87ea-5ce32bd83b97
5c0a0d01-7b01-8804-87ea-5ce32bd83b97
dbd30e01-7b01-8804-87ea-5ce32bd83b97
a89c0f01-7b01-8804-87ea-5ce32bd83b97
f0991001-7b01-8804-87ea-5ce32bd83b97
70fa1101-7b01-8804-87ea-5ce32bd83b97
b5b11201-7b01-8804-87ea-5ce32bd83b97
b1841301-7b01-8804-87ea-5ce32bd83b97
2c411401-7b01-8804-87ea-5ce32bd83b97
bb5b1501-7b01-8804-87ea-5ce32bd83b97
9c281601-7b01-8804-87ea-5ce32bd83b97
e9411701-7b01-8804-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: