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)

019e41ec-d274-798a-a5d8-9ad7202dc918
019e41ec-d274-7b0f-9a63-c1adc49f7f45
019e41ec-d274-7c4e-8993-7ee299520411
019e41ec-d274-7d69-b9e8-b115816a988b
019e41ec-d274-7e7f-906e-1606aa8d81dd
019e41ec-d274-7f96-8aa8-5e9fb97df1bd
019e41ec-d275-70a8-bee0-2907aed4fbd7
019e41ec-d275-71bf-bcb7-7b2f011508b0
019e41ec-d275-72d5-b957-ba62ca415088
019e41ec-d275-73e8-8eda-d290c0379761
019e41ec-d275-7503-9000-5a2cd9939ed5
019e41ec-d275-7677-abb0-e58c15b6bd5d
019e41ec-d275-77c3-9085-7298d0127903
019e41ec-d275-78e2-8dc3-a0a008e80873
019e41ec-d275-79f8-b81e-91b117d1b412

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)

1f153c14-65e5-66a2-a17a-4cf95d479851
1f153c14-65e5-6850-a17a-4cf95d479851
1f153c14-65e5-6940-a17a-4cf95d479851
1f153c14-65e5-6a12-a17a-4cf95d479851
1f153c14-65e5-6ada-a17a-4cf95d479851
1f153c14-65e5-6b98-a17a-4cf95d479851
1f153c14-65e5-6c60-a17a-4cf95d479851
1f153c14-65e5-6d1e-a17a-4cf95d479851
1f153c14-65e5-6ddc-a17a-4cf95d479851
1f153c14-65e5-6ea4-a17a-4cf95d479851
1f153c14-65e6-6016-a17a-4cf95d479851
1f153c14-65e6-6192-a17a-4cf95d479851
1f153c14-65e6-626e-a17a-4cf95d479851
1f153c14-65e6-632c-a17a-4cf95d479851
1f153c14-65e6-63f4-a17a-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)

465e64da-53c1-11f1-a17a-4cf95d479851
465e6548-53c1-11f1-a17a-4cf95d479851
465e65ac-53c1-11f1-a17a-4cf95d479851
465e6610-53c1-11f1-a17a-4cf95d479851
465e6674-53c1-11f1-a17a-4cf95d479851
465e66e2-53c1-11f1-a17a-4cf95d479851
465e6746-53c1-11f1-a17a-4cf95d479851
465e67aa-53c1-11f1-a17a-4cf95d479851
465e6818-53c1-11f1-a17a-4cf95d479851
465e687c-53c1-11f1-a17a-4cf95d479851
465e68ea-53c1-11f1-a17a-4cf95d479851
465e6958-53c1-11f1-a17a-4cf95d479851
465e69bc-53c1-11f1-a17a-4cf95d479851
465e6a20-53c1-11f1-a17a-4cf95d479851
465e6a8e-53c1-11f1-a17a-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)

4619f513-cd04-8b08-87ea-5ce32bd83b97
cc4ef613-cd04-8b08-87ea-5ce32bd83b97
7a10f713-cd04-8b08-87ea-5ce32bd83b97
7d78f813-cd04-8b08-87ea-5ce32bd83b97
8ce2f913-cd04-8b08-87ea-5ce32bd83b97
b82ffa13-cd04-8b08-87ea-5ce32bd83b97
6243fb13-cd04-8b08-87ea-5ce32bd83b97
ccccfc13-cd04-8b08-87ea-5ce32bd83b97
0f5bfd13-cd04-8b08-87ea-5ce32bd83b97
7b5bfe13-cd04-8b08-87ea-5ce32bd83b97
fed0ff13-cd04-8b08-87ea-5ce32bd83b97
f5480114-cd04-8b08-87ea-5ce32bd83b97
b8710214-cd04-8b08-87ea-5ce32bd83b97
e30a0314-cd04-8b08-87ea-5ce32bd83b97
3b4c0414-cd04-8b08-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)

8b554e1a-200f-4d4a-9ae9-1286a02f7ff9
606c5e96-a8bd-4125-b48f-bdb69dfd47cf
11375916-3a95-40d1-a194-bf124f58f023
82ce9318-d734-442d-ba23-89a98d737219
2a1213bf-ae90-487c-a5d5-3457bc25d0c8
07ffa1bd-ef4a-423b-8400-de9e3ceea444
4474683f-3667-4443-a902-be14622190fa
fbc4f3d3-ca1b-4f82-a91f-81798f83d91d
cacd7377-7526-4a9f-b775-1acb34fd31d9
e9fb3d10-e530-472a-9eaf-4f1b31758e6d
fbb92f11-9c16-40c4-814c-285fb2b5f88d
14bd8ed3-2812-4938-ad11-68b9d5a93bc7
2346fd14-576b-497e-be4f-9d2e5236246c
f1a34cda-1527-477b-b94b-910368862806
1e07d63b-ce01-41fc-8255-95048bdc5e16

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: