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)

019bcb9b-4bbe-7d27-9a34-e8aa6d7d9d63
019bcb9b-4bbe-7ed1-983e-40fb3e04a95a
019bcb9b-4bbf-7011-9361-785a44ee15a1
019bcb9b-4bbf-7134-9a29-42b98c822c3d
019bcb9b-4bbf-724e-b173-adc0204ccefc
019bcb9b-4bbf-7365-aa55-6379e5351b1b
019bcb9b-4bbf-747b-8398-fd1e7d48742a
019bcb9b-4bbf-759a-89c3-07143e5bfbc3
019bcb9b-4bbf-76b1-82f5-7f0aea00aefd
019bcb9b-4bbf-77c7-9029-fa6690292d4f
019bcb9b-4bbf-78de-83ba-527cea0b9307
019bcb9b-4bbf-79f8-be2f-2f384be0f499
019bcb9b-4bbf-7b0f-9208-2b27efaa83da
019bcb9b-4bbf-7c25-9604-4757e0672e02
019bcb9b-4bbf-7d3c-aa54-9ef1b6cd5460

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)

1f0f3937-5c03-6a5c-b63e-4cf95d479851
1f0f3937-5c03-6bf6-b63e-4cf95d479851
1f0f3937-5c03-6ce6-b63e-4cf95d479851
1f0f3937-5c03-6db8-b63e-4cf95d479851
1f0f3937-5c03-6e80-b63e-4cf95d479851
1f0f3937-5c03-6f52-b63e-4cf95d479851
1f0f3937-5c04-601a-b63e-4cf95d479851
1f0f3937-5c04-60ec-b63e-4cf95d479851
1f0f3937-5c04-61b4-b63e-4cf95d479851
1f0f3937-5c04-627c-b63e-4cf95d479851
1f0f3937-5c04-63bc-b63e-4cf95d479851
1f0f3937-5c04-6484-b63e-4cf95d479851
1f0f3937-5c04-654c-b63e-4cf95d479851
1f0f3937-5c04-6614-b63e-4cf95d479851
1f0f3937-5c04-66e6-b63e-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)

7b5af3c2-a637-414a-9790-a66485dc7396
b49555fd-0ecb-4d96-89a7-5ab8d6959341
8923f493-078c-4647-a287-35f0403480c0
985a9d34-8959-4e97-ab5e-9c4926041a53
820597d9-c069-45bc-a4fd-2c1ac326bcb2
45a95b4e-0709-4334-aff9-62de8ac3e481
8c056b42-4193-4916-a0b6-a539ef6d82c1
64916050-ea93-48b9-9f0d-912bf0462641
ee19c217-a775-45bd-9238-8ce4ca8b72b8
8f7d36e7-6165-4708-8835-c38965d4c7fa
4517527b-f63b-40b1-9536-cb3050f7a085
e15a9d1e-981a-4a6a-b0e3-a6883ddf6646
d1c77858-34dd-4b10-a979-874a8f367c77
ade99e97-42d3-44c1-86d2-6fd7fcda5108
3158916a-055d-40dd-8266-dfc0b5790319

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)

75c04c04-f393-11f0-b63e-4cf95d479851
75c04c68-f393-11f0-b63e-4cf95d479851
75c04ccc-f393-11f0-b63e-4cf95d479851
75c04d30-f393-11f0-b63e-4cf95d479851
75c04d94-f393-11f0-b63e-4cf95d479851
75c04dee-f393-11f0-b63e-4cf95d479851
75c04e48-f393-11f0-b63e-4cf95d479851
75c04eac-f393-11f0-b63e-4cf95d479851
75c04f06-f393-11f0-b63e-4cf95d479851
75c04f60-f393-11f0-b63e-4cf95d479851
75c04fc4-f393-11f0-b63e-4cf95d479851
75c05028-f393-11f0-b63e-4cf95d479851
75c05082-f393-11f0-b63e-4cf95d479851
75c050dc-f393-11f0-b63e-4cf95d479851
75c05140-f393-11f0-b63e-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)

37e1f91e-9302-8101-87ea-5ce32bd83b97
8269fa1e-9302-8101-87ea-5ce32bd83b97
5dfefb1e-9302-8101-87ea-5ce32bd83b97
ec51fc1e-9302-8101-87ea-5ce32bd83b97
5e23fd1e-9302-8101-87ea-5ce32bd83b97
8897fe1e-9302-8101-87ea-5ce32bd83b97
72d0001f-9302-8101-87ea-5ce32bd83b97
ae01011f-9302-8101-87ea-5ce32bd83b97
a682021f-9302-8101-87ea-5ce32bd83b97
e7f1031f-9302-8101-87ea-5ce32bd83b97
dacb041f-9302-8101-87ea-5ce32bd83b97
ceb5051f-9302-8101-87ea-5ce32bd83b97
b674061f-9302-8101-87ea-5ce32bd83b97
1e2d071f-9302-8101-87ea-5ce32bd83b97
8e0b081f-9302-8101-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: