How it works
Generate up to 1,000 identifiers locally. Version 4 uses random bits. Version 7 uses a millisecond timestamp followed by random data, which makes records roughly sortable by creation time.
Browse related security toolsWhen should I use UUID v7?
Use it when approximate database insertion order matters and exposing a timestamp is acceptable.
Is a UUID a secret?
Treat UUIDs as identifiers. Use an access-control check and a token built for authorization.
Are v7 IDs ordered within one millisecond?
This implementation uses fresh random bits within the same millisecond. Ties do not encode insertion order.