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)

01a01b20-fecd-7e1d-b953-44355c2466ab
01a01b20-fecd-7fdc-9092-16f5779dbe44
01a01b20-fece-7117-9b8d-0158405a7c1c
01a01b20-fece-723e-aa27-eac9edf91069
01a01b20-fece-7359-b9a7-2cd020ecc8bb
01a01b20-fece-7477-a86a-8a70153aba37
01a01b20-fece-7592-b23c-fc06754d3f74
01a01b20-fece-76ad-bfd8-0687b0e23f86
01a01b20-fece-77f4-a4d9-ce63dc4c3964
01a01b20-fece-7913-bc86-640be01d5b03
01a01b20-fece-7a2e-8607-b93cc092ea92
01a01b20-fece-7b4c-9611-94acfbc19350
01a01b20-fece-7c6b-92e7-2da1413f0870
01a01b20-fece-7d8a-9f3d-60b92f9d15a8
01a01b20-fece-7ea4-b85c-855633405d8f

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)

1f19bf5c-c62b-67f8-9420-4cf95d479851
1f19bf5c-c62b-699c-9420-4cf95d479851
1f19bf5c-c62b-6a78-9420-4cf95d479851
1f19bf5c-c62b-6b4a-9420-4cf95d479851
1f19bf5c-c62b-6c12-9420-4cf95d479851
1f19bf5c-c62b-6cd0-9420-4cf95d479851
1f19bf5c-c62b-6d8e-9420-4cf95d479851
1f19bf5c-c62b-6e56-9420-4cf95d479851
1f19bf5c-c62b-6f14-9420-4cf95d479851
1f19bf5c-c62b-6fd2-9420-4cf95d479851
1f19bf5c-c62c-6112-9420-4cf95d479851
1f19bf5c-c62c-61e4-9420-4cf95d479851
1f19bf5c-c62c-62a2-9420-4cf95d479851
1f19bf5c-c62c-636a-9420-4cf95d479851
1f19bf5c-c62c-6432-9420-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)

cc62c504-9bf5-11f1-9420-4cf95d479851
cc62c568-9bf5-11f1-9420-4cf95d479851
cc62c5cc-9bf5-11f1-9420-4cf95d479851
cc62c63a-9bf5-11f1-9420-4cf95d479851
cc62c6a8-9bf5-11f1-9420-4cf95d479851
cc62c716-9bf5-11f1-9420-4cf95d479851
cc62c77a-9bf5-11f1-9420-4cf95d479851
cc62c7e8-9bf5-11f1-9420-4cf95d479851
cc62c860-9bf5-11f1-9420-4cf95d479851
cc62c8c4-9bf5-11f1-9420-4cf95d479851
cc62c932-9bf5-11f1-9420-4cf95d479851
cc62c996-9bf5-11f1-9420-4cf95d479851
cc62c9f0-9bf5-11f1-9420-4cf95d479851
cc62ca54-9bf5-11f1-9420-4cf95d479851
cc62cac2-9bf5-11f1-9420-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)

891e5a2a-2a04-870e-87ea-5ce32bd83b97
d8a35b2a-2a04-870e-87ea-5ce32bd83b97
0b4a5c2a-2a04-870e-87ea-5ce32bd83b97
3df15d2a-2a04-870e-87ea-5ce32bd83b97
7ca75e2a-2a04-870e-87ea-5ce32bd83b97
763e5f2a-2a04-870e-87ea-5ce32bd83b97
7221602a-2a04-870e-87ea-5ce32bd83b97
6981612a-2a04-870e-87ea-5ce32bd83b97
1d48622a-2a04-870e-87ea-5ce32bd83b97
bca0632a-2a04-870e-87ea-5ce32bd83b97
1e56642a-2a04-870e-87ea-5ce32bd83b97
5e6b652a-2a04-870e-87ea-5ce32bd83b97
bddf662a-2a04-870e-87ea-5ce32bd83b97
2158672a-2a04-870e-87ea-5ce32bd83b97
26cd682a-2a04-870e-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)

edc9efe2-b69a-426c-bbe3-8d09a8e2bb8e
62c8d37f-defa-4f52-93f6-4eaa2022d156
d5a7cc62-00d1-4a82-94b6-75f05dd757da
bb57368d-5ce6-4b0b-87d4-31ff210a19f4
4c001fb3-9233-4482-a89c-94186f826815
ed2e2bab-b714-48c9-b613-ebcebc980caf
f00591fd-63be-44af-b079-1ff0ee533458
345273eb-f972-4ca2-97c4-ca4795b81ba1
70569aad-fd9e-49aa-9017-a15084ed8f65
d08d202a-db29-4d50-b76e-ea8eed0e89af
579eb918-415e-43c7-8b63-ebf02b3fbcef
0e6534a5-2e3b-4882-bc97-56a3007df10e
d108e352-b510-41d3-ad31-ba9148bc03ed
0a6def91-2e82-4af7-b977-9c4f1ab10d22
53a2afc4-d504-4142-b7ef-1f030cff86d1

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: