UUID / GUID Generator

Generate RFC 4122 compliant UUID v4, v1, and GUIDs — instantly and privately in your browser.

cf9acdca-3195-4464-b6d3-962cb43be529

Multiple versions

Generate UUID v4 (random), v1 (timestamp-based), or GUID — all formatted to your needs.

Private & local

All generation uses your browser's crypto API. No data ever leaves your device.

Validate & format

Paste any UUID to validate it, detect its version, and reformat with braces, URN, or uppercase.

What is a UUID?

A Universally Unique Identifier (UUID) is a 128-bit label used for information in computer systems. It is formatted as 32 hexadecimal digits grouped into five sections separated by hyphens — for example, 550e8400-e29b-41d4-a716-446655440000. UUIDs are designed to be unique across both space and time without requiring a central registry, making them ideal for database primary keys, session IDs, API identifiers, and distributed system references.

UUID versions at a glance

  • v4 (Random) — the modern default. 122 bits of randomness from a cryptographically secure source. Collision risk is astronomically low. Best for most use cases.
  • v1 (Timestamp + Node) — encodes the current time and a node identifier. Useful when you want roughly sortable IDs, but leaks creation time and can expose MAC addresses.
  • v3 & v5 (Name-based) — deterministic: the same name and namespace always produce the same UUID. Not generated here but useful for stable keys derived from strings.
  • v6, v7, v8 — newer draft versions combining timestamps and randomness with improved sortability and privacy. Adoption is growing in modern databases.

Formatting options

Different systems expect different UUID string formats. Use the checkboxes to switch between:

  • Standard 550e8400-e29b-41d4-a716-446655440000
  • No hyphens 550e8400e29b41d4a716446655440000 (SQL Server uniqueidentifier raw hex)
  • Braces {550e8400-e29b-41d4-a716-446655440000} (.NET/COM literals)
  • URN prefix urn:uuid:550e8400-e29b-41d4-a716-446655440000 (semantic web, XML)
  • Uppercase — all hex characters in caps, preferred by some databases.

Frequently asked questions

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit number used to uniquely identify information in computer systems. It is written as 32 hexadecimal digits grouped into five segments separated by hyphens, like 550e8400-e29b-41d4-a716-446655440000. UUIDs are designed to be globally unique without requiring a central authority to assign them.

What is the difference between UUID and GUID?

There is no technical difference. GUID (Globally Unique Identifier) is Microsoft's name for the same concept as UUID (Universally Unique Identifier), defined in RFC 4122. Both are 128-bit identifiers formatted the same way. In most contexts the terms are interchangeable.

What is UUID v4?

UUID v4 is the most common version. It is generated using random numbers. The version and variant bits are fixed so parsers can identify it, but the remaining 122 bits come from a cryptographically secure random number generator (or Math.random as a fallback), making collisions statistically impossible for practical purposes.

What is UUID v1?

UUID v1 is generated from a timestamp (the number of 100-nanosecond intervals since October 15, 1582) plus a random or pseudo-random node identifier (often the MAC address). It encodes when the UUID was created, which can be useful for sorting but leaks timing information. Most modern systems prefer v4 for privacy.

Are UUIDs generated here truly random?

Yes. This tool uses crypto.getRandomValues() — a cryptographically strong random number generator built into modern browsers. If that API is unavailable, it falls back to Math.random() (non-cryptographic). All generation happens locally in your browser; no data is sent to any server.

How do I format a UUID for .NET, SQL Server, or MySQL?

Use the formatting options: 'No hyphens' removes dashes for systems that store raw hex. 'Braces' adds {curly braces} for COM/.NET GUID literals. 'URN prefix' adds urn:uuid: for semantic-web or XML contexts. 'UPPERCASE' switches to all-caps, which some databases prefer.

What is the chance of a duplicate UUID?

With properly random v4 UUIDs, the probability of generating a duplicate among 2.71 quintillion UUIDs is roughly 50%. For all practical purposes — generating thousands, millions, or even billions — the chance of a collision is effectively zero. This is why UUIDs are trusted as unique identifiers without a central registry.

Is my data sent to a server?

No. UUID generation and validation happen entirely in your browser. No text, generated identifiers, or usage data is transmitted, logged, or stored on any server. You can safely generate UUIDs for sensitive systems.

Can I generate multiple UUIDs at once?

Yes. Use the UUID v4 tab and click Generate Bulk. You can generate up to 1,000 UUIDs in a single batch. Results can be copied as a list or downloaded as a .txt file.

How does the validator work?

The validator checks the syntax of a pasted identifier, removes optional braces or URN prefixes, verifies the 32-hex-character structure (with or without hyphens), and inspects the version and variant nibbles to report the UUID version and variant type.

Part of our growing tool belt — all client-side, all free.