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)

01a01d70-4626-7775-91f4-d28860f4a475
01a01d70-4626-79b3-8cc4-595f2a4bc73e
01a01d70-4626-7af6-88e7-9c367935f3ba
01a01d70-4626-7c11-9f4f-68c1ac5c140c
01a01d70-4626-7d27-ab26-8050a0d6b391
01a01d70-4626-7e46-af09-fb743998d91c
01a01d70-4626-7f5d-b04c-4262fe558ad9
01a01d70-4627-7073-b4d7-7e39673d9c8f
01a01d70-4627-718a-b1e3-c91d2a9d5821
01a01d70-4627-729c-9df5-558695fb3946
01a01d70-4627-73b3-870d-0a0421b8f722
01a01d70-4627-74c5-8add-f13f80463655
01a01d70-4627-75d8-b324-1221890f34a3
01a01d70-4627-76fa-8e9a-111c660a8f8b
01a01d70-4627-7815-8a9a-616a8980d627

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)

1f19c500-535a-6d4c-a1b8-4cf95d479851
1f19c500-535a-6f2c-a1b8-4cf95d479851
1f19c500-535b-601c-a1b8-4cf95d479851
1f19c500-535b-60ee-a1b8-4cf95d479851
1f19c500-535b-61c0-a1b8-4cf95d479851
1f19c500-535b-6292-a1b8-4cf95d479851
1f19c500-535b-635a-a1b8-4cf95d479851
1f19c500-535b-6422-a1b8-4cf95d479851
1f19c500-535b-64ea-a1b8-4cf95d479851
1f19c500-535b-65b2-a1b8-4cf95d479851
1f19c500-535b-671a-a1b8-4cf95d479851
1f19c500-535b-67ec-a1b8-4cf95d479851
1f19c500-535b-68b4-a1b8-4cf95d479851
1f19c500-535b-697c-a1b8-4cf95d479851
1f19c500-535b-6a44-a1b8-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)

0535bb20-9c50-11f1-a1b8-4cf95d479851
0535bb84-9c50-11f1-a1b8-4cf95d479851
0535bbde-9c50-11f1-a1b8-4cf95d479851
0535bc4c-9c50-11f1-a1b8-4cf95d479851
0535bcba-9c50-11f1-a1b8-4cf95d479851
0535bd1e-9c50-11f1-a1b8-4cf95d479851
0535bd8c-9c50-11f1-a1b8-4cf95d479851
0535bdfa-9c50-11f1-a1b8-4cf95d479851
0535be5e-9c50-11f1-a1b8-4cf95d479851
0535becc-9c50-11f1-a1b8-4cf95d479851
0535bf3a-9c50-11f1-a1b8-4cf95d479851
0535bf9e-9c50-11f1-a1b8-4cf95d479851
0535c00c-9c50-11f1-a1b8-4cf95d479851
0535c07a-9c50-11f1-a1b8-4cf95d479851
0535c0de-9c50-11f1-a1b8-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)

5b476420-1001-880e-87ea-5ce32bd83b97
1d5a6520-1001-880e-87ea-5ce32bd83b97
94896620-1001-880e-87ea-5ce32bd83b97
37aa6720-1001-880e-87ea-5ce32bd83b97
2ffb6820-1001-880e-87ea-5ce32bd83b97
b7866920-1001-880e-87ea-5ce32bd83b97
f4656a20-1001-880e-87ea-5ce32bd83b97
495f6b20-1001-880e-87ea-5ce32bd83b97
5c216c20-1001-880e-87ea-5ce32bd83b97
79d86d20-1001-880e-87ea-5ce32bd83b97
e85f6f20-1001-880e-87ea-5ce32bd83b97
b4b37020-1001-880e-87ea-5ce32bd83b97
46847120-1001-880e-87ea-5ce32bd83b97
1c577220-1001-880e-87ea-5ce32bd83b97
58207320-1001-880e-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)

5ce13c61-407a-4cd1-b479-595b716407f3
c28d860e-cb30-4c13-bb46-5313d820d07b
a456fe42-0265-4f93-b2a8-9aab0213b627
9980d148-6d9a-4528-b6f8-4a71f2a95dca
c36b6a0e-5438-458e-8fe4-3a2b5954575a
c89a727b-1cbc-49ef-9b05-fc626e600f8a
c4b3bfd3-8eb6-4abf-a0c8-0f33058f32be
6ba754b6-2f24-41f5-967e-cd530750bba1
fe2c5f43-4f2b-4036-b00d-470f1d7201ee
e0818a36-cd73-4940-b3c0-3bb71a4b0983
3f058edc-39ee-4617-a65b-d8077a44dc53
74ed2204-37bd-4399-9efd-5978a28468d4
4e0dfa8e-c881-4d41-80da-f16b0696fb2b
b8d3dee6-3373-472c-a89d-220c699c8d06
fae8c774-f88b-4a33-a606-b158e72a2656

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: