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)

01977ac2-e2d5-7646-a957-5b88fa593fda
01977ac2-e2d5-77e4-b130-563c7b32b44c
01977ac2-e2d5-7930-a72e-c89ab0934c7a
01977ac2-e2d5-7a88-889a-67c45f7aecb0
01977ac2-e2d5-7bbb-a02e-70a94347a415
01977ac2-e2d5-7cd5-98f1-889d5ed67648
01977ac2-e2d5-7df0-9efb-7e62932f2713
01977ac2-e2d5-7f07-99e5-31bfaab619f5
01977ac2-e2d6-701d-8648-62cc4b645208
01977ac2-e2d6-7138-95c6-93aaf0303667
01977ac2-e2d6-7252-9356-facf91a8e1b9
01977ac2-e2d6-7369-92c6-acdcda731b29
01977ac2-e2d6-7484-97fd-62d0e9c48093
01977ac2-e2d6-759a-917f-dc4299ac3d64
01977ac2-e2d6-76b1-8c73-61d1e6d3d894

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)

1f04afd7-03e1-6cbe-b4c7-4cf95d479851
1f04afd7-03e2-611e-b4c7-4cf95d479851
1f04afd7-03e2-622c-b4c7-4cf95d479851
1f04afd7-03e2-62fe-b4c7-4cf95d479851
1f04afd7-03e2-63c6-b4c7-4cf95d479851
1f04afd7-03e2-6484-b4c7-4cf95d479851
1f04afd7-03e2-6556-b4c7-4cf95d479851
1f04afd7-03e2-6614-b4c7-4cf95d479851
1f04afd7-03e2-66d2-b4c7-4cf95d479851
1f04afd7-03e2-6790-b4c7-4cf95d479851
1f04afd7-03e2-68f8-b4c7-4cf95d479851
1f04afd7-03e2-69ca-b4c7-4cf95d479851
1f04afd7-03e2-6a92-b4c7-4cf95d479851
1f04afd7-03e2-6b50-b4c7-4cf95d479851
1f04afd7-03e2-6c0e-b4c7-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)

0eb4f301-8bd1-438d-8a2b-faa875bbef68
e7365c0d-8107-4853-8eeb-f3e461d1030f
7fd9fc03-38c1-490f-af76-9feea459d53b
59bdb53e-88fd-4e1c-b811-eadaac323f02
5b789f8d-71f3-4b9c-a62d-8082b2ba18e5
56ea5e43-9d63-42e3-80db-ee7f0a24da1a
e24d31f0-d41e-4bb5-abbd-8c401fb377b5
9ca58c55-af35-4446-9cba-b37dfbe0be43
44ddc2f3-4880-4949-b5e1-dd73131ab8c9
d150d899-adc6-4ac6-9eb5-03fc90d873c6
b87e6b96-7593-4586-a3b6-05c1b0385897
43d8ceb6-77fc-47a2-b864-310fcac9d85e
ca81072a-b8dd-4600-9ddf-106773102ecc
c9239147-9057-47da-a153-076916750231
296423ac-f27a-4247-b5a5-7590a6d3cac4

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)

703e3122-4afd-11f0-b4c7-4cf95d479851
703e3186-4afd-11f0-b4c7-4cf95d479851
703e31ea-4afd-11f0-b4c7-4cf95d479851
703e324e-4afd-11f0-b4c7-4cf95d479851
703e32bc-4afd-11f0-b4c7-4cf95d479851
703e3320-4afd-11f0-b4c7-4cf95d479851
703e3384-4afd-11f0-b4c7-4cf95d479851
703e33de-4afd-11f0-b4c7-4cf95d479851
703e3442-4afd-11f0-b4c7-4cf95d479851
703e34a6-4afd-11f0-b4c7-4cf95d479851
703e3500-4afd-11f0-b4c7-4cf95d479851
703e3564-4afd-11f0-b4c7-4cf95d479851
703e35c8-4afd-11f0-b4c7-4cf95d479851
703e3622-4afd-11f0-b4c7-4cf95d479851
703e367c-4afd-11f0-b4c7-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)

bc1fe015-2a05-870a-87e9-5ce32bd83b97
b7c9e115-2a05-870a-87e9-5ce32bd83b97
4201e215-2a05-870a-87e9-5ce32bd83b97
70b6e315-2a05-870a-87e9-5ce32bd83b97
e3a7e415-2a05-870a-87e9-5ce32bd83b97
1162e515-2a05-870a-87e9-5ce32bd83b97
5fe9e615-2a05-870a-87e9-5ce32bd83b97
d04de815-2a05-870a-87e9-5ce32bd83b97
8038e915-2a05-870a-87e9-5ce32bd83b97
fe1aea15-2a05-870a-87e9-5ce32bd83b97
ffa1eb15-2a05-870a-87e9-5ce32bd83b97
4573ec15-2a05-870a-87e9-5ce32bd83b97
7646ed15-2a05-870a-87e9-5ce32bd83b97
6781ee15-2a05-870a-87e9-5ce32bd83b97
fac0ef15-2a05-870a-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: