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)

019d6383-bc96-7130-8c89-0d55c0c43fda
019d6383-bc96-72c9-8dc3-e2e15e7f5bfe
019d6383-bc96-740d-8be2-21eab8a1b9ce
019d6383-bc96-752c-88e8-994d9f3e9300
019d6383-bc96-7646-861a-40daf5b12e7e
019d6383-bc96-7761-b653-5e1561b92017
019d6383-bc96-787b-8917-b47edf5af49f
019d6383-bc96-799a-9b51-f213799ae907
019d6383-bc96-7ab9-814c-0e823d366de1
019d6383-bc96-7bd3-adcc-14254cbf2cdb
019d6383-bc96-7cea-a62d-76342eab6823
019d6383-bc96-7e00-8857-4d8cd47c6208
019d6383-bc96-7f1b-b467-9c8fdf32fc23
019d6383-bc97-7036-b821-77f472f32140
019d6383-bc97-7154-af9e-828d6f84c35f

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)

1f131d15-d781-6178-a496-4cf95d479851
1f131d15-d781-6308-a496-4cf95d479851
1f131d15-d781-63f8-a496-4cf95d479851
1f131d15-d781-64d4-a496-4cf95d479851
1f131d15-d781-65a6-a496-4cf95d479851
1f131d15-d781-666e-a496-4cf95d479851
1f131d15-d781-6740-a496-4cf95d479851
1f131d15-d781-6808-a496-4cf95d479851
1f131d15-d781-68c6-a496-4cf95d479851
1f131d15-d781-698e-a496-4cf95d479851
1f131d15-d781-6ac4-a496-4cf95d479851
1f131d15-d781-6b96-a496-4cf95d479851
1f131d15-d781-6c68-a496-4cf95d479851
1f131d15-d781-6d30-a496-4cf95d479851
1f131d15-d781-6df8-a496-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)

9b5d0abc-7b31-4120-a656-bcbdb49f59bf
e2b2367c-df47-40e0-b2c1-44eb17a17a29
c2dd3f15-869a-405f-b8ad-b4ed1c0062a2
b03fa5fe-d8da-459d-b5e4-e19f8270d9e3
c88bb985-4979-4f90-8f52-2882d4740eff
ba56d965-86de-42e1-b404-4544feaa9c26
22459bbb-eb8b-4433-8634-fe1e74585225
3124b966-0ff7-4806-bd11-ceb5079ac2e9
2664f1d7-28aa-448c-a114-0afb72624795
bb33e00a-6586-4c2c-8768-bc3ef6f41902
0a1f1c69-420b-4ae4-aa16-b2e4357f6c87
4cc62721-46fc-4f64-be62-241951938647
c3ee5137-b056-4127-8916-1bbf501cd188
a9f972d6-9303-4cdc-a868-adea3771c71b
6cca5dc3-8f4b-43a7-b92c-aa053a1f708a

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)

5d782320-31d1-11f1-a496-4cf95d479851
5d782384-31d1-11f1-a496-4cf95d479851
5d7823e8-31d1-11f1-a496-4cf95d479851
5d78244c-31d1-11f1-a496-4cf95d479851
5d7824a6-31d1-11f1-a496-4cf95d479851
5d78250a-31d1-11f1-a496-4cf95d479851
5d78256e-31d1-11f1-a496-4cf95d479851
5d7825d2-31d1-11f1-a496-4cf95d479851
5d78262c-31d1-11f1-a496-4cf95d479851
5d782690-31d1-11f1-a496-4cf95d479851
5d7826ea-31d1-11f1-a496-4cf95d479851
5d782744-31d1-11f1-a496-4cf95d479851
5d7827a8-31d1-11f1-a496-4cf95d479851
5d782802-31d1-11f1-a496-4cf95d479851
5d782866-31d1-11f1-a496-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)

72772033-be03-8006-87ea-5ce32bd83b97
e7ec2133-be03-8006-87ea-5ce32bd83b97
f7302333-be03-8006-87ea-5ce32bd83b97
08192433-be03-8006-87ea-5ce32bd83b97
3cc72533-be03-8006-87ea-5ce32bd83b97
31562633-be03-8006-87ea-5ce32bd83b97
6e942733-be03-8006-87ea-5ce32bd83b97
88732833-be03-8006-87ea-5ce32bd83b97
bd452933-be03-8006-87ea-5ce32bd83b97
74a62a33-be03-8006-87ea-5ce32bd83b97
86f92b33-be03-8006-87ea-5ce32bd83b97
f3f12c33-be03-8006-87ea-5ce32bd83b97
55b82d33-be03-8006-87ea-5ce32bd83b97
5e382e33-be03-8006-87ea-5ce32bd83b97
2e782f33-be03-8006-87ea-5ce32bd83b97

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: