UUID v7 options
Time-ordered IDs with a Unix millisecond timestamp.
Everything runs locally. Nothing is sent to any server.
Generate modern time-ordered UUIDs (version 7) in your browser. v7 stores a Unix millisecond timestamp in the leading bits, so IDs sort chronologically as plain strings and keep database indexes compact and fast.
Time-ordered IDs with a Unix millisecond timestamp.
Everything runs locally. Nothing is sent to any server.
Version 7 puts a 48-bit Unix timestamp in milliseconds in the most significant bits, followed by the version nibble 7, 12 random bits, the RFC 4122 variant bits, and 62 more random bits. Because time leads, v7 IDs sort chronologically as plain strings, and the 74 random bits keep IDs unique even when thousands are minted in the same millisecond.
Random v4 IDs scatter writes across a B-tree index, causing page splits and slow inserts. v7 IDs arrive in monotonic order, so new rows append at the end of the index, which is dramatically faster at scale. Unlike v1, v7 reveals only millisecond precision and uses no MAC address, so it leaks far less information.