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.
01a16931-4980-7004-8f60-de6f1f530a75
Other versions
Fully random. 122 bits of entropy, no embedded timestamp. Suitable for general-purpose use cases.
b4a419ce-e172-419c-932d-3cba00e3c35c