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)

0193ec6a-233f-70ee-bb37-cbceab5b4816
0193ec6a-233f-72a8-86c6-981c7b8dae11
0193ec6a-233f-73ec-9737-83232a5a10c1
0193ec6a-233f-750b-b2c9-3930a62f39c3
0193ec6a-233f-7625-8073-abb51089a15f
0193ec6a-233f-773c-b696-d6dd65987d6d
0193ec6a-233f-7857-a042-d33534ed0c5b
0193ec6a-233f-796d-bb71-782854ac2599
0193ec6a-233f-7a88-a663-df23bfb85b64
0193ec6a-233f-7b9e-aefd-f15eb4e29996
0193ec6a-233f-7cb5-87bd-2157cf11fe4f
0193ec6a-233f-7dcf-8ae1-fe9184727b20
0193ec6a-233f-7eea-bba5-b8aa8cc96939
0193ec6a-233f-7005-9fb8-76da43763869
0193ec6a-2340-70a8-b774-6144aa2d03ef

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)

1efc0150-5823-6b80-8e2a-4cf95d479851
1efc0150-5823-6d24-8e2a-4cf95d479851
1efc0150-5823-6e14-8e2a-4cf95d479851
1efc0150-5823-6ef0-8e2a-4cf95d479851
1efc0150-5823-6fc2-8e2a-4cf95d479851
1efc0150-5824-6094-8e2a-4cf95d479851
1efc0150-5824-615c-8e2a-4cf95d479851
1efc0150-5824-622e-8e2a-4cf95d479851
1efc0150-5824-62f6-8e2a-4cf95d479851
1efc0150-5824-63be-8e2a-4cf95d479851
1efc0150-5824-651c-8e2a-4cf95d479851
1efc0150-5824-65f8-8e2a-4cf95d479851
1efc0150-5824-66c0-8e2a-4cf95d479851
1efc0150-5824-6788-8e2a-4cf95d479851
1efc0150-5824-6850-8e2a-4cf95d479851

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)

806b66e2-abcf-4090-95a3-6a4c953a5d29
f63d7663-fc3d-4668-b957-03b1122a1906
a65e7de8-8584-42a1-9f71-512351df179f
3d8cf14f-3123-476b-b860-744a995625cc
94fed3a1-1ad1-4217-84c4-17ce715db446
3584ba9f-1f2a-49b8-9b3b-ecc9a853bef1
05ff6c2e-c31a-4820-99f4-59c8b1224000
f270db11-73ef-4525-8775-54dbc3dd36d5
9ec247fb-4d26-4ac3-8295-93f014f49811
985b73d7-698d-4d0b-8f30-01e888698360
a6f621fc-d8c4-428f-94cb-2f99c729a472
ccf28301-1ec1-4331-bfc2-def0b01a7d4c
0b32d64e-1111-4e8c-a44d-4509ac1aa9d1
ed621180-ddbe-4737-b00f-dda00a259930
82eb7bf2-c0d7-4bff-850f-33ef0db8580b

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)

05824d78-c015-11ef-8e2a-4cf95d479851
05824de6-c015-11ef-8e2a-4cf95d479851
05824e54-c015-11ef-8e2a-4cf95d479851
05824eb8-c015-11ef-8e2a-4cf95d479851
05824f1c-c015-11ef-8e2a-4cf95d479851
05824f8a-c015-11ef-8e2a-4cf95d479851
05824fee-c015-11ef-8e2a-4cf95d479851
05825052-c015-11ef-8e2a-4cf95d479851
058250b6-c015-11ef-8e2a-4cf95d479851
0582511a-c015-11ef-8e2a-4cf95d479851
05825188-c015-11ef-8e2a-4cf95d479851
058251ec-c015-11ef-8e2a-4cf95d479851
05825246-c015-11ef-8e2a-4cf95d479851
058252aa-c015-11ef-8e2a-4cf95d479851
05825318-c015-11ef-8e2a-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)

19341b3b-00d2-8165-87e8-5ce32bd83b96
328b1c3b-00d2-8165-87e8-5ce32bd83b96
808f1d3b-00d2-8165-87e8-5ce32bd83b96
18f01e3b-00d2-8165-87e8-5ce32bd83b96
28ce1f3b-00d2-8165-87e8-5ce32bd83b96
3872203b-00d2-8165-87e8-5ce32bd83b96
3af0213b-00d2-8165-87e8-5ce32bd83b96
d4d8223b-00d2-8165-87e8-5ce32bd83b96
bd78233b-00d2-8165-87e8-5ce32bd83b96
64ff243b-00d2-8165-87e8-5ce32bd83b96
f28d253b-00d2-8165-87e8-5ce32bd83b96
f816263b-00d2-8165-87e8-5ce32bd83b96
edc7273b-00d2-8165-87e8-5ce32bd83b96
9dd8283b-00d2-8165-87e8-5ce32bd83b96
994d293b-00d2-8165-87e8-5ce32bd83b96

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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: