GUID Generator
Generate GUIDs (globally unique identifiers) in registry format with braces, uppercase, and bulk options.
Generated with your browser's crypto API - nothing is sent to a server.
{ec1bcc23-d1f8-4207-801b-a54b70f7d365}UUID Inspector
Paste any UUID to identify its version - v7 UUIDs reveal their embedded creation timestamp.
UUID Format Breakdown
- 4 is the version digit (4 = random, 7 = time-sortable)
- y is the variant (8, 9, a, or b)
- In v7, the first 48 bits are a Unix millisecond timestamp, so IDs sort by creation time
- Total: 128 bits = 32 hex digits + 4 dashes = 36 characters
Code Examples
var guid = Guid.NewGuid();
guid.ToString(); // "21ec2020-3aea-4069-a2dd-08002b30309d"
guid.ToString("B"); // "{21ec2020-3aea-4069-a2dd-08002b30309d}"
guid.ToString("N"); // "21ec20203aea4069a2dd08002b30309d"Frequently Asked Questions
What is the difference between a GUID and a UUID?
Nothing structural - GUID is Microsoft's name for a UUID. Windows APIs, .NET, and COM use 'GUID' and often write them in braces like {21EC2020-3AEA-4069-A2DD-08002B30309D}; everyone else says UUID.
How do I generate a GUID in C#?
Guid.NewGuid() creates a random (v4) GUID. Format with .ToString("B") for braces, "N" for no dashes, or "D" (default) for the standard dashed form.
Are GUIDs guaranteed to be unique?
Not mathematically guaranteed, but with 122 random bits the collision probability is so small it is treated as zero in practice - you could generate a billion GUIDs per second for decades without an expected collision.
Related Tools
This tool runs entirely in your browser - nothing you enter is uploaded or stored.