JavaScript Generate UUID/GUID for RFC 4122 Version 4 Compliant with Regular Expression

What is UUID/GUID A Universally Unique IDentifier (UUID) – also called a Global Unique IDentifier (GUID) – is a 128-bit value formatted into blocks of hexadecimal digits separated by a hyphen (‘-‘ U+002D). A typical UUID is baef6775-eb3a-4ac9-85d3-70e4aa0d9d94. A version 4 UUID is defined in RFC 4122: 128 randomly-generated bits with six bits at certain […]

Continue reading


UUID vs GUID

The simple answer is: NO difference, they are the same thing. Treat them as a 16 byte (128 bits) value that is used as a unique value. In Microsoft-speak they are called GUIDs, but call them UUIDs when not using Microsoft-speak. The term GUID usually refers to Microsoft’s implementation of the Universally Unique Identifier (UUID) […]

Continue reading