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)

01a06dcf-597b-7792-833f-e9ba6669bccb
01a06dcf-597b-7950-8c53-c80d8136e6a9
01a06dcf-597b-7a90-b53d-c7302690361e
01a06dcf-597b-7baa-8c1f-25e5fb07504c
01a06dcf-597b-7cc1-a05d-2483d4648715
01a06dcf-597b-7de0-b6b9-c316cd778158
01a06dcf-597b-7ef6-b78f-d80cbe588ce8
01a06dcf-597c-700d-8b74-fc8804009a28
01a06dcf-597c-7123-9b9f-10a57f3a740b
01a06dcf-597c-7236-8f74-7447a939b30b
01a06dcf-597c-7348-bc4f-3e21dfb2fc11
01a06dcf-597c-745b-a59d-434f98022401
01a06dcf-597c-7571-82cd-6f95694e27ce
01a06dcf-597c-767f-b7e6-55cbd09d3434
01a06dcf-597c-7792-98be-56d6866819b8

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)

1f1a8938-718d-624a-90f2-4cf95d479851
1f1a8938-718d-640c-90f2-4cf95d479851
1f1a8938-718d-64e8-90f2-4cf95d479851
1f1a8938-718d-65ba-90f2-4cf95d479851
1f1a8938-718d-6682-90f2-4cf95d479851
1f1a8938-718d-6740-90f2-4cf95d479851
1f1a8938-718d-67fe-90f2-4cf95d479851
1f1a8938-718d-68bc-90f2-4cf95d479851
1f1a8938-718d-697a-90f2-4cf95d479851
1f1a8938-718d-6a38-90f2-4cf95d479851
1f1a8938-718d-6b78-90f2-4cf95d479851
1f1a8938-718d-6c40-90f2-4cf95d479851
1f1a8938-718d-6cfe-90f2-4cf95d479851
1f1a8938-718d-6db2-90f2-4cf95d479851
1f1a8938-718d-6e70-90f2-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)

8718df42-a893-11f1-90f2-4cf95d479851
8718df9c-a893-11f1-90f2-4cf95d479851
8718e000-a893-11f1-90f2-4cf95d479851
8718e05a-a893-11f1-90f2-4cf95d479851
8718e0b4-a893-11f1-90f2-4cf95d479851
8718e10e-a893-11f1-90f2-4cf95d479851
8718e17c-a893-11f1-90f2-4cf95d479851
8718e1ea-a893-11f1-90f2-4cf95d479851
8718e258-a893-11f1-90f2-4cf95d479851
8718e2bc-a893-11f1-90f2-4cf95d479851
8718e32a-a893-11f1-90f2-4cf95d479851
8718e398-a893-11f1-90f2-4cf95d479851
8718e3fc-a893-11f1-90f2-4cf95d479851
8718e460-a893-11f1-90f2-4cf95d479851
8718e4ba-a893-11f1-90f2-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)

64028a00-7a04-870f-87ea-5ce32bd83b97
da0e8b00-7a04-870f-87ea-5ce32bd83b97
70a08c00-7a04-870f-87ea-5ce32bd83b97
b2d48d00-7a04-870f-87ea-5ce32bd83b97
42148e00-7a04-870f-87ea-5ce32bd83b97
1dab8f00-7a04-870f-87ea-5ce32bd83b97
804a9000-7a04-870f-87ea-5ce32bd83b97
60459100-7a04-870f-87ea-5ce32bd83b97
7f609200-7a04-870f-87ea-5ce32bd83b97
8ef99300-7a04-870f-87ea-5ce32bd83b97
e8789400-7a04-870f-87ea-5ce32bd83b97
445c9500-7a04-870f-87ea-5ce32bd83b97
82069700-7a04-870f-87ea-5ce32bd83b97
6fa79800-7a04-870f-87ea-5ce32bd83b97
03339900-7a04-870f-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)

007005a3-492d-4caf-b839-55b0fb6b1b5b
2a6f884b-e82c-4871-93af-5496d3db10e8
51af0bca-cfd5-4de1-8dac-20307f1bc307
7df0d7c7-9afe-41d2-82c9-8835f24e0160
fc349e7a-2568-40ec-b1a9-34c24daa15c2
dfa24fce-35ba-4324-944b-9749dc85fe36
c9f1146d-a146-4ee1-8a9a-ff400ced06cd
fcc0405c-72af-46fe-9d1c-1d99a12ddb94
446bec65-8218-410a-8dc2-8ac03096dc83
a9875d9d-e923-433b-ae41-bf0bcb0896c6
dfeaf9fc-8647-4d0f-93ed-74335ea1ba68
511e5475-abef-4ce2-b240-91310d4aa9d9
3a3bdd5a-2b11-4080-bfe0-acafb1763c5f
aeb87787-6e9c-4774-9ea8-838d999ac24b
41233c0b-3d84-4dd3-af6b-564f7e330863

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: