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.
e43aad83-640d-4805-8f8f-bbf09be86f85
curl https://getuuid.sh/api/uuid