Generate time-ordered UUID v7s (RFC 9562), up to 1,000 at once, and read the creation time of any v7 UUID
Generate UUID v7s, the time-ordered UUIDs of RFC 9562, in bulk, and paste any v7 to read the millisecond it was made.
How to use it
Choose how many v7 UUIDs you need, with or without hyphens, in small letters or capitals. Click Generate, then copy one or all; the list comes out in time order. Paste a UUID into "Inspect an ID" to see its version and, for a v7, its creation time.
Example
The parts of a UUID v7
Input
0192f4a1-7c3e-7d2a-9b41-6c8e2f0a1d35
Result
Time (first 12 hex digits): 0192f4a17c3e → Unix milliseconds Version: the 7 at the start of the third group Variant: 9 (10 in bits) at the start of the fourth group Random: the other 74 bits
Because the time comes first, sorting v7s as text sorts them by creation time.
How a UUID v7 is built
Sources: RFC 9562, section 5.7
v7 or v4 for database keys?
| UUID v7 | UUID v4 | |
|---|---|---|
Order | Increases with time; new rows go to the end of a B-tree index | Random; inserts land all over the index |
What it reveals | The millisecond it was made | Nothing |
Random bits | 74 | 122 |
Use it for | Primary keys, event and log IDs you sort by time | Tokens and IDs that must not hint when they were made |
Questions
- Are these IDs secure and unique?
They use your browser’s cryptographic random generator (crypto.getRandomValues). A v4 UUID has 122 random bits, a ULID 80 and a v7 UUID 74 for every millisecond, so a collision is not a practical concern. The IDs are made on your device and aren’t sent anywhere. - Can I read the time out of a UUID v7?
Yes: paste it into "Inspect an ID" on this page. The first 12 hex digits are the Unix time in milliseconds, so 0192f4a17c3e is 1,730,000,000,000-odd milliseconds after 1 January 1970, shown in your time zone and in UTC. - Should I use UUID v7 or ULID?
Both put a millisecond timestamp first and sort by time. Pick UUID v7 when the column or API expects a UUID (PostgreSQL uuid, .NET Guid); pick a ULID when you want 26 characters without dashes for URLs. The ULID generator is one click away on the same tool. - Does a v7 leak information?
Only its creation time, to the millisecond. If an ID is shown to people who shouldn’t learn when something was made, use a v4.