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)

01a1ffa6-fa0d-787b-a82f-52a1268bb1dd
01a1ffa6-fa0d-7a05-8510-e378817c1fee
01a1ffa6-fa0d-7b48-8e1e-a447408ea221
01a1ffa6-fa0d-7c63-9351-f1fe222c04d4
01a1ffa6-fa0d-7d86-b665-33340d961089
01a1ffa6-fa0d-7e9c-96bf-d262db1cfc53
01a1ffa6-fa0d-7fb3-beb0-a15cc8d888a2
01a1ffa6-fa0e-70c9-885a-30db65b88b9b
01a1ffa6-fa0e-71e0-8e4a-67d4685b73f5
01a1ffa6-fa0e-72f2-9930-4bdc07f18c28
01a1ffa6-fa0e-7405-a3ac-1ac42d09e90d
01a1ffa6-fa0e-751b-9203-a9d322e28e6d
01a1ffa6-fa0e-762e-ae5c-afc46c7e4475
01a1ffa6-fa0e-7740-98ac-556cea06b2e4
01a1ffa6-fa0e-7852-b99a-738c742a0c59

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)

1f1e5e47-e091-6b72-98de-4cf95d479851
1f1e5e47-e091-6d3e-98de-4cf95d479851
1f1e5e47-e091-6e38-98de-4cf95d479851
1f1e5e47-e091-6f1e-98de-4cf95d479851
1f1e5e47-e091-6ff0-98de-4cf95d479851
1f1e5e47-e092-60d6-98de-4cf95d479851
1f1e5e47-e092-61b2-98de-4cf95d479851
1f1e5e47-e092-6284-98de-4cf95d479851
1f1e5e47-e092-6360-98de-4cf95d479851
1f1e5e47-e092-6432-98de-4cf95d479851
1f1e5e47-e092-659a-98de-4cf95d479851
1f1e5e47-e092-6680-98de-4cf95d479851
1f1e5e47-e092-6752-98de-4cf95d479851
1f1e5e47-e092-6824-98de-4cf95d479851
1f1e5e47-e092-68f6-98de-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)

7e0929d2-e5e4-11f1-98de-4cf95d479851
7e092a36-e5e4-11f1-98de-4cf95d479851
7e092aa4-e5e4-11f1-98de-4cf95d479851
7e092b08-e5e4-11f1-98de-4cf95d479851
7e092b76-e5e4-11f1-98de-4cf95d479851
7e092bda-e5e4-11f1-98de-4cf95d479851
7e092d92-e5e4-11f1-98de-4cf95d479851
7e092e64-e5e4-11f1-98de-4cf95d479851
7e092ef0-e5e4-11f1-98de-4cf95d479851
7e092f7c-e5e4-11f1-98de-4cf95d479851
7e093008-e5e4-11f1-98de-4cf95d479851
7e0930a8-e5e4-11f1-98de-4cf95d479851
7e093116-e5e4-11f1-98de-4cf95d479851
7e09317a-e5e4-11f1-98de-4cf95d479851
7e0931de-e5e4-11f1-98de-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)

631d800f-a504-8514-87ea-5ce32bd83b97
abe0810f-a504-8514-87ea-5ce32bd83b97
f4bb820f-a504-8514-87ea-5ce32bd83b97
c1fb830f-a504-8514-87ea-5ce32bd83b97
7552840f-a504-8514-87ea-5ce32bd83b97
b798850f-a504-8514-87ea-5ce32bd83b97
7589870f-a504-8514-87ea-5ce32bd83b97
4585880f-a504-8514-87ea-5ce32bd83b97
f2d4890f-a504-8514-87ea-5ce32bd83b97
e27b8a0f-a504-8514-87ea-5ce32bd83b97
42b08b0f-a504-8514-87ea-5ce32bd83b97
51618c0f-a504-8514-87ea-5ce32bd83b97
ab6f8d0f-a504-8514-87ea-5ce32bd83b97
61368e0f-a504-8514-87ea-5ce32bd83b97
6d068f0f-a504-8514-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)

a88d5c53-3cc9-4cf9-9968-baec9826bc82
31b09383-fc0a-4bd2-9a4c-487dafc68cad
76f26876-6df7-46b2-b0c9-a14a5b397dc8
174e9410-4441-4293-8e8f-c524748aafa7
c75fa51a-cf35-4bd3-92e3-17844ca37b9e
77d9603d-39bc-41c7-97eb-50df03d9c18e
5edefecd-0dce-43f7-b2e2-27608d6976f1
03dabb5c-1357-47c3-9af8-4c8a2a042352
d6979279-8feb-4492-ab5f-95eb4d3e87c8
f889c3cc-f1a3-4915-99b6-6d4cc61ad0a8
cd6e2c1f-f217-40ac-b61e-6d2e413fd21d
fd5031ee-30ce-4da7-8724-ddbaee9bd62b
061d3b01-3c31-4271-9996-0957576cf8af
00af8a0b-4950-43a9-beea-e9b06b47bdc4
434f87ed-ce9e-4ec6-9105-3521ceb2ce69

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: