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)

019e1466-d802-7215-b0de-4c8dec207da4
019e1466-d802-73bb-8159-8c187b545e35
019e1466-d802-74fa-b44b-30faa70f141d
019e1466-d802-7615-8690-ace8b64f03ab
019e1466-d802-772c-a5e4-ebcfd56dd09a
019e1466-d802-77f4-a237-5caf15bbf71c
019e1466-d802-790b-97a5-1c18dfe5b664
019e1466-d802-7a21-8daf-7ec6ebef84e3
019e1466-d802-7b38-8067-c99cddef3d59
019e1466-d802-7c4e-a4db-064e41d10f8d
019e1466-d802-7d61-892b-28691ee76547
019e1466-d802-7e7f-91f7-4104d31a481c
019e1466-d802-7f96-9c08-b417dcca10f1
019e1466-d803-70ad-9da2-8c0cf89b6926
019e1466-d803-71c3-a119-369905958587

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)

1f14ccf0-4d73-6ee0-8ddd-4cf95d479851
1f14ccf0-4d74-608e-8ddd-4cf95d479851
1f14ccf0-4d74-6188-8ddd-4cf95d479851
1f14ccf0-4d74-6264-8ddd-4cf95d479851
1f14ccf0-4d74-6336-8ddd-4cf95d479851
1f14ccf0-4d74-63fe-8ddd-4cf95d479851
1f14ccf0-4d74-64da-8ddd-4cf95d479851
1f14ccf0-4d74-65a2-8ddd-4cf95d479851
1f14ccf0-4d74-6674-8ddd-4cf95d479851
1f14ccf0-4d74-673c-8ddd-4cf95d479851
1f14ccf0-4d74-6890-8ddd-4cf95d479851
1f14ccf0-4d74-6976-8ddd-4cf95d479851
1f14ccf0-4d74-6a3e-8ddd-4cf95d479851
1f14ccf0-4d74-6b06-8ddd-4cf95d479851
1f14ccf0-4d74-6bd8-8ddd-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)

f0b8e72b-b11e-46ff-a109-d0038d261f97
6a17d0fe-a114-4a55-a85b-631f8d1b4a42
23011f8a-9f72-4be2-8af3-02b4d26a08fe
56f4ff58-ccc1-4daa-aafe-ce737ae90d0f
74928ea2-573e-44e8-b324-60e50bf83b01
115510be-3e97-4b1d-9940-696864d4e7af
5711fb93-9280-486f-96af-63b8d81a79f2
c766319c-5737-425e-ad86-43de52e8929f
e7eacfdb-2f6b-43ae-ae0d-1e6243d329a8
c7418209-f46f-495f-be0e-9f5ef9664f70
976eb5cc-4ec5-4c4c-a66a-556bc2a6a482
70d09561-904d-45ec-a795-0f224c82a164
545c7f39-e3e3-44ff-90cd-c8c5c434404c
8491116a-2e89-4010-9397-5b7c2360cfc2
c1521e72-65d2-401b-807a-3520776ca6fd

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)

04d7510a-4ccf-11f1-8ddd-4cf95d479851
04d7516e-4ccf-11f1-8ddd-4cf95d479851
04d751e6-4ccf-11f1-8ddd-4cf95d479851
04d7524a-4ccf-11f1-8ddd-4cf95d479851
04d752b8-4ccf-11f1-8ddd-4cf95d479851
04d7531c-4ccf-11f1-8ddd-4cf95d479851
04d75380-4ccf-11f1-8ddd-4cf95d479851
04d753ee-4ccf-11f1-8ddd-4cf95d479851
04d7545c-4ccf-11f1-8ddd-4cf95d479851
04d754c0-4ccf-11f1-8ddd-4cf95d479851
04d7552e-4ccf-11f1-8ddd-4cf95d479851
04d7559c-4ccf-11f1-8ddd-4cf95d479851
04d7560a-4ccf-11f1-8ddd-4cf95d479851
04d7566e-4ccf-11f1-8ddd-4cf95d479851
04d756d2-4ccf-11f1-8ddd-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)

6c4bd504-1400-8308-87ea-5ce32bd83b97
e622d604-1400-8308-87ea-5ce32bd83b97
7e9fd704-1400-8308-87ea-5ce32bd83b97
254bd804-1400-8308-87ea-5ce32bd83b97
b9b1d904-1400-8308-87ea-5ce32bd83b97
152dda04-1400-8308-87ea-5ce32bd83b97
cc08dc04-1400-8308-87ea-5ce32bd83b97
7b13dd04-1400-8308-87ea-5ce32bd83b97
6ae2de04-1400-8308-87ea-5ce32bd83b97
4989df04-1400-8308-87ea-5ce32bd83b97
b2c4e004-1400-8308-87ea-5ce32bd83b97
7b3ee104-1400-8308-87ea-5ce32bd83b97
721ae204-1400-8308-87ea-5ce32bd83b97
2cd5e304-1400-8308-87ea-5ce32bd83b97
8997e404-1400-8308-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: