alt/repo
alternative-repository

UUID & GUID Generator

Instantly generate bulk version 4 (random) and version 1 (timestamp) UUIDs. Copy to clipboard or grab the code snippets below to use natively in your applications.

// Native Crypto API (Modern Browsers & Node 14.17+)
const myUuid = crypto.randomUUID();
console.log(myUuid);
import java.util.UUID;

public class Main {
    public static void main(String[] args) {
        UUID myUuid = UUID.randomUUID();
        System.out.println(myUuid.toString());
    }
}
import uuid

# Generate a random UUID v4
my_uuid = uuid.uuid4()
print(str(my_uuid))
using System;

class Program {
    static void Main() {
        Guid myGuid = Guid.NewGuid();
        Console.WriteLine(myGuid.ToString());
    }
}

FAQ

A Universally Unique Identifier (UUID) generator is a tool that creates 128-bit numbers used to identify information in computer systems. This tool supports the following standard generation features:

  • Version 1 & 2: Timestamp and MAC-address based identifiers (v2 adds local domain security).
  • Version 3 & 5: Name-based, deterministic identifiers generated using MD5 (v3) or SHA-1 (v5) hashing.
  • Version 4: Cryptographically strong random identifiers. This is the most widely used industry standard format.
  • Version 6 & 7: Modern, time-ordered identifiers optimized for chronological database sorting (RFC 9562).
  • Version 8: Experimental identifiers designed for custom, vendor-specific data structures.
What is a UUID / GUID?

A Universally Unique Identifier (UUID) is a 128-bit number used to identify information in computer systems. A GUID (Globally Unique Identifier) is Microsoft's implementation of the UUID standard. They are practically identical and used interchangeably.

How many bytes is a UUID?

A UUID is exactly 16 bytes (128 bits) in length. When represented as a standard hexadecimal string (e.g., 550e8400-e29b-41d4-a716-446655440000), it contains 32 characters and 4 hyphens, making the string format 36 characters long.

What is the difference between all the UUID versions?

Version 4 is randomly generated and the most common. Versions 1, 6, and 7 use timestamps to allow chronological sorting in databases (v7 is the modern standard). Versions 3 and 5 are deterministic, meaning they always generate the exact same identifier from a given name and namespace using hashing.

Privacy note: All UUIDs are generated locally in your browser using JavaScript. No data is sent to or stored on our servers.