UUID Generator
Generate RFC 4122 UUIDs instantly — v1 (time-based) or v4 (random).
What is a UUID?
A UUID (Universally Unique Identifier), also called a GUID (Globally Unique Identifier), is a 128-bit label used to uniquely identify objects in computer systems. Defined in RFC 4122, UUIDs are formatted as 32 hexadecimal digits in five groups separated by hyphens: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
They are used as primary keys in databases, session identifiers, file names, and anywhere a unique label is needed without a centralised authority assigning them. The probability of generating two identical v4 UUIDs is astronomically small — roughly 1 in 2¹²².
v1 vs v4 — Which to Use?
v4 (random) is the most common choice. It uses 122 bits of cryptographically random data and has no relationship to the generating machine or time. Use v4 when you want complete randomness and privacy — it reveals nothing about when or where it was generated.
v1 (time-based) encodes the current timestamp and a node identifier (in this browser implementation, a random node ID is used instead of a MAC address for privacy). v1 UUIDs are monotonically increasing, which can benefit database index performance. Use v1 when sortability matters.
Frequently Asked Questions
{3F2504E0-4F89-41D3-9A0C-0305E82C3301}. This tool lets you generate both formats using the uppercase and format toggles.