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)

019fef26-36e3-73c3-8ead-106ef79dac77
019fef26-36e3-7579-88ee-19cdea8e94ec
019fef26-36e3-76b9-9ebb-fd7c9ff47153
019fef26-36e3-77d3-beb7-0d129b01dc94
019fef26-36e3-78ee-84cc-4f01571e8763
019fef26-36e3-7a0d-bc93-8c9508d7d4b5
019fef26-36e3-7b23-9bbf-cddbbada235d
019fef26-36e3-7c3a-9622-f80d3b3bde65
019fef26-36e3-7d54-bc53-8d120d6a3cda
019fef26-36e3-7e6b-a273-dbe6b8a1b918
019fef26-36e3-7f82-b2af-5ff396ef7507
019fef26-36e4-7094-b157-c9c93ee5c095
019fef26-36e4-71aa-b268-04464aa388ec
019fef26-36e4-72c1-baeb-69fadeeb6b2a
019fef26-36e4-73d8-b552-2ace7fac9c4d

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)

1f1953fd-8417-6968-989d-4cf95d479851
1f1953fd-8417-6b2a-989d-4cf95d479851
1f1953fd-8417-6c06-989d-4cf95d479851
1f1953fd-8417-6cce-989d-4cf95d479851
1f1953fd-8417-6d96-989d-4cf95d479851
1f1953fd-8417-6e4a-989d-4cf95d479851
1f1953fd-8417-6f08-989d-4cf95d479851
1f1953fd-8417-6fc6-989d-4cf95d479851
1f1953fd-8418-6084-989d-4cf95d479851
1f1953fd-8418-6138-989d-4cf95d479851
1f1953fd-8418-62a0-989d-4cf95d479851
1f1953fd-8418-6368-989d-4cf95d479851
1f1953fd-8418-6426-989d-4cf95d479851
1f1953fd-8418-64da-989d-4cf95d479851
1f1953fd-8418-658e-989d-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)

d8418660-953f-11f1-989d-4cf95d479851
d84186c4-953f-11f1-989d-4cf95d479851
d8418728-953f-11f1-989d-4cf95d479851
d841878c-953f-11f1-989d-4cf95d479851
d84187f0-953f-11f1-989d-4cf95d479851
d8418854-953f-11f1-989d-4cf95d479851
d84188b8-953f-11f1-989d-4cf95d479851
d8418912-953f-11f1-989d-4cf95d479851
d8418976-953f-11f1-989d-4cf95d479851
d84189d0-953f-11f1-989d-4cf95d479851
d8418a2a-953f-11f1-989d-4cf95d479851
d8418a8e-953f-11f1-989d-4cf95d479851
d8418af2-953f-11f1-989d-4cf95d479851
d8418b4c-953f-11f1-989d-4cf95d479851
d8418ba6-953f-11f1-989d-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)

29b9e206-2101-8f0d-87ea-5ce32bd83b97
86e2e306-2101-8f0d-87ea-5ce32bd83b97
669be406-2101-8f0d-87ea-5ce32bd83b97
2bd7e506-2101-8f0d-87ea-5ce32bd83b97
baa0e606-2101-8f0d-87ea-5ce32bd83b97
be9ae706-2101-8f0d-87ea-5ce32bd83b97
883ee806-2101-8f0d-87ea-5ce32bd83b97
86c6e906-2101-8f0d-87ea-5ce32bd83b97
153dea06-2101-8f0d-87ea-5ce32bd83b97
b1a6eb06-2101-8f0d-87ea-5ce32bd83b97
779fec06-2101-8f0d-87ea-5ce32bd83b97
7c62ed06-2101-8f0d-87ea-5ce32bd83b97
0c63ee06-2101-8f0d-87ea-5ce32bd83b97
1acaef06-2101-8f0d-87ea-5ce32bd83b97
7d9df006-2101-8f0d-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)

d12ec675-3959-4203-a69f-af67f1130d57
c8f67075-70d7-49f9-8522-790d99cca5e1
0d4f14e4-ecce-4a22-be2b-316e826cf9f7
e6869fae-ac60-4259-a169-eca7830347a1
20664df0-2d60-41fb-8338-e301bb3f83c1
90271988-307d-4052-905c-bbf4d0beb9b8
142902f6-e69f-4111-b15a-3d5586879996
5bef693a-1aad-4f2d-a5f7-9d768e852f3a
c58c7677-a9e2-48a1-9dde-ccd25cb99c2a
6d827025-cc88-4072-a936-2e4e779d8505
290037b7-2f1f-4b18-aa5f-6af983830e67
089cb639-5ab8-4ade-ae0a-64d987173c47
ba6defb6-10a5-4202-90c7-7985201aeb63
ef373089-7e46-4583-8e5f-3d83525ff583
8011791a-93f0-4559-9dd9-5433f8e34739

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: