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)

01a1a558-100c-7ac5-bdfb-b2dbaf0aa878
01a1a558-100c-7cb1-a32f-849a80d73a3c
01a1a558-100c-7e21-bcaa-f64c25d20d97
01a1a558-100c-7f6d-91b6-d3e06dc72199
01a1a558-100d-70a8-a04a-677a8a9788ff
01a1a558-100d-71e4-aaec-a2bb6aac93a4
01a1a558-100d-731b-b362-722b1cdfffaf
01a1a558-100d-7400-9f82-4871c2d03a05
01a1a558-100d-753c-85f4-928f31e817da
01a1a558-100d-767b-9d33-f3ee62481176
01a1a558-100d-77b3-9d38-6b44eab47444
01a1a558-100d-78ee-8b9a-03571970fb99
01a1a558-100d-7a25-b29d-593de9b24ab2
01a1a558-100d-7b5d-b4d2-5994839ada3c
01a1a558-100d-7c98-aec0-cedb886275af

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)

1f1d81cd-3746-61b4-a34a-4cf95d479851
1f1d81cd-3746-643e-a34a-4cf95d479851
1f1d81cd-3746-65ba-a34a-4cf95d479851
1f1d81cd-3746-6718-a34a-4cf95d479851
1f1d81cd-3746-6862-a34a-4cf95d479851
1f1d81cd-3746-69b6-a34a-4cf95d479851
1f1d81cd-3746-6b00-a34a-4cf95d479851
1f1d81cd-3746-6c4a-a34a-4cf95d479851
1f1d81cd-3746-6d9e-a34a-4cf95d479851
1f1d81cd-3746-6ee8-a34a-4cf95d479851
1f1d81cd-3747-60e6-a34a-4cf95d479851
1f1d81cd-3747-6244-a34a-4cf95d479851
1f1d81cd-3747-638e-a34a-4cf95d479851
1f1d81cd-3747-64d8-a34a-4cf95d479851
1f1d81cd-3747-662c-a34a-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)

d3747794-d81c-11f1-a34a-4cf95d479851
d3747820-d81c-11f1-a34a-4cf95d479851
d37478b6-d81c-11f1-a34a-4cf95d479851
d374794c-d81c-11f1-a34a-4cf95d479851
d37479e2-d81c-11f1-a34a-4cf95d479851
d3747a6e-d81c-11f1-a34a-4cf95d479851
d3747afa-d81c-11f1-a34a-4cf95d479851
d3747b86-d81c-11f1-a34a-4cf95d479851
d3747c1c-d81c-11f1-a34a-4cf95d479851
d3747cb2-d81c-11f1-a34a-4cf95d479851
d3747d3e-d81c-11f1-a34a-4cf95d479851
d3747dca-d81c-11f1-a34a-4cf95d479851
d3747e60-d81c-11f1-a34a-4cf95d479851
d3747eec-d81c-11f1-a34a-4cf95d479851
d3747f82-d81c-11f1-a34a-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)

04cf590e-a101-8413-87ea-5ce32bd83b97
ce045a0e-a101-8413-87ea-5ce32bd83b97
42465c0e-a101-8413-87ea-5ce32bd83b97
fab95d0e-a101-8413-87ea-5ce32bd83b97
ed2f5e0e-a101-8413-87ea-5ce32bd83b97
0a4e5f0e-a101-8413-87ea-5ce32bd83b97
d04c600e-a101-8413-87ea-5ce32bd83b97
17c0610e-a101-8413-87ea-5ce32bd83b97
940d620e-a101-8413-87ea-5ce32bd83b97
79a3630e-a101-8413-87ea-5ce32bd83b97
e2e5640e-a101-8413-87ea-5ce32bd83b97
a62f650e-a101-8413-87ea-5ce32bd83b97
1d15660e-a101-8413-87ea-5ce32bd83b97
6582670e-a101-8413-87ea-5ce32bd83b97
e9a5680e-a101-8413-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)

1c4fb06f-9c8a-490d-b315-257885b55c6d
5617b08f-14fd-44fe-b305-fa5423c7561a
9150244f-b25f-4745-b9ca-497123f5a0fc
3815891d-5b26-43a3-8bfe-d9b9391791ae
11fc35e1-aae5-4efd-8701-ded0dcd4005a
f30f5278-c0b6-40a6-9abe-5e9b4047d00a
edf160bd-55a9-402b-8ff6-f0e35de509e4
34043edb-3e14-4674-95b1-ddbba578c307
5fdb0bcb-4f1c-436b-9e38-36a71bb2b7ff
010571e8-d0c9-43f9-8818-5921a2956e83
9ee079df-23ad-4343-857d-a319797c5e9d
1365e65b-17f1-44f1-8254-e7bd6425dd02
260942d3-3b74-4360-9ef5-73f13be189f5
5401188e-e7f7-4bf1-9289-34d3e7313242
c35a2b6b-b8dc-43b4-8a0b-849fa44509ae

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: