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)

01a1444a-6884-78f6-a6a7-157fabfddeb0
01a1444a-6884-7a88-869f-d6e45e7c907e
01a1444a-6884-7bc7-9782-e2573354e7b7
01a1444a-6884-7ce6-9f0a-2597c7986cf0
01a1444a-6884-7dfc-9106-965412fb9a4a
01a1444a-6884-7f13-a542-3f66403e10d8
01a1444a-6885-7025-800f-5d3825860b2d
01a1444a-6885-7138-98ad-2d97716fdfdd
01a1444a-6885-724e-bb38-697ad131dc21
01a1444a-6885-7361-92d2-b33a9e9120dd
01a1444a-6885-73cf-a2a5-da97fcc53fc2
01a1444a-6885-74e6-9b17-fd239454c6c6
01a1444a-6885-75fc-844a-df0582149ac4
01a1444a-6885-770f-84ca-7d36437171dd
01a1444a-6885-782e-aa87-bad5017663c3

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)

1f1c94da-e142-632e-8846-4cf95d479851
1f1c94da-e142-6504-8846-4cf95d479851
1f1c94da-e142-65fe-8846-4cf95d479851
1f1c94da-e142-66ee-8846-4cf95d479851
1f1c94da-e142-67ca-8846-4cf95d479851
1f1c94da-e142-68a6-8846-4cf95d479851
1f1c94da-e142-698c-8846-4cf95d479851
1f1c94da-e142-6a68-8846-4cf95d479851
1f1c94da-e142-6b44-8846-4cf95d479851
1f1c94da-e142-6c20-8846-4cf95d479851
1f1c94da-e142-6d88-8846-4cf95d479851
1f1c94da-e142-6e6e-8846-4cf95d479851
1f1c94da-e142-6f4a-8846-4cf95d479851
1f1c94da-e143-6026-8846-4cf95d479851
1f1c94da-e143-60f8-8846-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)

ae1431e8-c94d-11f1-8846-4cf95d479851
ae143256-c94d-11f1-8846-4cf95d479851
ae1432ce-c94d-11f1-8846-4cf95d479851
ae143346-c94d-11f1-8846-4cf95d479851
ae1433aa-c94d-11f1-8846-4cf95d479851
ae143418-c94d-11f1-8846-4cf95d479851
ae143490-c94d-11f1-8846-4cf95d479851
ae143508-c94d-11f1-8846-4cf95d479851
ae143576-c94d-11f1-8846-4cf95d479851
ae1435da-c94d-11f1-8846-4cf95d479851
ae143652-c94d-11f1-8846-4cf95d479851
ae1436c0-c94d-11f1-8846-4cf95d479851
ae14372e-c94d-11f1-8846-4cf95d479851
ae14379c-c94d-11f1-8846-4cf95d479851
ae14380a-c94d-11f1-8846-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)

254c8a09-7f02-8112-87ea-5ce32bd83b97
88678b09-7f02-8112-87ea-5ce32bd83b97
706a8c09-7f02-8112-87ea-5ce32bd83b97
e6e88d09-7f02-8112-87ea-5ce32bd83b97
61388e09-7f02-8112-87ea-5ce32bd83b97
485c8f09-7f02-8112-87ea-5ce32bd83b97
4ba79009-7f02-8112-87ea-5ce32bd83b97
46c79109-7f02-8112-87ea-5ce32bd83b97
47959309-7f02-8112-87ea-5ce32bd83b97
cbb69409-7f02-8112-87ea-5ce32bd83b97
34ea9509-7f02-8112-87ea-5ce32bd83b97
7f0c9609-7f02-8112-87ea-5ce32bd83b97
a6459709-7f02-8112-87ea-5ce32bd83b97
23659809-7f02-8112-87ea-5ce32bd83b97
8dcd9909-7f02-8112-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)

068be21f-fde4-4751-9f38-1758f8cd5647
c0ac1c97-4337-4877-a299-a7e791fc8f11
55535eca-c0e9-4717-9cec-efac0a5864ee
2c2e5bcb-11c6-4f53-93c3-a316065aefea
1dedeacb-4c64-44f9-b6ff-c2a0899f0cc5
bbf8e0df-8170-443e-8f13-91ca2784fabf
e624e335-f76b-43ba-ad54-a464e0e46eef
b4dcc760-9b8f-48e8-bff6-77bd25795dc1
e738826a-a46d-43bc-b288-86bf4745e40e
d262c1f5-4fc3-460c-a309-127e03daa0d0
b259cd9a-6953-48c6-b86c-f4742544f853
e66e1623-29ac-4ebf-872d-e3eaf47764b4
a05b981f-364b-4def-8d55-1fff155be2d0
da5dca98-acb3-4e62-b411-433cf47fdce7
d0ddfaa1-0139-4296-8389-31ad89ba0e3a

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: