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)

01a0648d-dfe9-7113-8276-d57b565197e3
01a0648d-dfe9-72de-b239-02198d15ef78
01a0648d-dfe9-7409-b791-be6274759a67
01a0648d-dfe9-7527-a80e-ece0247bf37c
01a0648d-dfe9-763e-9ad5-4ff32910deac
01a0648d-dfe9-7754-82af-f3a0db82fb91
01a0648d-dfe9-786b-b699-4630cf092699
01a0648d-dfe9-7986-a940-4e7255f48bad
01a0648d-dfe9-7a98-a5a4-35e0235fc9a6
01a0648d-dfe9-7bb7-807f-3ee8644a33b8
01a0648d-dfe9-7ccd-a994-ab2462bf663b
01a0648d-dfe9-7de4-af6a-8061cb86d161
01a0648d-dfe9-7efa-af39-29a2c7ebf6ac
01a0648d-dfea-7011-9866-19eefda8d963
01a0648d-dfea-7127-9941-9c325ffe502c

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)

1f1a729f-97be-6e82-8bab-4cf95d479851
1f1a729f-97bf-6062-8bab-4cf95d479851
1f1a729f-97bf-6152-8bab-4cf95d479851
1f1a729f-97bf-6224-8bab-4cf95d479851
1f1a729f-97bf-62ec-8bab-4cf95d479851
1f1a729f-97bf-63b4-8bab-4cf95d479851
1f1a729f-97bf-647c-8bab-4cf95d479851
1f1a729f-97bf-6544-8bab-4cf95d479851
1f1a729f-97bf-660c-8bab-4cf95d479851
1f1a729f-97bf-66d4-8bab-4cf95d479851
1f1a729f-97bf-6828-8bab-4cf95d479851
1f1a729f-97bf-68fa-8bab-4cf95d479851
1f1a729f-97bf-69b8-8bab-4cf95d479851
1f1a729f-97bf-6a80-8bab-4cf95d479851
1f1a729f-97bf-6b3e-8bab-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)

f97bfc1a-a729-11f1-8bab-4cf95d479851
f97bfc7e-a729-11f1-8bab-4cf95d479851
f97bfce2-a729-11f1-8bab-4cf95d479851
f97bfd46-a729-11f1-8bab-4cf95d479851
f97bfdaa-a729-11f1-8bab-4cf95d479851
f97bfe0e-a729-11f1-8bab-4cf95d479851
f97bfe72-a729-11f1-8bab-4cf95d479851
f97bfee0-a729-11f1-8bab-4cf95d479851
f97bff44-a729-11f1-8bab-4cf95d479851
f97bffa8-a729-11f1-8bab-4cf95d479851
f97c0016-a729-11f1-8bab-4cf95d479851
f97c007a-a729-11f1-8bab-4cf95d479851
f97c00de-a729-11f1-8bab-4cf95d479851
f97c014c-a729-11f1-8bab-4cf95d479851
f97c01b0-a729-11f1-8bab-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)

e774a236-9d05-850f-87ea-5ce32bd83b97
35e4a336-9d05-850f-87ea-5ce32bd83b97
9d38a436-9d05-850f-87ea-5ce32bd83b97
e51ea536-9d05-850f-87ea-5ce32bd83b97
748ba636-9d05-850f-87ea-5ce32bd83b97
79a5a736-9d05-850f-87ea-5ce32bd83b97
17c7a836-9d05-850f-87ea-5ce32bd83b97
e175a936-9d05-850f-87ea-5ce32bd83b97
8e70aa36-9d05-850f-87ea-5ce32bd83b97
3ab1ab36-9d05-850f-87ea-5ce32bd83b97
0505ac36-9d05-850f-87ea-5ce32bd83b97
ac40ad36-9d05-850f-87ea-5ce32bd83b97
4ae6ae36-9d05-850f-87ea-5ce32bd83b97
8b31af36-9d05-850f-87ea-5ce32bd83b97
8976b036-9d05-850f-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)

0ee5279b-2be1-435a-9375-1f6a1c315ec4
4b8cd8ab-df8f-4506-8117-9d2bca6bd2c0
14918480-c228-4dfc-b2be-a449b430e3ab
9615d287-b7d3-4ce2-bacd-0fe0b5030b57
7235b7ec-8a49-4e3d-94f1-9b93662b9cac
73744a04-ba00-48a8-b839-594c44796b8f
63232873-5b17-4195-9498-5d178e542cc3
e99b6015-48e0-4900-bccd-33f2664e0c5c
28aea93b-6e80-4f68-8e36-fcae5d20c1e7
15b90090-aa24-4ce7-81f9-e93e17b6a060
d4ab0107-96f7-46c6-a31e-b0a996fd1e08
ca225d5e-b8b7-4223-bb55-88a03370dc86
f4acedaf-8a70-40c0-b616-7bf5959bbe42
d98ac698-7bc7-4247-bf1d-9d0bea56975c
c5f60672-a558-4185-9669-ec83126a75b3

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: