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)

019c06c4-ab8d-7bd8-9711-0b92d17eafe9
019c06c4-ab8d-7d71-9950-6029bfc9d6ff
019c06c4-ab8d-7eb9-a755-992ae5015238
019c06c4-ab8d-7fdc-808e-33f5a8786107
019c06c4-ab8e-70f6-bdfb-4e20a80cfda1
019c06c4-ab8e-7211-aa5f-1657b5e7d37b
019c06c4-ab8e-732c-b353-89fe889e2a87
019c06c4-ab8e-7446-ac20-4908f464b36a
019c06c4-ab8e-755d-913d-afd06ba5ab43
019c06c4-ab8e-7677-872f-78cc06b92086
019c06c4-ab8e-778e-8030-02544817a99c
019c06c4-ab8e-78a8-a9a7-71244208a23c
019c06c4-ab8e-79c7-a3d9-4dd12e8760fa
019c06c4-ab8e-7ae2-8cf4-9822e96a8da7
019c06c4-ab8e-7bf8-ba25-828655750898

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)

1f0fc9a7-5eeb-6bc4-bedd-4cf95d479851
1f0fc9a7-5eeb-6d68-bedd-4cf95d479851
1f0fc9a7-5eeb-6e4e-bedd-4cf95d479851
1f0fc9a7-5eeb-6f2a-bedd-4cf95d479851
1f0fc9a7-5eeb-6fe8-bedd-4cf95d479851
1f0fc9a7-5eec-60ba-bedd-4cf95d479851
1f0fc9a7-5eec-618c-bedd-4cf95d479851
1f0fc9a7-5eec-6254-bedd-4cf95d479851
1f0fc9a7-5eec-631c-bedd-4cf95d479851
1f0fc9a7-5eec-63e4-bedd-4cf95d479851
1f0fc9a7-5eec-6542-bedd-4cf95d479851
1f0fc9a7-5eec-661e-bedd-4cf95d479851
1f0fc9a7-5eec-66dc-bedd-4cf95d479851
1f0fc9a7-5eec-67a4-bedd-4cf95d479851
1f0fc9a7-5eec-6862-bedd-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)

d8bb4971-5f59-4a3b-85fe-5efcdbfb8cbc
ddc367f3-d05c-4719-9aae-b758cb66d1db
cd1c08c4-4dc6-4d93-80ba-d87d717ec295
fda289b7-ec58-4784-b7a2-8ae0b4018c43
b47c5cbf-f31f-4ed3-96a2-4e960b92769f
2913d72d-07db-46d5-81d9-c457be3797fc
b37a1d24-0105-456c-acd5-d9adfa023b76
be638cd6-79a9-4a1a-bee5-6a1f58288220
229248d9-acc6-4ae9-b5da-2e81ee2c81ef
4d588716-c606-4450-947a-5d8d1c9ab85a
f636b513-df14-4e1f-9b3f-c01aa504f231
34bacc59-a4f7-423f-95f8-d14fc4fcf3be
38b5987e-7047-46a1-90b5-d7b1f598aa4d
a0119935-3e4f-4b15-8d88-42f009320058
ac0318c7-f8a5-4520-8c22-26e1047c2b82

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)

75eecd8a-fc9a-11f0-bedd-4cf95d479851
75eecdf8-fc9a-11f0-bedd-4cf95d479851
75eece66-fc9a-11f0-bedd-4cf95d479851
75eecec0-fc9a-11f0-bedd-4cf95d479851
75eecf24-fc9a-11f0-bedd-4cf95d479851
75eecf88-fc9a-11f0-bedd-4cf95d479851
75eecfe2-fc9a-11f0-bedd-4cf95d479851
75eed046-fc9a-11f0-bedd-4cf95d479851
75eed0a0-fc9a-11f0-bedd-4cf95d479851
75eed0f0-fc9a-11f0-bedd-4cf95d479851
75eed154-fc9a-11f0-bedd-4cf95d479851
75eed1b8-fc9a-11f0-bedd-4cf95d479851
75eed212-fc9a-11f0-bedd-4cf95d479851
75eed26c-fc9a-11f0-bedd-4cf95d479851
75eed2c6-fc9a-11f0-bedd-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)

08d23912-5205-8c01-87ea-5ce32bd83b97
90bb3a12-5205-8c01-87ea-5ce32bd83b97
bde03b12-5205-8c01-87ea-5ce32bd83b97
7c573c12-5205-8c01-87ea-5ce32bd83b97
63a93d12-5205-8c01-87ea-5ce32bd83b97
4d733e12-5205-8c01-87ea-5ce32bd83b97
db833f12-5205-8c01-87ea-5ce32bd83b97
dd844012-5205-8c01-87ea-5ce32bd83b97
442f4112-5205-8c01-87ea-5ce32bd83b97
14bf4212-5205-8c01-87ea-5ce32bd83b97
270e4312-5205-8c01-87ea-5ce32bd83b97
047e4412-5205-8c01-87ea-5ce32bd83b97
21f54512-5205-8c01-87ea-5ce32bd83b97
be224612-5205-8c01-87ea-5ce32bd83b97
a0604712-5205-8c01-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: