Nil/Empty UUID Generator
Nil UUID: All bits set to zero (00000000-0000-0000-0000-000000000000). Used as an explicit "empty" or "not set" value in many systems.
00000000-0000-0000-0000-000000000000
Generate Nil/Empty UUID in Code
java
// Java import java.util.UUID; System.out.println(new UUID(0L, 0L));
csharp
// C# using System; Console.WriteLine(Guid.Empty);
php
// PHP (ramsey/uuid)
use Ramsey\Uuid\Uuid;
echo Uuid::fromString('00000000-0000-0000-0000-000000000000')->toString();python
# Python import uuid print(uuid.UUID(int=0))
c
// C (libuuid, Linux)
#include <uuid/uuid.h>
uuid_t uuid = {0};
char str[37];
uuid_unparse_lower(uuid, str);
printf("%s\n", str);