How to use the UUID generator
- Choose version 4 (random) or version 7 (time-ordered).
- Set how many you need, up to 1,000, and the format.
- Select Generate, then copy or download the list (one UUID per line).
- To check an existing UUID or GUID, paste it into Inspect a UUID to see its version, variant and, for time-based UUIDs, when it was created.
Version 4 or version 7?
Version 4 UUIDs are entirely random (122 random bits). They're the most common choice and are what .NET's Guid.NewGuid() creates.
Version 7 UUIDs (RFC 9562) start with a millisecond timestamp, so they sort in creation order. That makes them much better primary keys for databases: new rows are added at the end of an index instead of at random positions. UUIDs generated in the same millisecond still sort in order. In .NET 9 and later, use Guid.CreateVersion7().
Both versions are generated with your browser's cryptographically secure random number generator.
UUIDs and GUIDs in C#
Guid random = Guid.NewGuid(); // version 4
Guid ordered = Guid.CreateVersion7(); // version 7 (.NET 9+)
string text = ordered.ToString(); // "0193a6c5-…" lowercase, with hyphens
string compact = ordered.ToString("N"); // 32 digits, no hyphens
string braced = ordered.ToString("B"); // {…}
A GUID is Microsoft's name for a UUID; the formats are interchangeable.
Frequently asked questions
Are these UUIDs unique?
For practical purposes, yes. With 122 random bits, the chance of a duplicate version 4 UUID is negligible even across billions of UUIDs.
Are they generated on your server?
No. They're generated in your browser and never sent anywhere.
Should I use a UUID as a secret or password?
No. Version 4 UUIDs are hard to guess, but version 7 UUIDs reveal when they were created. Use a dedicated random token generator for secrets.