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)

01a11a16-61b0-7d30-ae79-6e3abe4b86f7
01a11a16-61b0-7eda-aa11-4e0c3bb0e3e0
01a11a16-61b1-7015-b4f7-4c54405e712e
01a11a16-61b1-7130-b00d-0584c626e3ca
01a11a16-61b1-7246-bdde-415820649a49
01a11a16-61b1-735d-a750-a7e6bca515ae
01a11a16-61b1-73e0-a468-ef7a2ee0e673
01a11a16-61b1-74fe-9d07-943b852b606e
01a11a16-61b1-7615-a10d-2fd9c2352281
01a11a16-61b1-772c-9054-6128e265d45b
01a11a16-61b1-7842-86a0-eb18d73b172c
01a11a16-61b1-7954-a63f-4bbf03f963ad
01a11a16-61b1-7a6b-b79c-ce25de81483f
01a11a16-61b1-7b7d-bbfb-da389bd25671
01a11a16-61b1-7c9c-a244-44c76b9327ce

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)

1f1c2dd1-dc97-64de-a979-4cf95d479851
1f1c2dd1-dc97-6696-a979-4cf95d479851
1f1c2dd1-dc97-677c-a979-4cf95d479851
1f1c2dd1-dc97-6894-a979-4cf95d479851
1f1c2dd1-dc97-6966-a979-4cf95d479851
1f1c2dd1-dc97-6a56-a979-4cf95d479851
1f1c2dd1-dc97-6b28-a979-4cf95d479851
1f1c2dd1-dc97-6bf0-a979-4cf95d479851
1f1c2dd1-dc97-6cc2-a979-4cf95d479851
1f1c2dd1-dc97-6d80-a979-4cf95d479851
1f1c2dd1-dc97-6ee8-a979-4cf95d479851
1f1c2dd1-dc97-6fba-a979-4cf95d479851
1f1c2dd1-dc98-6082-a979-4cf95d479851
1f1c2dd1-dc98-614a-a979-4cf95d479851
1f1c2dd1-dc98-6212-a979-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)

1dc982ee-c2dd-11f1-a979-4cf95d479851
1dc9835c-c2dd-11f1-a979-4cf95d479851
1dc983c0-c2dd-11f1-a979-4cf95d479851
1dc98424-c2dd-11f1-a979-4cf95d479851
1dc98492-c2dd-11f1-a979-4cf95d479851
1dc98500-c2dd-11f1-a979-4cf95d479851
1dc98564-c2dd-11f1-a979-4cf95d479851
1dc985d2-c2dd-11f1-a979-4cf95d479851
1dc98636-c2dd-11f1-a979-4cf95d479851
1dc986a4-c2dd-11f1-a979-4cf95d479851
1dc98712-c2dd-11f1-a979-4cf95d479851
1dc98776-c2dd-11f1-a979-4cf95d479851
1dc987da-c2dd-11f1-a979-4cf95d479851
1dc98834-c2dd-11f1-a979-4cf95d479851
1dc98898-c2dd-11f1-a979-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)

22e6d910-6601-8911-87ea-5ce32bd83b97
558eda10-6601-8911-87ea-5ce32bd83b97
c9c5db10-6601-8911-87ea-5ce32bd83b97
c62bdc10-6601-8911-87ea-5ce32bd83b97
188fdd10-6601-8911-87ea-5ce32bd83b97
d926de10-6601-8911-87ea-5ce32bd83b97
8bb9df10-6601-8911-87ea-5ce32bd83b97
59c0e010-6601-8911-87ea-5ce32bd83b97
f5f4e110-6601-8911-87ea-5ce32bd83b97
924de210-6601-8911-87ea-5ce32bd83b97
68dee310-6601-8911-87ea-5ce32bd83b97
3387e410-6601-8911-87ea-5ce32bd83b97
e3a3e510-6601-8911-87ea-5ce32bd83b97
090ce610-6601-8911-87ea-5ce32bd83b97
e4bae810-6601-8911-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)

979aa5d8-53f8-49f6-9bc5-7f55f876343b
88b93797-8f05-4bca-8934-6b7de4007f64
d270fc9d-83f4-4dba-b257-cb1fed2fd4e3
4fce05cf-7814-4705-b5cc-80a7532b4956
5503522e-7d54-4d80-b138-6d9008756da7
f5e18eb7-34a3-4e05-bba3-826bdc9aca86
97ddc465-7efa-4abd-b7bf-391583998d9f
e7eee034-0d70-40ce-838e-5313e9b46e0b
74d26c08-1341-463f-9337-e2d1d8d7d343
bad9d1b0-2a8c-4a86-b99a-6a2e65b277e5
0fd4ff90-99f0-40de-990d-a7a57310c243
41b0791e-0573-4a7b-8a30-3af6abe28050
e72741fb-9088-4721-adad-74d73ae45bb5
9f274c11-6db6-4d92-a7e3-40f9624161e2
cacc70ae-a6b0-48bb-9f91-963e93c6080d

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: