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)

019b0e4d-7500-7369-8ae6-bd8ca7104b32
019b0e4d-7500-74f6-a234-06a35a4b2c59
019b0e4d-7500-7636-a4df-12e72e8d1d1d
019b0e4d-7500-7754-bd79-682cf55fe957
019b0e4d-7500-786f-b179-7d1361669c8c
019b0e4d-7500-7986-8c22-7593aa7e1f97
019b0e4d-7500-7a9c-993d-fdfb0dd84647
019b0e4d-7500-7bb3-b336-964ef886cb4e
019b0e4d-7500-7ccd-b057-87897472fec1
019b0e4d-7500-7de4-9ed6-983cb8163cea
019b0e4d-7500-7efa-9cb2-22e087ec3b50
019b0e4d-7501-7015-a45d-f032398a04c7
019b0e4d-7501-712c-b60d-0ee2ca7a3c9b
019b0e4d-7501-7242-a996-ee42d13bc402
019b0e4d-7501-7359-a14e-f13c210b0f51

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)

1f0d6b0c-52bc-6318-855f-4cf95d479851
1f0d6b0c-52bc-64b2-855f-4cf95d479851
1f0d6b0c-52bc-658e-855f-4cf95d479851
1f0d6b0c-52bc-6660-855f-4cf95d479851
1f0d6b0c-52bc-6728-855f-4cf95d479851
1f0d6b0c-52bc-67f0-855f-4cf95d479851
1f0d6b0c-52bc-68ae-855f-4cf95d479851
1f0d6b0c-52bc-696c-855f-4cf95d479851
1f0d6b0c-52bc-6a2a-855f-4cf95d479851
1f0d6b0c-52bc-6ae8-855f-4cf95d479851
1f0d6b0c-52bc-6c28-855f-4cf95d479851
1f0d6b0c-52bc-6cfa-855f-4cf95d479851
1f0d6b0c-52bc-6db8-855f-4cf95d479851
1f0d6b0c-52bc-6e76-855f-4cf95d479851
1f0d6b0c-52bc-6f34-855f-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)

dc0ee97e-7e0f-43da-b3f1-8571520fc4b2
51e0357d-9ebc-4480-b772-471fb3739f3b
9830275b-fb43-48d5-a4bc-31f326848640
68bd65e3-9a1a-4783-b130-9219357b77c2
6c635a90-e7cb-4071-91e7-35addb3749f7
f4bf0b65-4662-4b7b-8f3e-eed9423544d2
80036be5-98ec-4bef-b853-290be89e4461
f24d4934-d8d4-4ce5-8b66-1ab72eec197f
c2578638-7c77-4007-be6e-b61eda8747ec
1af150ec-c18f-4b07-a29e-b51d2ef45a6f
d9e74200-cee7-4702-9d02-16e11bd07890
b777eb02-c705-4e5b-b3ff-402a19baaf62
084ca21b-3ade-47a9-b253-9e6d3d28280c
fdcf5d36-5afb-4069-bc8f-cb8eb6fe8578
c658341b-a92e-40bb-ac2e-99793e246688

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)

c52bd452-d6b0-11f0-855f-4cf95d479851
c52bd4b6-d6b0-11f0-855f-4cf95d479851
c52bd51a-d6b0-11f0-855f-4cf95d479851
c52bd574-d6b0-11f0-855f-4cf95d479851
c52bd5d8-d6b0-11f0-855f-4cf95d479851
c52bd632-d6b0-11f0-855f-4cf95d479851
c52bd68c-d6b0-11f0-855f-4cf95d479851
c52bd6fa-d6b0-11f0-855f-4cf95d479851
c52bd75e-d6b0-11f0-855f-4cf95d479851
c52bd7b8-d6b0-11f0-855f-4cf95d479851
c52bd830-d6b0-11f0-855f-4cf95d479851
c52bd8a8-d6b0-11f0-855f-4cf95d479851
c52bd916-d6b0-11f0-855f-4cf95d479851
c52bd97a-d6b0-11f0-855f-4cf95d479851
c52bd9f2-d6b0-11f0-855f-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)

8440e70f-ee03-8915-87e9-5ce32bd83b97
698ee80f-ee03-8915-87e9-5ce32bd83b97
6895e90f-ee03-8915-87e9-5ce32bd83b97
bc0aea0f-ee03-8915-87e9-5ce32bd83b97
7515eb0f-ee03-8915-87e9-5ce32bd83b97
e79cec0f-ee03-8915-87e9-5ce32bd83b97
1d79ed0f-ee03-8915-87e9-5ce32bd83b97
77b7ee0f-ee03-8915-87e9-5ce32bd83b97
a962ef0f-ee03-8915-87e9-5ce32bd83b97
8562f00f-ee03-8915-87e9-5ce32bd83b97
0381f10f-ee03-8915-87e9-5ce32bd83b97
e0dcf20f-ee03-8915-87e9-5ce32bd83b97
5d06f40f-ee03-8915-87e9-5ce32bd83b97
8525f50f-ee03-8915-87e9-5ce32bd83b97
b961f60f-ee03-8915-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: