NIL UUID (All Zeros)
The nil UUID represents "no UUID" and contains all zeros.
00000000-0000-0000-0000-000000000000
UUID Components
A UUID consists of 32 hexadecimal digits in the format: xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
- M: Version number (1-5)
- N: Variant (8, 9, a, or b for standard UUIDs)
Code Examples
// JavaScript crypto.randomUUID(); // Generate v4 UUID # Python import uuid str(uuid.uuid4()) # Generate v4 UUID # Command line (Linux) uuidgen