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)

019fb4b6-6460-76fe-b717-55119bd443cc
019fb4b6-6460-78c1-bda9-ba80a90bf9bf
019fb4b6-6460-7a00-a77c-1cc0bd24dcf0
019fb4b6-6460-7b1f-8149-3f5fed9cd226
019fb4b6-6460-7c3a-9ee7-c1827f242fd7
019fb4b6-6460-7d61-9f11-e466645e4ecc
019fb4b6-6460-7e77-894a-b083678bc785
019fb4b6-6460-7f8a-b3a8-df563baf36b4
019fb4b6-6461-70a0-ae1e-b9ab194c178d
019fb4b6-6461-71b7-bf4a-c7cac76eeea2
019fb4b6-6461-72cd-8a26-6f7dd0910055
019fb4b6-6461-73e4-83c8-9c282138ca0b
019fb4b6-6461-74fa-a0b6-92a7247b47cf
019fb4b6-6461-7611-a77a-55e0a6983402
019fb4b6-6461-7723-bfa8-baca0d2015d7

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)

1f18c552-8326-6296-ba26-4cf95d479851
1f18c552-8326-646c-ba26-4cf95d479851
1f18c552-8326-655c-ba26-4cf95d479851
1f18c552-8326-662e-ba26-4cf95d479851
1f18c552-8326-66f6-ba26-4cf95d479851
1f18c552-8326-67be-ba26-4cf95d479851
1f18c552-8326-687c-ba26-4cf95d479851
1f18c552-8326-6944-ba26-4cf95d479851
1f18c552-8326-6a0c-ba26-4cf95d479851
1f18c552-8326-6ad4-ba26-4cf95d479851
1f18c552-8326-6c28-ba26-4cf95d479851
1f18c552-8326-6cf0-ba26-4cf95d479851
1f18c552-8326-6db8-ba26-4cf95d479851
1f18c552-8326-6e76-ba26-4cf95d479851
1f18c552-8326-6f3e-ba26-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)

28327010-8c55-11f1-ba26-4cf95d479851
2832707e-8c55-11f1-ba26-4cf95d479851
283270e2-8c55-11f1-ba26-4cf95d479851
28327146-8c55-11f1-ba26-4cf95d479851
283271aa-8c55-11f1-ba26-4cf95d479851
2832720e-8c55-11f1-ba26-4cf95d479851
28327268-8c55-11f1-ba26-4cf95d479851
283272cc-8c55-11f1-ba26-4cf95d479851
28327330-8c55-11f1-ba26-4cf95d479851
28327394-8c55-11f1-ba26-4cf95d479851
283273f8-8c55-11f1-ba26-4cf95d479851
2832745c-8c55-11f1-ba26-4cf95d479851
283274b6-8c55-11f1-ba26-4cf95d479851
2832751a-8c55-11f1-ba26-4cf95d479851
28327574-8c55-11f1-ba26-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)

8829f83b-cc04-830d-87ea-5ce32bd83b97
a5aaf93b-cc04-830d-87ea-5ce32bd83b97
f77afa3b-cc04-830d-87ea-5ce32bd83b97
a1f3fb3b-cc04-830d-87ea-5ce32bd83b97
b65efc3b-cc04-830d-87ea-5ce32bd83b97
247bfd3b-cc04-830d-87ea-5ce32bd83b97
0436fe3b-cc04-830d-87ea-5ce32bd83b97
d857ff3b-cc04-830d-87ea-5ce32bd83b97
84950100-cd04-830d-87ea-5ce32bd83b97
0edd0200-cd04-830d-87ea-5ce32bd83b97
c49b0300-cd04-830d-87ea-5ce32bd83b97
f2130400-cd04-830d-87ea-5ce32bd83b97
334f0500-cd04-830d-87ea-5ce32bd83b97
8d210600-cd04-830d-87ea-5ce32bd83b97
8b050700-cd04-830d-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)

0e96efbd-d6e4-41bb-93bc-08f417869445
b663147b-5fd1-442c-9d61-f35524463613
0b2ac1eb-44bf-4764-8cd3-82ea20975b20
15fe003e-1898-40a8-a674-c57c652bdc6f
f3e8c48c-f864-4fd6-a879-c8f9ac7e83eb
f692d12e-4f54-455c-aed2-4e6ef4452e5e
a4509205-f2b4-4bc7-a20a-0cfa4cb3be96
92e7bd98-25b9-413a-9adb-865c896d64f6
526a8d14-23a2-4e4c-8a38-126329ca8678
3f96ecf6-0d14-41fd-b234-03cca33c3f90
c7fa5916-0618-4633-9c37-f17b7f02a862
694cf042-dabf-4e6b-8ca9-e481db4ee293
e254336d-3740-40ee-b0fa-5a30b59edbb3
65e802bd-0dac-406d-83d2-ea92052bd389
34254604-56a5-4f99-b893-56c353029556

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: