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)

01a11f79-b2a0-70de-9b9f-a4e1f08571bc
01a11f79-b2a0-7307-975c-7623d8b0691b
01a11f79-b2a0-747f-8233-dc81cad238df
01a11f79-b2a0-75c7-a7e2-9642f1fada82
01a11f79-b2a0-770f-9653-7ac31b67c5ba
01a11f79-b2a0-784e-a18c-9b1a689f1a74
01a11f79-b2a0-798a-8a58-7ae8d3959eef
01a11f79-b2a0-7ac9-89ad-57382044da3a
01a11f79-b2a0-7c0d-81d6-29b0567bd900
01a11f79-b2a0-7d50-86ca-20fb31eb404a
01a11f79-b2a0-7e90-885c-e06593bcfa0c
01a11f79-b2a0-7fd3-8afd-7606d873edcf
01a11f79-b2a1-711f-8b17-8a29a71bbb64
01a11f79-b2a1-725b-9c33-8a6bad9ce93b
01a11f79-b2a1-7375-b4f5-e99cb4104ef1

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)

1f1c3af9-552f-6e4e-bb63-4cf95d479851
1f1c3af9-5530-6038-bb63-4cf95d479851
1f1c3af9-5530-6128-bb63-4cf95d479851
1f1c3af9-5530-6204-bb63-4cf95d479851
1f1c3af9-5530-62d6-bb63-4cf95d479851
1f1c3af9-5530-63a8-bb63-4cf95d479851
1f1c3af9-5530-6470-bb63-4cf95d479851
1f1c3af9-5530-6542-bb63-4cf95d479851
1f1c3af9-5530-660a-bb63-4cf95d479851
1f1c3af9-5530-66d2-bb63-4cf95d479851
1f1c3af9-5530-6826-bb63-4cf95d479851
1f1c3af9-5530-6902-bb63-4cf95d479851
1f1c3af9-5530-69d4-bb63-4cf95d479851
1f1c3af9-5530-6a9c-bb63-4cf95d479851
1f1c3af9-5530-6b6e-bb63-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)

95530c54-c3af-11f1-bb63-4cf95d479851
95530cb8-c3af-11f1-bb63-4cf95d479851
95530d1c-c3af-11f1-bb63-4cf95d479851
95530d76-c3af-11f1-bb63-4cf95d479851
95530dda-c3af-11f1-bb63-4cf95d479851
95530e3e-c3af-11f1-bb63-4cf95d479851
95530e98-c3af-11f1-bb63-4cf95d479851
95530efc-c3af-11f1-bb63-4cf95d479851
95530f56-c3af-11f1-bb63-4cf95d479851
95530fba-c3af-11f1-bb63-4cf95d479851
95531014-c3af-11f1-bb63-4cf95d479851
95531078-c3af-11f1-bb63-4cf95d479851
955310dc-c3af-11f1-bb63-4cf95d479851
95531140-c3af-11f1-bb63-4cf95d479851
955311a4-c3af-11f1-bb63-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)

9675b633-a801-8a11-87ea-5ce32bd83b97
b6beb733-a801-8a11-87ea-5ce32bd83b97
0457b833-a801-8a11-87ea-5ce32bd83b97
97ccb933-a801-8a11-87ea-5ce32bd83b97
135eba33-a801-8a11-87ea-5ce32bd83b97
3a34bb33-a801-8a11-87ea-5ce32bd83b97
f194bc33-a801-8a11-87ea-5ce32bd83b97
b22abd33-a801-8a11-87ea-5ce32bd83b97
b50dbe33-a801-8a11-87ea-5ce32bd83b97
0dcfbf33-a801-8a11-87ea-5ce32bd83b97
1d29c033-a801-8a11-87ea-5ce32bd83b97
4288c133-a801-8a11-87ea-5ce32bd83b97
139ac333-a801-8a11-87ea-5ce32bd83b97
f179c433-a801-8a11-87ea-5ce32bd83b97
4b6cc533-a801-8a11-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)

938b014d-c756-49b7-95b7-a4d741e703ea
14b2fd38-0bd7-491b-a591-d4cdc72b5f28
fec3f40f-ad3f-44ca-b4db-33c0e583b5a7
477dffad-9071-4575-bb61-48114d0b56a7
15dd40f1-ade9-4ad3-be8c-55e84f198cde
2ef95fe2-3776-43c1-b63d-e70b8b581b4c
b669ef33-0bae-405b-9387-21aeca11e403
649994d5-98c2-453e-9bb0-4ea95a698f87
1d9d3ec8-85ec-4f37-82b4-3b882e565352
05810b46-bd6b-4267-bcdc-8439bd0ae28c
9ce3634e-dccb-446e-8326-ae94d3d6b31c
3669e7e0-9a07-415b-95d5-468376dc5980
6bec3406-c002-4ee5-adea-7b0e6737b1cc
f7e356a3-4058-4e32-ba21-0cbf7bccd633
37855c46-5607-4c39-8597-05442b98c27b

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: