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)

019ec9f6-b943-7ac9-8452-0c482085f63a
019ec9f6-b943-7c8c-bc88-99d97e481d18
019ec9f6-b943-7dcb-9561-b2bde4c26246
019ec9f6-b943-7ee2-841a-b71bc455cfca
019ec9f6-b943-7ffc-acb5-186bdd090cd7
019ec9f6-b944-710f-88ef-58e159304d36
019ec9f6-b944-7225-9ed9-ed32db07f33f
019ec9f6-b944-7338-942a-32cbab5bc0b9
019ec9f6-b944-74b1-a50f-2365658c588b
019ec9f6-b944-7600-aa8e-cd5a198e23e4
019ec9f6-b944-771f-a653-6281c1e928f7
019ec9f6-b944-7836-bbd0-556237d79281
019ec9f6-b944-794c-bbf9-a513791a3d62
019ec9f6-b944-7a5f-8c47-8d7ab2bac44b
019ec9f6-b944-7b75-a149-f9af63d3e61a

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)

1f168834-9265-60fc-b2a3-4cf95d479851
1f168834-9265-6304-b2a3-4cf95d479851
1f168834-9265-63fe-b2a3-4cf95d479851
1f168834-9265-64da-b2a3-4cf95d479851
1f168834-9265-65ac-b2a3-4cf95d479851
1f168834-9265-6674-b2a3-4cf95d479851
1f168834-9265-673c-b2a3-4cf95d479851
1f168834-9265-67fa-b2a3-4cf95d479851
1f168834-9265-68c2-b2a3-4cf95d479851
1f168834-9265-698a-b2a3-4cf95d479851
1f168834-9265-6ade-b2a3-4cf95d479851
1f168834-9265-6bba-b2a3-4cf95d479851
1f168834-9265-6c8c-b2a3-4cf95d479851
1f168834-9265-6d5e-b2a3-4cf95d479851
1f168834-9265-6e26-b2a3-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)

49265f0c-6883-11f1-b2a3-4cf95d479851
49265f70-6883-11f1-b2a3-4cf95d479851
49265fde-6883-11f1-b2a3-4cf95d479851
49266042-6883-11f1-b2a3-4cf95d479851
492660a6-6883-11f1-b2a3-4cf95d479851
4926610a-6883-11f1-b2a3-4cf95d479851
49266164-6883-11f1-b2a3-4cf95d479851
492661c8-6883-11f1-b2a3-4cf95d479851
49266222-6883-11f1-b2a3-4cf95d479851
49266286-6883-11f1-b2a3-4cf95d479851
492662e0-6883-11f1-b2a3-4cf95d479851
4926633a-6883-11f1-b2a3-4cf95d479851
49266394-6883-11f1-b2a3-4cf95d479851
492663ee-6883-11f1-b2a3-4cf95d479851
4926645c-6883-11f1-b2a3-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)

94d93f1e-8401-860a-87ea-5ce32bd83b97
c577401e-8401-860a-87ea-5ce32bd83b97
2c24411e-8401-860a-87ea-5ce32bd83b97
a70e421e-8401-860a-87ea-5ce32bd83b97
8eeb431e-8401-860a-87ea-5ce32bd83b97
b2b8441e-8401-860a-87ea-5ce32bd83b97
45d1451e-8401-860a-87ea-5ce32bd83b97
b583461e-8401-860a-87ea-5ce32bd83b97
889f471e-8401-860a-87ea-5ce32bd83b97
fe99481e-8401-860a-87ea-5ce32bd83b97
4d04491e-8401-860a-87ea-5ce32bd83b97
02254a1e-8401-860a-87ea-5ce32bd83b97
42e84b1e-8401-860a-87ea-5ce32bd83b97
d5534c1e-8401-860a-87ea-5ce32bd83b97
3ce64d1e-8401-860a-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)

a31ce8df-ba74-4430-95f0-0d029e46129a
2a1a2d54-cdd4-4c94-9c67-a638a72c0848
fe609ef8-4b7e-4568-80a8-0019aaf17d9d
5682df4a-2f2a-4880-85fa-55070eff4964
360728ab-d52f-43fd-b002-1af611876016
49ef10cd-41d0-4deb-b250-a40151d6ca91
f2845963-ed47-4e9b-afd7-132ca9758877
ac4b7301-af55-4fd6-9bd0-a31f16700cf6
8327054a-20f3-4ee9-ad1f-65f28980deb0
83da8a06-7f5d-47ad-9f7a-d7b1c9dfe7bc
6eaef3a7-e9b4-4dec-9852-472a7bad4fa0
4e84c84f-2bb0-4e20-b47a-77348ba40c25
e99cf693-c41f-46e5-87c5-9aa45221e057
1b3867d4-91bc-4427-b616-e379e16aab6b
b29ce360-2c76-442a-8ad9-5435fe269d64

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: