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)

019a68f4-b117-7a00-aa90-98b9902d6715
019a68f4-b117-7bc3-8491-10d53e307662
019a68f4-b117-7d0b-9203-74db36e086bf
019a68f4-b117-7e32-9d2e-9d4329874281
019a68f4-b117-7f7d-91b3-646494c997d5
019a68f4-b118-70c5-8823-843671f01b30
019a68f4-b118-71e8-a981-e9435650753d
019a68f4-b118-7307-aec3-67e9717076dc
019a68f4-b118-7442-8027-5de2fb897c8e
019a68f4-b118-758a-b066-71b358050aca
019a68f4-b118-76bd-9ac7-328a5d11a43b
019a68f4-b118-77e0-a4f1-055c93cbc2b1
019a68f4-b118-7913-b9a0-b3dd9da84dff
019a68f4-b118-7a5f-a477-a86b414445f5
019a68f4-b118-7b86-8a47-b7ed6b3e724b

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)

1f0bd75e-9c71-69e2-b1bf-4cf95d479851
1f0bd75e-9c71-6ba4-b1bf-4cf95d479851
1f0bd75e-9c71-6c80-b1bf-4cf95d479851
1f0bd75e-9c71-6d52-b1bf-4cf95d479851
1f0bd75e-9c71-6e1a-b1bf-4cf95d479851
1f0bd75e-9c71-6ed8-b1bf-4cf95d479851
1f0bd75e-9c71-6f8c-b1bf-4cf95d479851
1f0bd75e-9c72-604a-b1bf-4cf95d479851
1f0bd75e-9c72-6108-b1bf-4cf95d479851
1f0bd75e-9c72-61c6-b1bf-4cf95d479851
1f0bd75e-9c72-62fc-b1bf-4cf95d479851
1f0bd75e-9c72-63ce-b1bf-4cf95d479851
1f0bd75e-9c72-6482-b1bf-4cf95d479851
1f0bd75e-9c72-6540-b1bf-4cf95d479851
1f0bd75e-9c72-65f4-b1bf-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)

7bae1414-3571-415f-8f89-9857a1f8330c
557fb507-68fb-4721-bdff-49791bad22ff
12fa5c05-8467-49d2-819f-dc67789c4a7f
bdfc375d-28fd-476e-abc0-92c3bc2cefe7
d7418f0f-0c7e-4ec9-bd92-0ecef9af7659
928b6955-63b0-4069-ae75-0935b7d602cd
1ada3778-217d-404f-a467-0764f38630ba
826c418c-60a3-44d7-a3c3-369786adad3b
c8e0ebbf-b1c9-4541-b02e-7aec4d8976c2
2f7fb37e-a8bf-44dd-8956-9558b36a2738
47f136cb-7ac9-4985-a638-e63d03a16519
3502c8d0-9ff0-49f5-8b5e-12fc0bbd67e8
274d6a10-5a41-4bb3-a296-955002b08593
da186dcb-4207-4c7f-8a56-f9c04c69558d
fb587904-3f39-4efa-affb-115c623f32a0

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)

e9c72b30-bd75-11f0-b1bf-4cf95d479851
e9c72b94-bd75-11f0-b1bf-4cf95d479851
e9c72bf8-bd75-11f0-b1bf-4cf95d479851
e9c72c52-bd75-11f0-b1bf-4cf95d479851
e9c72cb6-bd75-11f0-b1bf-4cf95d479851
e9c72d10-bd75-11f0-b1bf-4cf95d479851
e9c72d74-bd75-11f0-b1bf-4cf95d479851
e9c72dce-bd75-11f0-b1bf-4cf95d479851
e9c72e32-bd75-11f0-b1bf-4cf95d479851
e9c72e8c-bd75-11f0-b1bf-4cf95d479851
e9c72ee6-bd75-11f0-b1bf-4cf95d479851
e9c72f40-bd75-11f0-b1bf-4cf95d479851
e9c72f9a-bd75-11f0-b1bf-4cf95d479851
e9c72ffe-bd75-11f0-b1bf-4cf95d479851
e9c73062-bd75-11f0-b1bf-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)

8de9f139-5303-8913-87e9-5ce32bd83b97
3a06f239-5303-8913-87e9-5ce32bd83b97
5beef339-5303-8913-87e9-5ce32bd83b97
aa49f439-5303-8913-87e9-5ce32bd83b97
0493f539-5303-8913-87e9-5ce32bd83b97
4488f639-5303-8913-87e9-5ce32bd83b97
36e0f739-5303-8913-87e9-5ce32bd83b97
d3e3f939-5303-8913-87e9-5ce32bd83b97
bb78fa39-5303-8913-87e9-5ce32bd83b97
4fa9fb39-5303-8913-87e9-5ce32bd83b97
b3c8fc39-5303-8913-87e9-5ce32bd83b97
8981fd39-5303-8913-87e9-5ce32bd83b97
82e5fe39-5303-8913-87e9-5ce32bd83b97
b362ff39-5303-8913-87e9-5ce32bd83b97
2dc6013a-5303-8913-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: