Generate a fresh UUID v7, the recommended modern choice.
Time-ordered and sortable. Embeds a millisecond-precision Unix timestamp in the first 48 bits, making it ideal for database primary keys and distributed systems.
01a127c2-e371-7002-8da4-7b0d41aa551c
Other versions
Fully random. 122 bits of entropy, no embedded timestamp. Suitable for general-purpose use cases.
cf314216-b5cd-45d1-8561-62fd63a0ef98