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)

019ac9a8-790b-7fb3-b2de-4c9ef85ae0b4
019ac9a8-790c-71a2-a306-95b9c7ec9772
019ac9a8-790c-72f2-9cc2-088565bf1d95
019ac9a8-790c-7419-b89c-3d9c59afb74f
019ac9a8-790c-7538-b13a-826a62903184
019ac9a8-790c-7652-a16f-fb04ea807e99
019ac9a8-790c-7771-8966-8462e19e65b6
019ac9a8-790c-7890-93c8-21ecc3d380aa
019ac9a8-790c-79af-96c9-d4b8ef90332e
019ac9a8-790c-7acd-9fcf-1ae4487da7a4
019ac9a8-790c-7be8-99f0-49b98aaf1b9c
019ac9a8-790c-7d03-b782-f86dfa7b2f85
019ac9a8-790c-7e21-83e0-48c158a519a8
019ac9a8-790c-7f40-a541-f621803e4699
019ac9a8-790d-705b-a9c4-7151e2ce49d4

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)

1f0cc375-879d-62ba-9115-4cf95d479851
1f0cc375-879d-6490-9115-4cf95d479851
1f0cc375-879d-6576-9115-4cf95d479851
1f0cc375-879d-6634-9115-4cf95d479851
1f0cc375-879d-66f2-9115-4cf95d479851
1f0cc375-879d-67b0-9115-4cf95d479851
1f0cc375-879d-686e-9115-4cf95d479851
1f0cc375-879d-692c-9115-4cf95d479851
1f0cc375-879d-69ea-9115-4cf95d479851
1f0cc375-879d-6aa8-9115-4cf95d479851
1f0cc375-879d-6c06-9115-4cf95d479851
1f0cc375-879d-6cce-9115-4cf95d479851
1f0cc375-879d-6d82-9115-4cf95d479851
1f0cc375-879d-6e40-9115-4cf95d479851
1f0cc375-879d-6efe-9115-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)

50fb312d-657e-4fb4-9673-dd11ba7c9929
10ecae71-2ed0-4f00-a850-337937544715
48b7a6a6-a7e5-4c2b-9182-cf9fb3273656
ab416f44-c0f2-4619-b1bd-df5deca31f19
6d4a70b9-598f-406f-899b-02fd3ce4665a
a2b73d64-d560-4cdd-8afe-c7ad3ef7ae8a
ae3159b6-13a7-4fd5-967b-48ecd09f4616
7833cda5-32dd-4a07-ab68-91d1d354c6e0
13d3f0ae-a9c5-4f09-9e39-0c5794ce6fbd
75794fac-d062-424a-9e1e-b9bea57853dd
31a18dac-2519-4194-8d75-ebaa15389635
c5e7aaef-c4fc-4003-9970-d45f7cf26a38
79c8349c-5243-4dff-b504-32ac78299404
b15fd203-93fb-4ddc-bdd1-24e0423013d3
219d9960-bd02-47bc-9f18-4fe30fc61862

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)

5879e412-cc37-11f0-9115-4cf95d479851
5879e480-cc37-11f0-9115-4cf95d479851
5879e4e4-cc37-11f0-9115-4cf95d479851
5879e53e-cc37-11f0-9115-4cf95d479851
5879e598-cc37-11f0-9115-4cf95d479851
5879e606-cc37-11f0-9115-4cf95d479851
5879e66a-cc37-11f0-9115-4cf95d479851
5879e6ce-cc37-11f0-9115-4cf95d479851
5879e732-cc37-11f0-9115-4cf95d479851
5879e78c-cc37-11f0-9115-4cf95d479851
5879e7f0-cc37-11f0-9115-4cf95d479851
5879e84a-cc37-11f0-9115-4cf95d479851
5879e8a4-cc37-11f0-9115-4cf95d479851
5879e908-cc37-11f0-9115-4cf95d479851
5879e962-cc37-11f0-9115-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)

9529d034-1302-8c14-87e9-5ce32bd83b97
4ec6d134-1302-8c14-87e9-5ce32bd83b97
f33fd234-1302-8c14-87e9-5ce32bd83b97
aa25d334-1302-8c14-87e9-5ce32bd83b97
208fd434-1302-8c14-87e9-5ce32bd83b97
eaf3d534-1302-8c14-87e9-5ce32bd83b97
649ad634-1302-8c14-87e9-5ce32bd83b97
8956d734-1302-8c14-87e9-5ce32bd83b97
ea83d834-1302-8c14-87e9-5ce32bd83b97
d892d934-1302-8c14-87e9-5ce32bd83b97
8a10da34-1302-8c14-87e9-5ce32bd83b97
ab65db34-1302-8c14-87e9-5ce32bd83b97
eaa6dc34-1302-8c14-87e9-5ce32bd83b97
bca8dd34-1302-8c14-87e9-5ce32bd83b97
f246de34-1302-8c14-87e9-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

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: