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.
01a114d9-2f20-7004-8548-e2d625d17238
Other versions
Fully random. 122 bits of entropy, no embedded timestamp. Suitable for general-purpose use cases.
ee3a5921-dd89-4a41-a195-650d1472545b