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)

019b0910-b6f2-727b-9020-6526c754e8f9
019b0910-b6f2-749c-925d-d4b09ccb1416
019b0910-b6f2-75f0-9321-9c6faa964b21
019b0910-b6f2-7713-a05e-a4987e10bf28
019b0910-b6f2-7836-9687-217141f12e64
019b0910-b6f2-7954-af2d-127c77c6712d
019b0910-b6f2-7a7b-a4ec-8f71a58a2b37
019b0910-b6f2-7b96-9a4a-b6cf20ef36b6
019b0910-b6f2-7cb5-a8ec-2ea3df696e4b
019b0910-b6f2-7dd3-8eb5-9d27ec5064d7
019b0910-b6f2-7ef2-9385-d65263910564
019b0910-b6f3-7011-a772-efae208dd720
019b0910-b6f3-70bd-900a-0c7c6164b8e9
019b0910-b6f3-71e0-9148-2e0d5c93c444
019b0910-b6f3-72fe-83bb-8767ab4c557a

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)

1f0d5e43-06bc-616e-be36-4cf95d479851
1f0d5e43-06bc-6376-be36-4cf95d479851
1f0d5e43-06bc-645c-be36-4cf95d479851
1f0d5e43-06bc-6524-be36-4cf95d479851
1f0d5e43-06bc-65ec-be36-4cf95d479851
1f0d5e43-06bc-66aa-be36-4cf95d479851
1f0d5e43-06bc-6768-be36-4cf95d479851
1f0d5e43-06bc-6826-be36-4cf95d479851
1f0d5e43-06bc-68e4-be36-4cf95d479851
1f0d5e43-06bc-69a2-be36-4cf95d479851
1f0d5e43-06bc-6b00-be36-4cf95d479851
1f0d5e43-06bc-6bc8-be36-4cf95d479851
1f0d5e43-06bc-6c86-be36-4cf95d479851
1f0d5e43-06bc-6d44-be36-4cf95d479851
1f0d5e43-06bc-6e02-be36-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)

ec575648-281d-43c0-b519-233e73603dd1
ffc402d9-a46d-4a9e-a09b-b3f52b36fc0c
038e77d4-b60a-48d4-9bc2-f7102c91e10f
01fe6d7e-0437-42e8-aa94-598f8b61265a
e9f81e57-d4d6-4cb3-94ff-8b41c3cd3cac
6ed4e1af-b621-495f-909a-bfa462918585
4f619d81-0a28-4317-82c7-1dfafc42c4d9
122399a3-650d-4abc-94b8-dd2024d666b5
9e176219-3fc1-4bd9-b9c1-942475bdbda8
9c135f82-0043-471f-a923-3bef345219e2
66472c6c-723f-419b-a892-ec4102da3167
4da18aee-0537-4220-bbf2-a35678619bd0
f08c2c71-3da4-4e8a-9d71-ffb71f04b5d7
8350eba1-3c5c-47a9-a885-27ac545e364b
f8071946-63c0-4382-acb4-5e6ccd4828b0

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)

306bd32a-d5e4-11f0-be36-4cf95d479851
306bd38e-d5e4-11f0-be36-4cf95d479851
306bd3e8-d5e4-11f0-be36-4cf95d479851
306bd44c-d5e4-11f0-be36-4cf95d479851
306bd4a6-d5e4-11f0-be36-4cf95d479851
306bd50a-d5e4-11f0-be36-4cf95d479851
306bd564-d5e4-11f0-be36-4cf95d479851
306bd5c8-d5e4-11f0-be36-4cf95d479851
306bd622-d5e4-11f0-be36-4cf95d479851
306bd67c-d5e4-11f0-be36-4cf95d479851
306bd6ea-d5e4-11f0-be36-4cf95d479851
306bd74e-d5e4-11f0-be36-4cf95d479851
306bd7a8-d5e4-11f0-be36-4cf95d479851
306bd816-d5e4-11f0-be36-4cf95d479851
306bd87a-d5e4-11f0-be36-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)

96400331-d503-8815-87e9-5ce32bd83b97
63050431-d503-8815-87e9-5ce32bd83b97
25db0531-d503-8815-87e9-5ce32bd83b97
45910631-d503-8815-87e9-5ce32bd83b97
9e920731-d503-8815-87e9-5ce32bd83b97
7f800831-d503-8815-87e9-5ce32bd83b97
148c0931-d503-8815-87e9-5ce32bd83b97
26380a31-d503-8815-87e9-5ce32bd83b97
c66a0b31-d503-8815-87e9-5ce32bd83b97
0b2f0c31-d503-8815-87e9-5ce32bd83b97
87f30d31-d503-8815-87e9-5ce32bd83b97
bf090e31-d503-8815-87e9-5ce32bd83b97
b2a20f31-d503-8815-87e9-5ce32bd83b97
5c6f1031-d503-8815-87e9-5ce32bd83b97
95fd1131-d503-8815-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: