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.
01a152a9-d064-700e-827c-64d81c296580
Other versions
Fully random. 122 bits of entropy, no embedded timestamp. Suitable for general-purpose use cases.
58ef327b-072a-4829-bcd7-1d2e53a7ceee