Skip to main content

UUID v7 Generator

122 random bits. The usual choice when IDs don’t need to sort.

Up to 1,000 at a time.

Everything is processed in your browser. Nothing is uploaded.

About this tool: UUID v7 Generator

UUID v7 puts a Unix millisecond timestamp in the first 48 bits and fills the rest with random data. IDs created later sort after earlier ones, which keeps B-tree indexes compact and inserts fast. That makes v7 a better database primary key than fully random v4.

Common uses

  • Creating test fixtures with unique primary keys
  • Choosing between random and time-ordered IDs for a new table
  • Making a strong password without a separate app

Frequently asked questions

Does a v7 UUID reveal when it was created?
Yes, the creation time is readable from the ID. Avoid v7 where that timestamp would be sensitive.
Can I decode one?
Paste it into the UUID inspector to read its version and timestamp.