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.
01a16770-e514-7003-b4b5-b7780c7b205c
Other versions
Fully random. 122 bits of entropy, no embedded timestamp. Suitable for general-purpose use cases.
e6e312e1-0b54-4381-b310-cbba30a53cdf