In code
Generate a UUID in C#
System.Guid is built in; .NET 9+ adds time-ordered version 7.
C# example
C#
Guid.NewGuid().ToString();
// .NET 9+ — time-ordered v7:
Guid.CreateVersion7().ToString();
No install? Use the tool or API
Here's a fresh version 4 UUID generated right now — copy it, or call the API from any language.
f3a0ecad-d7ba-4010-9c10-e79c19a27c3b
curl https://getuuid.sh/api/uuid