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)

019abae5-3fe6-77d8-9b44-2eb0328feb5e
019abae5-3fe6-7969-8f5c-c46d3555718f
019abae5-3fe6-7aa8-bcec-049ac33e2e19
019abae5-3fe6-7bcb-a852-28b12a40c420
019abae5-3fe6-7ce6-b780-0b2814885b60
019abae5-3fe6-7e05-ac5c-0146ef1b1922
019abae5-3fe6-7f1b-a033-5505ff4ed20f
019abae5-3fe7-7036-b6bd-8e8a6b50bcfb
019abae5-3fe7-7154-97c3-56b40793bd19
019abae5-3fe7-726b-a22f-5db9dd8e710b
019abae5-3fe7-7386-b932-3b4089531ee6
019abae5-3fe7-74a0-b6a9-88f3003d57cc
019abae5-3fe7-75bb-8246-a1967cbd4948
019abae5-3fe7-76d5-a4a2-3078a98854c6
019abae5-3fe7-77ec-8fd6-8f21e54c1732

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)

1f0c9f6a-e918-66a4-b932-4cf95d479851
1f0c9f6a-e918-6848-b932-4cf95d479851
1f0c9f6a-e918-6942-b932-4cf95d479851
1f0c9f6a-e918-6a14-b932-4cf95d479851
1f0c9f6a-e918-6ae6-b932-4cf95d479851
1f0c9f6a-e918-6bae-b932-4cf95d479851
1f0c9f6a-e918-6c80-b932-4cf95d479851
1f0c9f6a-e918-6d48-b932-4cf95d479851
1f0c9f6a-e918-6e10-b932-4cf95d479851
1f0c9f6a-e918-6ece-b932-4cf95d479851
1f0c9f6a-e919-6018-b932-4cf95d479851
1f0c9f6a-e919-60fe-b932-4cf95d479851
1f0c9f6a-e919-61c6-b932-4cf95d479851
1f0c9f6a-e919-628e-b932-4cf95d479851
1f0c9f6a-e919-6356-b932-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)

50dddac4-e6a7-4381-98ac-262c218c3348
d7080027-1c65-4bc6-a24b-1c1bd19a1863
a909d8f7-1236-400f-a45a-644020500bd9
039811e4-0b45-4bc5-b67a-eac227afcca9
09953677-49a0-48e9-8ba1-b1bc7eca5262
40e3b215-a98d-42bd-86d0-208267c65116
466f55be-b40a-4cb6-8d12-200b174e6114
ad93c4f7-bf19-4e86-91d6-8c6ecd3853b8
792c3b3c-c1c1-4e3b-b5fe-52be5cc4dbd5
cc1190e8-efb5-4cca-a18d-9eb2cbffe1b7
d2dd6b0e-29d8-4d78-8692-78624eb14814
16afdb65-b1fb-4b91-9c2f-e9fddfb49397
5fac4817-60c2-4fd4-b010-4b5b54474c0c
00c92c9f-46b9-4193-b752-7da6c624847e
8f2131ab-a76b-4c28-a73c-09c04f89b561

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)

ae919888-c9f6-11f0-b932-4cf95d479851
ae9198ec-c9f6-11f0-b932-4cf95d479851
ae919950-c9f6-11f0-b932-4cf95d479851
ae9199b4-c9f6-11f0-b932-4cf95d479851
ae919a18-c9f6-11f0-b932-4cf95d479851
ae919a7c-c9f6-11f0-b932-4cf95d479851
ae919ae0-c9f6-11f0-b932-4cf95d479851
ae919b58-c9f6-11f0-b932-4cf95d479851
ae919bc6-c9f6-11f0-b932-4cf95d479851
ae919c34-c9f6-11f0-b932-4cf95d479851
ae919ca2-c9f6-11f0-b932-4cf95d479851
ae919d06-c9f6-11f0-b932-4cf95d479851
ae919d6a-c9f6-11f0-b932-4cf95d479851
ae919dd8-c9f6-11f0-b932-4cf95d479851
ae919e3c-c9f6-11f0-b932-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)

4af2a339-d302-8914-87e9-5ce32bd83b97
8b64a439-d302-8914-87e9-5ce32bd83b97
7660a539-d302-8914-87e9-5ce32bd83b97
2f86a639-d302-8914-87e9-5ce32bd83b97
1a49a739-d302-8914-87e9-5ce32bd83b97
1b8da839-d302-8914-87e9-5ce32bd83b97
310aa939-d302-8914-87e9-5ce32bd83b97
34f9ab39-d302-8914-87e9-5ce32bd83b97
7a57ac39-d302-8914-87e9-5ce32bd83b97
0f9bad39-d302-8914-87e9-5ce32bd83b97
5ab8ae39-d302-8914-87e9-5ce32bd83b97
57daaf39-d302-8914-87e9-5ce32bd83b97
34a5b039-d302-8914-87e9-5ce32bd83b97
b88eb139-d302-8914-87e9-5ce32bd83b97
0378b239-d302-8914-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: